The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> array of nodes
https://designers-guide.org/forum/YaBB.pl?num=1389683322

Message started by aaron_do on Jan 13th, 2014, 11:08pm

Title: array of nodes
Post by aaron_do on Jan 13th, 2014, 11:08pm

Hi all,


I want to create a circuit model with a large number of ports (say 1000). In the Verilog-A manual, it says I can create Vectored Nodes, but I can't get this feature to work. The error I get is:

line 7: Encountered a vector node with a scalar member in a port list, which the software does not support

so are vectored nodes supported or not?


thanks,
Aaron

Title: Re: array of nodes
Post by Andrew Beckett on Jan 14th, 2014, 6:26am

Can you please show what you've actually tried? Also which simulator you're using?

Regards,

Andrew.

Title: Re: array of nodes
Post by aaron_do on Jan 14th, 2014, 7:19pm

OK sorry, but it seems it was a false alarm.

this is what I originally tried


Quote:
module whatever(out[0], out[3]);
output [3:0] out;
electrical [3:0] out;
...
.......


which I got from this document called "SIMetrix Verilog-A Manual" pg 31. I also tried

module whatever(out[3:0]);

but I got a similar error message. Anyway after you asked for my code I assumed that it is possible to declare a large number of ports, and I found the correct method in the Verilog-A Language Reference Manual Version 1.0., pg 114. I thought I tried this yesterday too but I guess I didn't...


Quote:
module whatever(out);
output [3:0] out;
electrical [3:0] out;
...
.......



thanks,
Aaron

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.