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.

verilogams question about multiple output pins

Status
Not open for further replies.

xuedashun

Member level 1
Joined
Aug 30, 2005
Messages
39
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,582
If a circuit generates 100 output current, is there an easy way to model the output currents by using ONE statement other than these below.

I(out[1], gnd) <+ 5u;
I(out[2], gnd) <+ 5u;
I(out[3], gnd) <+ 5u;
I(out[4], gnd) <+ 5u;
I(out[5], gnd) <+ 5u;
...
...
I(out[100], gnd) <+ 5u;
...

Thanks for your help!!
 

Look up the "generate" statement:
Code:
generate i (99,0)
I(out[i])<+5u;
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top