16 bit Barrel shifter question for paper

Status
Not open for further replies.

ss_engg

Member level 5
Joined
Mar 9, 2011
Messages
81
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Pakistan
Visit site
Activity points
1,854
I would like to give a question regarding to barrel 16 shifter in paper its code should be in VHDL. kindly anyone help me to provide me a question and its solution.. I'm new in VHDL language.
 

Basically, it's a bunch of multiplexers. Once you understand that, writing the VHDL should be pretty straight forward.

Here's a start:
https://en.wikipedia.org/wiki/Barrel_shifter

If I were doing this, I wouldn't bother with the explicit muxes; the synthesis tool should be able to infer that from your higher-level description.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…