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.

Problems in using for loops in verilog RTL

Status
Not open for further replies.

dll_fpga

Full Member level 3
Joined
Mar 9, 2011
Messages
185
Helped
19
Reputation
38
Reaction score
21
Trophy points
1,298
Location
kerala,India
Activity points
2,416
For RTL coding of hardware's such as decoder we can use case statement as well as for loops..
But if we use for loops the code size will be less..

Any problem in using for loops?(in hardware replication circuits like this?)

will synthesis /linting tools support?(synopsis /cadence/attrenta)
 

Re: For loop in verilog RTL

For loops are very well synthesizable and can be used in coding for ASIC. But in general, coding with For loops are not generally prescribed. I am not very confident with the reason why it is not prescribed. Might be it is because of the fact that when for loop is utilised then the loop will be the bottle neck for the max. frequency of the design.
 

Re: For loop in verilog RTL

For loops are very well synthesizable and can be used in coding for ASIC. But in general, coding with For loops are not generally prescribed. I am not very confident with the reason why it is not prescribed. Might be it is because of the fact that when for loop is utilised then the loop will be the bottle neck for the max. frequency of the design.

if the design itself require hardware replication ...like the case of a decoder...is it ok to use for loop?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top