The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 9:22am
Pages: 1
Send Topic Print
Simulate with netlist using spectre in ADE (Read 5350 times)
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Simulate with netlist using spectre in ADE
Dec 27th, 2007, 5:52am
 
Hi Guys,

I am testing a DAC. An LM7372 differential amplifier is put at the DAC output to buffer the 50 Ohm load. I have got the spice model of LM7372 at national semiconductor website. How do I simulate the DAC and LM7372 together in ADE? I have schemtic of the DAC, but the spice model of LM7372 is netlist only.


Thanks
Yawei
Back to top
 
 
View Profile   IP Logged
rajdeep
Senior Member
****
Offline



Posts: 220
UK
Re: Simulate with netlist using spectre in ADE
Reply #1 - Dec 27th, 2007, 9:29am
 
Hi,
You can create a VerilogAMS view of the diffamp.  
This diffamp would have the same interface as the spice level design you have.
It is just a wrapper. Then instantiate the diffamp as a subckt. It is possible to
use a spice/spectre subcircuit from a verilogAMS model. Then create a symbol of it and use it with
the DAC.

There are some issues though which I donot know offhand..
1. If you want to use spectre as the simulator, you have to use VerilogA instead of VerilogAMS. I hope
one can instantiate a spctre/spice subckt in a verilogA module also. I have never tried the latter though/

2. How will you include the spice netlist of diffamp?? I once simulated a design, partly in spectre and VerilogAMS, but I used command line interface, i.e. ncsim -ams. I included the subckt definition in a file named hdl.var as below:
Quote:
define MODELPATH ldotest/SpectreFiles/<netlist.scs>


There must be some way to tell the simualtor from where pick up this subckt definition using some option
of ADE, or may be it can be included in the verilogA/MS file iteself using include directive!! Not sure though.

Hope that helps.
Rajdeep
Back to top
 
 

Design is fun, verification is a requirement.
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: Simulate with netlist using spectre in ADE
Reply #2 - Jan 4th, 2008, 4:50am
 
Hi Rajdeep,

I have a simpler method now, that SPICE model is included in the spectre netlist when simulate in ADE. Open ADE, click Setup -> Simulation Files ... . Fill in the Include path and Stimulus File.  Then click the button netlist and run.

An example of the stimulus file is shown below.

Code:
.include 'LM7372.MOD'
XOP1 IN- IN+ V+ V- OUT_Q LM7372
R1 OUT_QN IN- 200
R2 IN- OUTQ 200
R3 OUT_QP IN+ 200
R4 IN+ 0 200
V+ V+ 0 5
V- V- 0 -5
RL OUT_Q 0 50

.PLOT V(IN+) V(IN-) V(V+) V(V-) V(OUT_Q) 




Thank you, Rajdeep.

Yawei
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: Simulate with netlist using spectre in ADE
Reply #3 - Jan 4th, 2008, 5:32am
 
Another alternative would be to convert the netlist from SPICE to Spectre with spp and then use the scasubckt component as described in http://www.designers-guide.org/Forum/YaBB.pl?num=1191334088/1#1. A slightly simplified version of this component is offered at http://sourcelink.cadence.com/docs/db/kdb/2003/Nov/11013814.html.
Back to top
 
 
View Profile WWW   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.