The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 16th, 2024, 4:31pm
Pages: 1
Send Topic Print
multiple I/O with one pin in verilog A (Read 1185 times)
saralandry
Junior Member
**
Offline



Posts: 17

multiple I/O with one pin in verilog A
Feb 05th, 2016, 7:11pm
 
Hi,

In the schematic we can define pins like lets say out<0:16> and create a symbol with just one pin and then in the top level schematic we can label pin like out<0> out<1> out<2> and so on so forth.
How can I do something similar in my Verilog-a module?
I have defined output voltage like this:

out[i]=Ac*sin(phase+i*2.0*`PI/N);

Now if I have a bunch of phases and I don't know how to deal with this problem.  :'(
What I can do is really in an amateur way like defining
out[1]=Ac*sin(phase+1*2.0*`PI/N);
out[2]=Ac*sin(phase+2*2.0*`PI/N);
.
.
.
and creating a bunch of pins for the symbol.

Thanks for any help.




Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.