need idea for a for loop like hardware implementation

Status
Not open for further replies.

mahaju

Full Member level 2
Joined
Mar 17, 2007
Messages
125
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,298
Activity points
2,252
what would a hardware circuit for a for loop look like?
For example, say, I have a circuit that divides by 2 (a right shifter register). Now I want to divide by 8 completely in hardware. So I would need to right shift 3 times (or in other words, a type of for loop). What would I need to do? (ideas besides shifting at 3 clock transitions I mean)
 

You can use barrel shifter for this purpose. Barrel shifter is combinational circuit that can shift or rotate a data word by any number of bits in a single clock cycle.
 

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