Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

HSpice to LTSpice

Status
Not open for further replies.

Krenzo

New Member
Hi, I downloaded an encrypted ".inc" HSpice file from Fairchild Semiconductors for one of their components. Is there anyway to translate it over to work in LTSpice or another free Spice program?
 
.lib 'all_mos.l' tt
.GLOBAL VDD GND
VDD VDD GND 5
MNA OUT INVA Y GND nch W=10u L=1u
MNB Y INVB GND GND nch W=10u L=1u
MNA1 OUTA INVA GND GND nch W=10u L=1u
MPA1 OUTA INVA VDD VDD pch W=10u L=1u
MNB1 OUTB INVB GND GND nch W=10u L=1u
MPB1 OUTB INVB VDD VDD pch W=10u L=1u
MNA2 OUT OUTA Z GND nch W=10u L=1u
MNB2 Z OUTB GND GND nch W=10u L=1u
MPA OUT INVA X VDD pch W=10u L=1u
MPB OUT INVB X VDD pch W=10u L=1u
MPA2 X OUTA VDD VDD pch W=10u L=1u
MPB2 X OUTB VDD VDD pch W=10u L=1u
.cload out gnd 50fF
.TRAN 50PS 10NS
.measure tran avgpwr avg p(mna) from=1n to=3n
.measure TRAN iavg AVG i(mnA) FROM=1ns TO=3ns
VA INVA GND PULSE 0 5 1ns 50ps 50ps 4.1ns 8ns
VB INVB GND PULSE 0 5 1ns 200ps 200ps 2ns 8ns
.END
what is wrong with this?
this is my xor2 code in hspice it hasent error but it has warning(*warning** dc voltage reset to initial transient source value in source 0:va new dc= 0.1800D+01PARAM SUPPLY=5
and i dont khow why in avanwave my output isnt correct
 
Diod, it's bad practice to hijack someone else's thread! Don't expect an answer to your question here.
 
Hi, I downloaded an encrypted ".inc" HSpice file from Fairchild Semiconductors for one of their components. Is there anyway to translate it over to work in LTSpice or another free Spice program?
If it's encrypted for HSpice then you likely can't use it anywhere else unless you somehow find the decryption code (which I'm sure is a closely guarded secret by HSpice).
 
how i can decrease glich in avanwaves output in hspice?

hi
how i can decrease glich in avanwaves hspice result?
.option post accurate
.global vdd gnd
.lib 'all_mos.l' tt
vdd vdd gnd 3.5
cload out 0 50fF
.TRAN 50PS 10NS
.MEASURE TRAN avgpwr AVG POWER FROM=1ns TO=3ns
.PARAM vvddpar=3.5
.measure TRAN iavg AVG i(mnb) FROM=1ns TO=3ns
.measure TRAN power PARAM='iavg*vvddpar'
mpa out inva vdd vdd pch W=10u L=1u
mpb out invb vdd vdd pch W=10u L=1u
mna out inva x gnd nch W=10u L=1u
mnb x invb gnd gnd nch W=10u L=1u
Vb INVb 0 PULSE 0 3.8 1ns 50ps 50ps 2ns 4ns
Va INVa 0 PULSE 0 3.8 1ns 100ps 100ps 4ns 8ns
.end
 
diod:
You are probably not getting any replies because you have hijacked someone else's thread. If you need an answer, please post your own question
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top