The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> mixing spice and VerilogA https://designers-guide.org/forum/YaBB.pl?num=1412007037 Message started by jmith on Sep 29th, 2014, 9:10am |
Title: mixing spice and VerilogA Post by jmith on Sep 29th, 2014, 9:10am I'm looking for a simple example which contains a spice subcircuit and this subcircuit is referenced from a VerilogA model. My question is: how this spice file read from the VerilogA model, through an include file? Or there is no include file and the spice model found in an other way? Or there is a .lib command in the VerilogA model file? |
Title: Re: mixing spice and VerilogA Post by boe on Sep 30th, 2014, 1:48am Jmith, you instantiate the subcircuit in Verilog-A. If it is in the Spice netlist your tool should use it. - B O E |
Title: Re: mixing spice and VerilogA Post by jmith on Sep 30th, 2014, 4:24am From the Verilog-AMS Language Reference Manual Code:
Where vertNPN is a spice model line. I assume this code is can not compile. How to fix this code? |
Title: Re: mixing spice and VerilogA Post by boe on Sep 30th, 2014, 9:28am Jmith, Quote:
Of course, it won't simulate unless you give an implementation for vertNPN. - B O E |
Title: Re: mixing spice and VerilogA Post by jmith on Sep 30th, 2014, 10:29am It means in the VerilogA source file not needed to reference any Spice library? |
Title: Re: mixing spice and VerilogA Post by boe on Oct 1st, 2014, 1:51am jmith wrote on Sep 30th, 2014, 10:29am:
- B O E |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |