Initializing Multisim Live ...

Waiting for awesome

Waiting for data
ABCDEFGABCDEFGABCDOAODOEOFOCOBOG~LT~RBI~BI/RBOABCDOAODOEOFOCOBOG~LT~RBI~BI/RBODQ~QRESETCLKSETDQ~QRESETCLKSETDQ~QRESETCLKSETDQ~QRESETCLKSETDQ~QRESETCLKSETDQ~QRESETCLKSETDQ~QRESETCLKSET10 U1U2074LS48NU3U474LS48N5V0.0005HzV10U5U6U71342789101112131415U8565VV217018192021222324U91626U1125U12U13272829303132V35V033U10Start34U1435

ID:

ID:

x10
x0.1
Sheet:1
Analysis and annotation
Voltage
A
Current
V/A
Voltage and Current
V
Voltage Refe­rence
E
Expression
D
Data
Text Annotation
0/1
Digital
Schematic connectors
Ground
Conn­ector
Junction
Sources
AC Voltage
AC Current
Clock Voltage
Clock Current
Trian­gular Voltage
Trian­gular Current
DC Voltage (VCC)
DC Current
Step Voltage
Step Current
Pulse Voltage
Pulse Current
AM
AM Voltage
FM
FM Voltage
FM
FM Current
Chirp Voltage
Chirp Current
Thermal Noise
Arbitrary Voltage Source
Arbitrary Current Source
3PH
Three Phase Delta
3PH
Three Phase Wye
More
More
Passive
Resistor
Capa­citor
Inductor
Potent­iometer
Fuse
Trans­formers...
Transformers...
1P1S
1P1S with Center Tap
1P2S
2P1S
2P2S
More
More
Coupled Inductors
Lossy Trans­mission Line
Lossless Trans­mission Line
Resistors...
Resistors...
Voltage Con­trol­led Resistor
Impe­dance Block
Analog
3 Terminal Opamp
5 Terminal Opamp
Ideal Com­par­a­tor
555 Timer
Opamps...
Opamps...
AD8541
ADA4000-1
ADA4077-1
ADTL082A
LF356
LM2904
LM324A
LM358
LMH6645
LMV321
MAX4412
MCP6001
OP27A
OP37E
OP482G
OP484E
THS4051
TL072
TL074
UA741
More
More
Com­par­a­tors...
Comparators...
AD8561A
LM311
LM339
MAX9031
MCP6546
More
More
Timers...
Timers...
LM555CN
ICM7555
TLC555
In­stru­men­ta­tion ampli­fiers...
Instrumentation amplifiers...
AD620A
AD623A
AD8222A
AD8226
INA126
INA333
More
More
Refe­rences...
References...
AD584J
LM336B-2.5
LM336B-5.0
TL431A
More
More
Current sense ampli­fiers...
Current sense amplifiers...
AD8210
MAX4081S
MAX9938T
Audio ampli­fiers...
Audio amplifiers...
LM4871
NCP2890
NCP4894
More
More
Opto­couplers...
Optocouplers...
HCPL-181
MOC8101
SFH6156-3
TCMT1600
VO615A-3
Vacuum tubes...
Vacuum tubes...
12AX7A
More
More
Diodes
Diode
Zener
LED
General purpose diodes...
General purpose diodes...
1N4148
1N4001
1N4005
1N5819
BAS16
BAS316
BAV70
MBRA­340T3
MMBD914
MMBD7000L
MSS2P3
MUR160
PMEG1­020EA
PMEG2­010BER
RB751S40
S1G
Zener diodes...
Zener diodes...
BZB84-B6V2
BZX84-C5V6
MM3Z6V8S
MMBZ5­240BL
NZH11C
SZ1SM­A5913B
More
More
Diode bridges...
Diode bridges...
3N247
DF1510S
G3SBA60
Prote­ction diodes...
Protection diodes...
1.5KE­100CA
1.5KE20A
1.5KE91A
1.5SM­C15CA
1.5SM­C6.8A
1SMB170A
More
More
Photo­diodes...
Photodiodes...
BPW 34 FA
S1227-16BQ
Varactor diodes...
Varactor diodes...
BB545
BB555
BB689-02V
BBY53-03W
MMBV­105GL
PIN diodes...
PIN diodes...
1SV233
BAR63-06W
MMBV­3401L
Thyristors...
Thyristors...
MAC08M
MAC12HCD
MCR08B
MCR716
MCR8SN
MKP3V240
More
More
Transistors
NPN
NPN 4T
PNP
PNP 4T
NMOS
NMOS 4T
PMOS
PMOS 4T
JFET N
JFET P
GaAsFET N
GaAsFET P
NPN...
NPN...
2N2222A
2N3904
BC817
BC847
BF422
MJ15024
MJD122
MMBTA14L
TIP31A
More
More
PNP...
PNP...
2N2907A
2N3906
BC807
BD244
MJL1302A
MMBT2­907AL
MMBTA63L
TIP32A
More
More
NMOS...
NMOS...
2N7000
2N7002
5LN01SP
BSC100­N06LS3 G
BSC123­N08NS3 G
BSS138BK
BSZ123­N08NS3 G
EPC2014
IRF510
IRF540
IRLM­L0060
PMPB20EN
More
More
PMOS...
PMOS...
BSP250
BSS84P
CPH3362
IPD04­2P03L3 G
NTR4101P
More
More
JFET...
JFET...
MMBF­4393L
MMBF­J175L
MMBF­J309L
More
More
IGBT...
IGBT...
AUIRG­DC0250
IRG4B­C30UD
IRG4­PH50U
IRG4P­SC71KD
NGTB15­N60S1EG
More
More
UJT...
UJT...
2N6027
More
More
Indicators
Lamp
LED
8 LED Bar
Buzzer
7-Segment Display
7-Segment HEX Display
7-Segment Display with Decimal
Switches
SPST
SPST Double Break
SPDT
Time Delay Switch
Voltage Con­trol­led SPST
Voltage Con­trol­led SPDT
Voltage Cont­rolled DPDT
Current Con­trol­led SPST
Analog switches...
Analog switches...
ADG779B
MAX4714
+-K+-
Modeling blocks
+-K+-
Voltage Gain Block
Voltage Summer
Multi­plier
Divider
Voltage Differe­ntiator
Voltage Integ­rator
Voltage Con­trol­led Voltage Source
Voltage Con­trol­led Current Source
Current Con­trol­led Voltage Source
Current Con­trol­led Current Source
ABM Voltage
ABM Current
Delay
Voltage Con­trol­led Resistor
Voltage Con­trol­led Capa­citor
Voltage Con­trol­led Inductor
Impe­dance Block
Inductor Coupling
+-θ46
Electromechanical
Normally Open Relay
Normally Closed Relay
Com­bi­na­tion Relay
+-θ46
Machines...
Machines...
+-θ46
DC Machine Perm­anent Magnet
DC Machine Wound Field
Brus­hless DC Machine
Brus­hless DC Machine (Hall)
Stepper 2 Phase
Stepper 2 Phase 2 Winding
Indu­ction Machine Squirrel Cage
Indu­ction Machine Squirrel Cage (E)
Indu­ction Machine Wound
Indu­ction Machine Wound (E)
Syn­chro­nous Perm­anent Magnet
Syn­chro­nous Perm­anent Magnet (E)
Syn­chro­nous Perm­anent Magnet (Hall)
Sensors...
Sensors...
In­cre­men­tal Encoder
Resolver
Me­cha­ni­cal loads...
Mechanical loads...
Inertial Load
Motion con­trol­lers...
Motion controllers...
Angle Wrap
rad/s to RPM
rad to deg
RPM to rad/s
VoutADJVin
Power
Diode Switch
GTO Switch
SCR Switch
Trans­istor Switch
Trans­istor with Diode Switch
TRIAC Switch
Phase Angle Con­trol­ler
Phase Angle Con­trol­ler (2 Pulse)
Phase Angle Con­trol­ler (6 Pulse)
PWM
PWM Com­ple­men­ta­ry
PWM 3 Phase
PWM Sinus­oidal 3 Phase
VoutADJVin
Linear regu­lators...
Linear regulators...
LM1084-3.3
LM1084-5.0
LM1084-ADJ
VoutADJVin
LM317
LM7805
MAX1­5007A
More
More
Swit­ching regu­lators...
Switching regulators...
MC34063A
More
More
MOSFET drivers...
MOSFET drivers...
IR2010
IR2110
MAX1­5024B
TC4427
More
More
Digital
Digital Constant
Digital Clock
AND
AND
2-Input AND
3-Input AND
4-Input AND
5-Input AND
6-Input AND
7-Input AND
8-Input AND
OR
OR
2-Input OR
3-Input OR
4-Input OR
5-Input OR
6-Input OR
7-Input OR
8-Input OR
NAND
NAND
2-Input NAND
3-Input NAND
4-Input NAND
5-Input NAND
6-Input NAND
7-Input NAND
8-Input NAND
NOR
NOR
2-Input NOR
3-Input NOR
4-Input NOR
5-Input NOR
6-Input NOR
7-Input NOR
8-Input NOR
XOR
XOR
2-Input XOR
3-Input XOR
4-Input XOR
5-Input XOR
6-Input XOR
7-Input XOR
8-Input XOR
XNOR
XNOR
2-Input XNOR
3-Input XNOR
4-Input XNOR
5-Input XNOR
6-Input XNOR
7-Input XNOR
8-Input XNOR
Buffer
Inverter
1 2 3 4 5 6
Flip-Flops & Latches
Flip-Flops & Latches
1 2 3 4 5 6
D Flip-Flop
JK Flip-Flop
SR Flip-Flop
T Flip-Flop
D Latch
SR Latch
1234567891011121314
BCD to 7-Segment Decoders
BCD to 7-Segment Decoders
1234567891011121314
74LS47N
74LS48N
12345678
Binary Counters
Binary Counters
12345678
74LS93N
74LS193N
1234567
Mux/Demux
Mux/Demux
1234567
74LS139D
12345
Adders
Adders
12345
74LS183D
Disable streaming
Details
Netlist
Errors
SPICE
SPICE Netlist

This is a text-based representation of the circuit.
The * symbol indicates a comment.
The + symbol indicates a continuation from the previous line.
Probes do not appear in netlists.

** 60 Second Timer **
*
* Multisim Live SPICE netlist
*
*

* --- Circuit Topology ---

* Component: Start
aStart 34 Digital_Source_Start

* Component: U1
xU1 18 23 22 24 21 20 19 0 7_SEGMENT_CC_U1

* Component: U10
aU10 [34 35 25] 26 Digital_OR3_U10

* Component: U11
xU11 27 25 U11_NC_SET 34 30 27 Digital_DFlipFlop_U11 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

* Component: U12
xU12 28 27 U12_NC_SET 34 31 28 Digital_DFlipFlop_U12 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

* Component: U13
xU13 29 28 U13_NC_SET 34 32 29 Digital_DFlipFlop_U13 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

* Component: U14
aU14 [32 31 27] 35 Digital_AND3_U14

* Component: U2
xU2 9 10 15 14 13 12 11 0 7_SEGMENT_CC_U2

* Component: U3
xU3 30 31 32 bridgeU3!D bridgeU3!~LT bridgeU3!~RBI bridgeU3!~BI/RBO bridgeU3!OA bridgeU3!OD bridgeU3!OE bridgeU3!OF bridgeU3!OC bridgeU3!OB bridgeU3!OG 74LS48_U3 PARAMS: Rise_delay=1e-7 Fall_delay=1e-7

xbridgeU3!D bridgeU3!D 0 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!~LT bridgeU3!~LT 33 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!~RBI bridgeU3!~RBI 33 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!~BI/RBO bridgeU3!~BI/RBO 33 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!OA bridgeU3!OA 18 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!OD bridgeU3!OD 24 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!OE bridgeU3!OE 21 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!OF bridgeU3!OF 20 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!OC bridgeU3!OC 22 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!OB bridgeU3!OB 23 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU3!OG bridgeU3!OG 19 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: U4
xU4 2 7 8 16 bridgeU4!~LT bridgeU4!~RBI bridgeU4!~BI/RBO bridgeU4!OA bridgeU4!OD bridgeU4!OE bridgeU4!OF bridgeU4!OC bridgeU4!OB bridgeU4!OG 74LS48_U4 PARAMS: Rise_delay=1e-7 Fall_delay=1e-7

xbridgeU4!~LT bridgeU4!~LT 17 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!~RBI bridgeU4!~RBI 17 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!~BI/RBO bridgeU4!~BI/RBO 17 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!OA bridgeU4!OA 9 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!OD bridgeU4!OD 14 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!OE bridgeU4!OE 13 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!OF bridgeU4!OF 12 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!OC bridgeU4!OC 15 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!OB bridgeU4!OB 10 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU4!OG bridgeU4!OG 11 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: U5
xU5 3 bridgeU5!CLK U5_NC_SET 26 2 3 Digital_DFlipFlop_U5 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

xbridgeU5!CLK bridgeU5!CLK 1 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: U6
xU6 4 3 U6_NC_SET 26 7 4 Digital_DFlipFlop_U6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

* Component: U7
xU7 5 4 U7_NC_SET 26 8 5 Digital_DFlipFlop_U7 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

* Component: U8
xU8 6 5 U8_NC_SET 26 16 6 Digital_DFlipFlop_U8 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

* Component: U9
aU9 [16 5 7 3] 25 Digital_AND4_U9

* Component: V1
vV1 1 0
+ pulse( 0 5 0 1e-9 1e-9
+ { 50 * 0.01 / 0.0005 }
+ { 1/0.0005 } )

* Component: V2
vV2 17 0 dc 5 ac 0 0
+ distof1 0 0
+ distof2 0 0

* Component: V3
vV3 33 0 dc 5 ac 0 0
+ distof1 0 0
+ distof2 0 0


* --- Circuit Models ---

* Start model
.model Digital_Source_Start d_constsource(State=0)

* U10 model
.model Digital_OR3_U10 d_or (rise_delay=1e-9 fall_delay=1e-9)

* U14 model
.model Digital_AND3_U14 d_and (rise_delay=1e-9 fall_delay=1e-9)

* U9 model
.model Digital_AND4_U9 d_and (rise_delay=1e-9 fall_delay=1e-9)


* --- Subcircuits ---

* U1 subcircuit
.subckt 7_SEGMENT_CC_U1 A1 A2 A3 A4 A5 A6 A7 K

dd1 A1 0vNode1 ledDiodeModel
Vsense1 0vNode1 K DC 0
* Interactive sense node
b1 lit1 0 v = { if (i(Vsense1) < 0, 0, if( i(Vsense1) > 0.02, 1, { i(Vsense1) / 0.02 })) }

dd2 A2 0vNode2 ledDiodeModel
Vsense2 0vNode2 K DC 0
* Interactive sense node
b2 lit2 0 v = { if (i(Vsense2) < 0, 0, if( i(Vsense2) > 0.02, 1, { i(Vsense2) / 0.02 })) }

dd3 A3 0vNode3 ledDiodeModel
Vsense3 0vNode3 K DC 0
* Interactive sense node
b3 lit3 0 v = { if (i(Vsense3) < 0, 0, if( i(Vsense3) > 0.02, 1, { i(Vsense3) / 0.02 })) }

dd4 A4 0vNode4 ledDiodeModel
Vsense4 0vNode4 K DC 0
* Interactive sense node
b4 lit4 0 v = { if (i(Vsense4) < 0, 0, if( i(Vsense4) > 0.02, 1, { i(Vsense4) / 0.02 })) }

dd5 A5 0vNode5 ledDiodeModel
Vsense5 0vNode5 K DC 0
* Interactive sense node
b5 lit5 0 v = { if (i(Vsense5) < 0, 0, if( i(Vsense5) > 0.02, 1, { i(Vsense5) / 0.02 })) }

dd6 A6 0vNode6 ledDiodeModel
Vsense6 0vNode6 K DC 0
* Interactive sense node
b6 lit6 0 v = { if (i(Vsense6) < 0, 0, if( i(Vsense6) > 0.02, 1, { i(Vsense6) / 0.02 })) }

dd7 A7 0vNode7 ledDiodeModel
Vsense7 0vNode7 K DC 0
* Interactive sense node
b7 lit7 0 v = { if (i(Vsense7) < 0, 0, if( i(Vsense7) > 0.02, 1, { i(Vsense7) / 0.02 })) }

.model ledDiodeModel D( IS=1e-14 N=1 RS=0 IBV=1e-10 BV=1e+30 CJO=0 M=0.5 VJ=1 )
.ends

* U11 subcircuit
.subckt Digital_DFlipFlop_U11 1 2 3 4 5 6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Clk_delay=1n Set_delay=1n Reset_delay=1n Ic=0 Rise_delay=1n Fall_delay=1n
*PIN MAPPING: D Q ~Q RESET CLK SET
* 1 5 6 4 2 3
*MODELS USED
aDG1 neg_SR Digital_SourceSR
aDG2 neg_clk Digital_SourceCLK
Axor1 [3 neg_SR] set xor
Axor2 [2 neg_clk] clk xor
Axor3 [4 neg_SR] reset xor
Ajkff 1 clk set reset 5 6 D_FF

.model Digital_SourceCLK d_constsource(State={Negative_Edge_Clock})
.model Digital_SourceSR d_constsource(State={Negative_SET_RESET})
.model xor d_xor
.MODEL D_FF d_dff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* U12 subcircuit
.subckt Digital_DFlipFlop_U12 1 2 3 4 5 6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Clk_delay=1n Set_delay=1n Reset_delay=1n Ic=0 Rise_delay=1n Fall_delay=1n
*PIN MAPPING: D Q ~Q RESET CLK SET
* 1 5 6 4 2 3
*MODELS USED
aDG1 neg_SR Digital_SourceSR
aDG2 neg_clk Digital_SourceCLK
Axor1 [3 neg_SR] set xor
Axor2 [2 neg_clk] clk xor
Axor3 [4 neg_SR] reset xor
Ajkff 1 clk set reset 5 6 D_FF

.model Digital_SourceCLK d_constsource(State={Negative_Edge_Clock})
.model Digital_SourceSR d_constsource(State={Negative_SET_RESET})
.model xor d_xor
.MODEL D_FF d_dff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* U13 subcircuit
.subckt Digital_DFlipFlop_U13 1 2 3 4 5 6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Clk_delay=1n Set_delay=1n Reset_delay=1n Ic=0 Rise_delay=1n Fall_delay=1n
*PIN MAPPING: D Q ~Q RESET CLK SET
* 1 5 6 4 2 3
*MODELS USED
aDG1 neg_SR Digital_SourceSR
aDG2 neg_clk Digital_SourceCLK
Axor1 [3 neg_SR] set xor
Axor2 [2 neg_clk] clk xor
Axor3 [4 neg_SR] reset xor
Ajkff 1 clk set reset 5 6 D_FF

.model Digital_SourceCLK d_constsource(State={Negative_Edge_Clock})
.model Digital_SourceSR d_constsource(State={Negative_SET_RESET})
.model xor d_xor
.MODEL D_FF d_dff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* U2 subcircuit
.subckt 7_SEGMENT_CC_U2 A1 A2 A3 A4 A5 A6 A7 K

dd1 A1 0vNode1 ledDiodeModel
Vsense1 0vNode1 K DC 0
* Interactive sense node
b1 lit1 0 v = { if (i(Vsense1) < 0, 0, if( i(Vsense1) > 0.02, 1, { i(Vsense1) / 0.02 })) }

dd2 A2 0vNode2 ledDiodeModel
Vsense2 0vNode2 K DC 0
* Interactive sense node
b2 lit2 0 v = { if (i(Vsense2) < 0, 0, if( i(Vsense2) > 0.02, 1, { i(Vsense2) / 0.02 })) }

dd3 A3 0vNode3 ledDiodeModel
Vsense3 0vNode3 K DC 0
* Interactive sense node
b3 lit3 0 v = { if (i(Vsense3) < 0, 0, if( i(Vsense3) > 0.02, 1, { i(Vsense3) / 0.02 })) }

dd4 A4 0vNode4 ledDiodeModel
Vsense4 0vNode4 K DC 0
* Interactive sense node
b4 lit4 0 v = { if (i(Vsense4) < 0, 0, if( i(Vsense4) > 0.02, 1, { i(Vsense4) / 0.02 })) }

dd5 A5 0vNode5 ledDiodeModel
Vsense5 0vNode5 K DC 0
* Interactive sense node
b5 lit5 0 v = { if (i(Vsense5) < 0, 0, if( i(Vsense5) > 0.02, 1, { i(Vsense5) / 0.02 })) }

dd6 A6 0vNode6 ledDiodeModel
Vsense6 0vNode6 K DC 0
* Interactive sense node
b6 lit6 0 v = { if (i(Vsense6) < 0, 0, if( i(Vsense6) > 0.02, 1, { i(Vsense6) / 0.02 })) }

dd7 A7 0vNode7 ledDiodeModel
Vsense7 0vNode7 K DC 0
* Interactive sense node
b7 lit7 0 v = { if (i(Vsense7) < 0, 0, if( i(Vsense7) > 0.02, 1, { i(Vsense7) / 0.02 })) }

.model ledDiodeModel D( IS=1e-14 N=1 RS=0 IBV=1e-10 BV=1e+30 CJO=0 M=0.5 VJ=1 )
.ends

* U3 subcircuit
**********************
*74LS48 DECODER/DRIVER BCD-7 SEGMENT WITH
*2k PULL-UPS OUTPUTS
***
.subckt 74LS48_U3 ina inb inc ind ltb rbib bib/rbob a d e f c b g PARAMS: Rise_delay=100n Fall_delay=100n
*FAMILY TTLin TTLin TTLin TTLin TTLin TTLin TTLin
*TTLout TTLout TTLout TTLout TTLout TTLout TTLout
*pinout N 7 1 2 6 13 10 9 15 11 12 14 3 5 4:VCC=16 GND=8
*pinout J 7 1 2 6 13 10 9 15 11 12 14 3 5 4:VCC=16 GND=8
*pinout D 7 1 2 6 13 10 9 15 11 12 14 3 5 4:VCC=16 GND=8

ainv1 rbib rbi inv

ananda1 [ina ltb] a1 nand
anandb1 [inb ltb] b1 nand
anandc1 [inc ltb] c1 nand
anandd1 [ind ind] d1 nand

ananda2 [a1 bib/rbob] a2 nand
anandb2 [b1 bib/rbob] b2 nand
anandc2 [c1 bib/rbob] c2 nand
anandd2 [d1 bib/rbob] d2 nand

anand6 [ltb rbi d1 c1 b1 a1] nandopenc nand

aopenc1 nandopenc bib/rbob open_c

aand1a [b2 d2] x1 and
aand2a [a1 c2] x2 and
aand3a [a2 b1 c1 d1] x3 and
aor1 [x1 x2 x3] ai or

aand1b [b2 d2] x4 and
aand2b [a2 b1 c2] x5 and
aand3b [a1 b2 c2] x6 and
aor2 [x4 x5 x6] bi or

aand1c [c2 d2] x7 and
aand2c [a1 b2 c1] x8 and
aor3 [x7 x8] ci or

aand1d [a2 b1 c1] x9 and
aand2d [a1 b1 c2] xa and
aand3d [a2 b2 c2] xb and
aor4 [x9 xa xb] di or

aand1e [b1 c2] xc and
aor5 [xc a2] ei or

aand1f [a2 b2] xd and
aand2f [b2 c1] xe and
aand3f [a2 c1 d1] xf and
aor6 [xd xe xf] fi or

aand1g [a2 b2 c2] xg and
aand2g [b1 c1 d1 ltb] xh and
aor7 [xg xh] gi or

ah h high

aand1 [ai h] a nand
aand2 [bi h] b nand
aand3 [ci h] c nand
aand4 [di h] d nand
aand5 [ei h] e nand
aand6 [fi h] f nand
aand7 [gi h] g nand

.model inv d_inverter
.model nand d_nand
.model or d_or(rise_delay={Rise_delay} fall_delay={Fall_delay})
.model and d_and
.model open_c d_open_c
.model high d_pullup(load=2k)

.ends

* U4 subcircuit
**********************
*74LS48 DECODER/DRIVER BCD-7 SEGMENT WITH
*2k PULL-UPS OUTPUTS
***
.subckt 74LS48_U4 ina inb inc ind ltb rbib bib/rbob a d e f c b g PARAMS: Rise_delay=100n Fall_delay=100n
*FAMILY TTLin TTLin TTLin TTLin TTLin TTLin TTLin
*TTLout TTLout TTLout TTLout TTLout TTLout TTLout
*pinout N 7 1 2 6 13 10 9 15 11 12 14 3 5 4:VCC=16 GND=8
*pinout J 7 1 2 6 13 10 9 15 11 12 14 3 5 4:VCC=16 GND=8
*pinout D 7 1 2 6 13 10 9 15 11 12 14 3 5 4:VCC=16 GND=8

ainv1 rbib rbi inv

ananda1 [ina ltb] a1 nand
anandb1 [inb ltb] b1 nand
anandc1 [inc ltb] c1 nand
anandd1 [ind ind] d1 nand

ananda2 [a1 bib/rbob] a2 nand
anandb2 [b1 bib/rbob] b2 nand
anandc2 [c1 bib/rbob] c2 nand
anandd2 [d1 bib/rbob] d2 nand

anand6 [ltb rbi d1 c1 b1 a1] nandopenc nand

aopenc1 nandopenc bib/rbob open_c

aand1a [b2 d2] x1 and
aand2a [a1 c2] x2 and
aand3a [a2 b1 c1 d1] x3 and
aor1 [x1 x2 x3] ai or

aand1b [b2 d2] x4 and
aand2b [a2 b1 c2] x5 and
aand3b [a1 b2 c2] x6 and
aor2 [x4 x5 x6] bi or

aand1c [c2 d2] x7 and
aand2c [a1 b2 c1] x8 and
aor3 [x7 x8] ci or

aand1d [a2 b1 c1] x9 and
aand2d [a1 b1 c2] xa and
aand3d [a2 b2 c2] xb and
aor4 [x9 xa xb] di or

aand1e [b1 c2] xc and
aor5 [xc a2] ei or

aand1f [a2 b2] xd and
aand2f [b2 c1] xe and
aand3f [a2 c1 d1] xf and
aor6 [xd xe xf] fi or

aand1g [a2 b2 c2] xg and
aand2g [b1 c1 d1 ltb] xh and
aor7 [xg xh] gi or

ah h high

aand1 [ai h] a nand
aand2 [bi h] b nand
aand3 [ci h] c nand
aand4 [di h] d nand
aand5 [ei h] e nand
aand6 [fi h] f nand
aand7 [gi h] g nand

.model inv d_inverter
.model nand d_nand
.model or d_or(rise_delay={Rise_delay} fall_delay={Fall_delay})
.model and d_and
.model open_c d_open_c
.model high d_pullup(load=2k)

.ends

* U5 subcircuit
.subckt Digital_DFlipFlop_U5 1 2 3 4 5 6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Clk_delay=1n Set_delay=1n Reset_delay=1n Ic=0 Rise_delay=1n Fall_delay=1n
*PIN MAPPING: D Q ~Q RESET CLK SET
* 1 5 6 4 2 3
*MODELS USED
aDG1 neg_SR Digital_SourceSR
aDG2 neg_clk Digital_SourceCLK
Axor1 [3 neg_SR] set xor
Axor2 [2 neg_clk] clk xor
Axor3 [4 neg_SR] reset xor
Ajkff 1 clk set reset 5 6 D_FF

.model Digital_SourceCLK d_constsource(State={Negative_Edge_Clock})
.model Digital_SourceSR d_constsource(State={Negative_SET_RESET})
.model xor d_xor
.MODEL D_FF d_dff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* U6 subcircuit
.subckt Digital_DFlipFlop_U6 1 2 3 4 5 6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Clk_delay=1n Set_delay=1n Reset_delay=1n Ic=0 Rise_delay=1n Fall_delay=1n
*PIN MAPPING: D Q ~Q RESET CLK SET
* 1 5 6 4 2 3
*MODELS USED
aDG1 neg_SR Digital_SourceSR
aDG2 neg_clk Digital_SourceCLK
Axor1 [3 neg_SR] set xor
Axor2 [2 neg_clk] clk xor
Axor3 [4 neg_SR] reset xor
Ajkff 1 clk set reset 5 6 D_FF

.model Digital_SourceCLK d_constsource(State={Negative_Edge_Clock})
.model Digital_SourceSR d_constsource(State={Negative_SET_RESET})
.model xor d_xor
.MODEL D_FF d_dff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* U7 subcircuit
.subckt Digital_DFlipFlop_U7 1 2 3 4 5 6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Clk_delay=1n Set_delay=1n Reset_delay=1n Ic=0 Rise_delay=1n Fall_delay=1n
*PIN MAPPING: D Q ~Q RESET CLK SET
* 1 5 6 4 2 3
*MODELS USED
aDG1 neg_SR Digital_SourceSR
aDG2 neg_clk Digital_SourceCLK
Axor1 [3 neg_SR] set xor
Axor2 [2 neg_clk] clk xor
Axor3 [4 neg_SR] reset xor
Ajkff 1 clk set reset 5 6 D_FF

.model Digital_SourceCLK d_constsource(State={Negative_Edge_Clock})
.model Digital_SourceSR d_constsource(State={Negative_SET_RESET})
.model xor d_xor
.MODEL D_FF d_dff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* U8 subcircuit
.subckt Digital_DFlipFlop_U8 1 2 3 4 5 6 PARAMS: Negative_Edge_Clock=0 Negative_SET_RESET=0 Clk_delay=1n Set_delay=1n Reset_delay=1n Ic=0 Rise_delay=1n Fall_delay=1n
*PIN MAPPING: D Q ~Q RESET CLK SET
* 1 5 6 4 2 3
*MODELS USED
aDG1 neg_SR Digital_SourceSR
aDG2 neg_clk Digital_SourceCLK
Axor1 [3 neg_SR] set xor
Axor2 [2 neg_clk] clk xor
Axor3 [4 neg_SR] reset xor
Ajkff 1 clk set reset 5 6 D_FF

.model Digital_SourceCLK d_constsource(State={Negative_Edge_Clock})
.model Digital_SourceSR d_constsource(State={Negative_SET_RESET})
.model xor d_xor
.MODEL D_FF d_dff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS


* --- Pin bridge models

.SUBCKT REAL_CUSTOM_ADC 1 2 PARAMS: lowV=0 maxLowV=0.8 unknownV=1.0 minHighV=2.0 highV=5.0 riseT=0 fallT=0
* Ideal Receiver Model 1 = input, 2 = A/D out
aADCin1 [2] [1] ADC
.MODEL ADC adc_bridge (in_low = {maxLowV} in_high = {minHighV})
.ENDS

.SUBCKT REAL_CUSTOM_DAC 1 2 PARAMS: lowV=0 maxLowV=0.8 unknownV=1.0 minHighV=2.0 highV=5.0 riseT=0 fallT=0
* Ideal Driver Model 1 = A/D out, 2 = input
aDACin1 [1] [2] aDAC
.MODEL aDAC dac_bridge (out_low = {lowV} out_high = {highV} out_undef = {unknownV} t_rise = {max(riseT,1e-9)} t_fall = {max(fallT,1e-9)})
.ENDS
Errors and Warnings

Any error, warning or information messages appear below.

Item
Document
No items selected.
60 Second Timer
Schematic

The simulation to run. See Simulation types for more information.

Name

Title of graph. Edit as desired.

End time

s

Time at which the simulation stops. Does not include pauses. Simulation does not occur in real time.

Start simulation

Mode

Threshold voltage levels.

Threshold voltage values used in the logic evaluation. See Digital Simulation for more information.

Output low

V

Output low voltage.

Maximum output voltage level to produce a low signal.

Input low threshold

V

Input low threshold voltage.

Maximum input voltage level for the signal to be considered low.

Input high threshold

V

Input high threshold voltage.

Minimum input voltage level for the signal to be considered high.

Output high

V

Output high voltage.

Minimum output voltage level to produce a high signal.

Width

Sheet width in grid squares.

Height

Sheet height in grid squares.

Grid

Toggles grid display.

Net Labels

Toggles all net labels.

Component Labels

Toggles all component labels.