Converting verilog code into a symbol during AMS simulation

Status
Not open for further replies.

Chinmaye

Full Member level 3
Joined
Jan 18, 2016
Messages
164
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,298
Activity points
3,145
Dear all,
I have a verilog code with input in[3:0] and output out[3:0]. When i try to create a symbol for it for ams simulation, it gives me only 2 pins. One pin for input, in<3:0> instead of 4 pins as in[3], in[2], in[1], in[0]. The other is for output, out<3:0> instead of 4 pins. I am really not sure of how to give the inputs to this? AM i missing out on something? Can some one help?
 

How will i be able to split the pins? As in, I would like to have 4 pins by name in[0], in[1], in[2], in[3] instead of one pin in[3:0].
 

Thanks for the help,
So i split the inputs while defining input output pins in the module. For example
module inve(in[1], in[2], out[2], out[1]);
This seems to work
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…