Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

15-bit barrel shifter

Status
Not open for further replies.

fra2k10

Newbie level 4
Joined
Feb 9, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,322
Hi,
I would need to design a 15-bit barrel shifter; I mean a barrel shifter having 15 inputs, 15 outputs, rotating according to 4 control bits.
I need the real architecture, described in terms of logic gates, not the verilogA.

Usually barrel shifter have a number of inputs which is a power of 2, 2^k precisely, where k is the number of control bits; however, I need just 2^k-1 inputs (k=4) and I do not know how to implement it.

May you please help me?

THX
 

Hi,
I would need to design a 15-bit barrel shifter; I mean a barrel shifter having 15 inputs, 15 outputs, rotating according to 4 control bits.
I need the real architecture, described in terms of logic gates, not the verilogA.

Usually barrel shifter have a number of inputs which is a power of 2, 2^k precisely, where k is the number of control bits; however, I need just 2^k-1 inputs (k=4) and I do not know how to implement it.

May you please help me?

THX

the following link should help you:

http://www.cgl.uwaterloo.ca/~wmcowan/teaching/cs251/s08/pdf/shifter.pdf

Best of luck for your design!!

Saad
 

I have created it by a MUX architecture (see attachment, ex.1)
Generally speaking, I know how to deal with a number of inputs which is 2^k (k=number of control bits) and I have already implemented it for k=4.
Now the matter is that I want to have one less input and I do not know how to connect the inputs anymore.

You say it is the same but I am confused about how to do it.
May you please provide me with more details?
 

Attachments

  • hwk8Sol.pdf
    89.1 KB · Views: 77

So design it for 16-bit input and outputs. Then eliminate 1 bit. As lostinxlation said, there's not much difference between the 15-bit and 16-bit version.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top