DipTrace Forum
http://www.diptrace.com/forum/

SPICE model setup for multi-part component PWR pins
http://www.diptrace.com/forum/viewtopic.php?f=5&t=11816
Page 1 of 1

Author:  2N666 [ 25 Sep 2017, 10:18 ]
Post subject:  SPICE model setup for multi-part component PWR pins

Currently I am trying to set up the spice model setting in the component editor. This case is for 74HC00 4XNAND component.

I have setup 4NAND + 1PWR components for this component as shown in the tutorial. The model I will be linking this component to is defined:


.SUBCKT 74HC00 A B Y VCC VGND vcc1={vcc} speed1={speed} tripdt1={tripdt}
.param td1=1e-9*(9-3-3)*4.0/({vcc1}-0.5)*{speed1}
*
XIN1 A Ai VCC VGND 74HC_IN_1 vcc2={vcc1} speed2={speed1} tripdt2={tripdt1}
XIN2 B Bi VCC VGND 74HC_IN_1 vcc2={vcc1} speed2={speed1} tripdt2={tripdt1}
* tripdt=1n
A1 Ai Bi 0 0 0 Yi 0 0 AND tripdt={tripdt1} td={td1}
*
XOUT Yi Y VCC VGND 74HC_OUT_1X vcc2={vcc1} speed2={speed1} tripdt2={tripdt1}
.ends



The problem I am facing is with the VCC and VGND. As there are no VCC/GND pin for each of the components (except for PWR), I cannot reference the VCC/GND net to the individual component. Is there a way to reference the pin from other components? Are there any alternative solutions?


Regards

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/