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.

Instantiation In a Loop in Verilog

Status
Not open for further replies.

reza.ghanaatian

Newbie level 1
Joined
Aug 30, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
Hi,

I want to instantiate a module 16 time and it is so boring.
Is there a way that I can use a "for loop" and only one istantiation?
I used these syntax and ModelSim doed not accept it.
I should say that I need my code to be synthesizable also.
 

Seems like you lacking a good Verilog text book or tutorial. Read about the generate loop statement.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top