Sep 17, 2014 #1 S 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.
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.
Sep 17, 2014 #2 barry Advanced Member level 7 Joined Mar 31, 2005 Messages 6,579 Helped 1,208 Reputation 2,428 Reaction score 1,439 Trophy points 1,393 Location California, USA Visit site Activity points 35,777 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.
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.