Re: gnucap with verilog-ams netlist input

John Griessen <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
al davis wrote:
> On Sunday 25 January 2009, John Griessen wrote:
>> How do I connect a gnucap internal capacitor model to this
>> netlist generated by gnetlist -g verilog?
> 
.
.
.
>> res #(.r(1000) ) R1 ( .n(B), .p(A));
> "resistor", the name of the value is "r".
> 
>> endmodule
> 
> If there is only one number that is thought of as the "value", 
> you can specify it with name.
> 
> capacitor #(1u) C4 (f,r);


Thanks Al,

Is there a way to alias other names to a built in model?  Such as alias cap to capacitor?

The manual says, 3.2.1  Syntax
Device
.capacitor label n+ n– expression
Where do you use this?  Is label for a name you give it?   What can expression be?

Thanks,

John Griessen

-- 
Ecosensory   Austin TX
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.