Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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,254
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)
 

yadavvlsi

Advanced Member level 3
Joined
Nov 19, 2010
Messages
978
Helped
485
Reputation
968
Reaction score
454
Trophy points
1,343
Location
Bangalore, India
Activity points
6,990
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top