The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 3:23am
Pages: 1
Send Topic Print
Many voltage sources in cadence (Read 1882 times)
VerilogANovice
New Member
*
Offline



Posts: 9
Mountain View
Many voltage sources in cadence
Mar 12th, 2008, 1:06am
 
Hi,

My circuit takes in 1024 voltage values (e.g. 1V, 0V) for memory addressing purpose. How, instead of instantiating 1024 voltage sources in Cadence, is there any better way to input the 1024 values into our circuit?

Thanks.
Back to top
 
 
View Profile   IP Logged
Stefan
Senior Member
****
Offline



Posts: 124

Re: Many voltage sources in cadence
Reply #1 - Mar 12th, 2008, 1:40am
 
Use a verilog-A model with a large bus.
e.g.

module analog_sources(out)
electrical [0:1023] out;
output out;

analog begin
V(out[0]) <+ 1.0;
V(out[1]) <+ 0.0;
...
// you can use generate statements as well I guess ...
end
end
Back to top
 
 
View Profile 16731287   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.