Waiting for data
10DCBAJQ~QKRESETCLKSETJQ~QKRESETCLKSETJQ~QKRESETCLKSET DG15V100HzV1ClearHex_DisplayQ0Q1Q2JK0JK1JK2 0/1 0/1 0/1
Out of date
V —
V —
VPP —
VRMS —
VAV —
fV —
I —
I —
IPP —
IRMS —
IAV —
fI —
D —
Out of date
V —
V —
VPP —
VRMS —
VAV —
fV —
I —
I —
IPP —
IRMS —
IAV —
fI —
D —
Out of date
V —
V —
VPP —
VRMS —
VAV —
fV —
I —
I —
IPP —
IRMS —
IAV —
fI —
D —

ID:

ID:

x10
x0.1
Sheet:1
V
Analysis and annotation
V
Voltage
Current
Voltage and Current
Voltage Refe­rence
Expression
Data
Text Annotation
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 Voltage
FM Voltage
FM Current
Chirp Voltage
Chirp Current
Thermal Noise
Arbitrary Voltage Source
Arbitrary Current Source
Three Phase Delta
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
12345678
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
12345678
Timers...
Timers...
LM555CN
ICM7555
12345678
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
Modeling blocks
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
Electromechanical
Normally Open Relay
Normally Closed Relay
Com­bi­na­tion Relay
Machines...
Machines...
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
Power
Diode Switch
GTO Switch
SCR Switch
Trans­istor Switch
Trans­istor with Diode Switch
TRIAC Switch
Phase Angle Con­trol­ler
α1245
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
Linear regu­lators...
Linear regulators...
LM1084-3.3
LM1084-5.0
LM1084-ADJ
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
1234567
JK Flip-Flop
1234567
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.

** Omi Nikolai 4 bit Binary Up Counter **
*
* Multisim Live SPICE netlist
*
*

* --- Circuit Topology ---

* Component: Clear
xClear 0 1 7 SPDT_Switch_Clear Params: Ron=0.0001 Roff=100000000 State=1

* Component: DG1
aDG1 bridgeDG1!OUT Digital_Source_DG1

xbridgeDG1!OUT bridgeDG1!OUT 7 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: Hex_Display
xHex_Display 3 6 9 bridgeHex_Display!1 DIG_7SEG_HEX_Hex_Display

xbridgeHex_Display!1 bridgeHex_Display!1 0 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: JK0
xJK0 bridgeJK0!J bridgeJK0!K bridgeJK0!CLK bridgeJK0!SET bridgeJK0!RESET 3 JK0_NC_~Q Digital_JKFlipFlop_JK0 PARAMS: Negative_Edge_Clock=1 Negative_SET_RESET=1 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

xbridgeJK0!J bridgeJK0!J 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK0!K bridgeJK0!K 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

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

xbridgeJK0!SET bridgeJK0!SET 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK0!RESET bridgeJK0!RESET 1 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: JK1
xJK1 bridgeJK1!J bridgeJK1!K 3 bridgeJK1!SET bridgeJK1!RESET 6 JK1_NC_~Q Digital_JKFlipFlop_JK1 PARAMS: Negative_Edge_Clock=1 Negative_SET_RESET=1 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

xbridgeJK1!J bridgeJK1!J 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK1!K bridgeJK1!K 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK1!SET bridgeJK1!SET 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK1!RESET bridgeJK1!RESET 1 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: JK2
xJK2 bridgeJK2!J bridgeJK2!K 6 bridgeJK2!SET bridgeJK2!RESET 9 JK2_NC_~Q Digital_JKFlipFlop_JK2 PARAMS: Negative_Edge_Clock=1 Negative_SET_RESET=1 Rise_delay=1e-9 Fall_delay=1e-9 Clk_delay=1e-9 Set_delay=1e-9 Reset_delay=1e-9 Ic=0

xbridgeJK2!J bridgeJK2!J 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK2!K bridgeJK2!K 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK2!SET bridgeJK2!SET 7 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeJK2!RESET bridgeJK2!RESET 1 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

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


* --- Circuit Models ---

* DG1 model
.model Digital_Source_DG1 d_constsource(State=1)


* --- Subcircuits ---

* Clear subcircuit
.subckt SPDT_Switch_Clear port1 port2 port3 Params: Ron=1e-8 Roff=1e30 State=0
V2 state 0 DC {State}
R1 state 6 10
V1 6 0 DC 0
W0 port2 port1 V1 NC_contact
W1 port2 port3 V1 NO_contact
.MODEL NO_contact ISWITCH (ION=0.05 IOFF=0.025 RON={Ron} ROFF={Roff})
.MODEL NC_contact ISWITCH (ION=0.05 IOFF=0.025 RON={Roff} ROFF={Ron})
.ends

* Hex_Display subcircuit
.subckt DIG_7SEG_HEX_Hex_Display INA INB INC IND PARAMS: lowV=0 unknownV=1.0 highV=5.0 riseT=0 fallT=0


aU10 [IND 13 INB INA] 9 Digital_AND4
aU11 [14 15 16 17] U11_Y Digital_OR4
aU12 [10 INC 11 INA] 17 Digital_AND4
aU13 [IND INC 11 12] 16 Digital_AND4
aU14 [24 25 26 27] U14_Y Digital_OR4
aU15 [INC INB 12] 15 Digital_AND3
aU16 [1 2 3 34] U16_Y Digital_OR4
aU18 [10 13 INB 12] 20 Digital_AND4
aU19 [10 13 11 INA] 3 Digital_AND4
aU2 IND 10 Digital_Inverter
aU20 [IND INC 12] 18 Digital_AND3
aU21 [IND INC INB] 19 Digital_AND3
aU22 [10 INC 11 12] 2 Digital_AND4
aU23 [INC INB INA] 1 Digital_AND3
aU25 [4 22 23] U25_Y Digital_OR3
aU26 [10 INA] 4 Digital_AND2
aU27 [10 INC 11] 22 Digital_AND3
aU28 [13 11 INA] 23 Digital_AND3
aU29 [10 13 INA] 24 Digital_AND3
aU3 INC 13 Digital_Inverter
aU30 [10 13 INB] 25 Digital_AND3
aU31 [10 INB INA] 26 Digital_AND3
aU32 [IND 13 INB 12] 34 Digital_AND4
aU34 [29 28 30] U34_Y Digital_OR3
aU35 [10 13 11] 29 Digital_AND3
aU36 [IND INC 11 12] 28 Digital_AND4
aU37 [10 INC INB INA] 30 Digital_AND4
aU38 [IND INB INA] 14 Digital_AND3
aU39 [19 18 20] U39_Y Digital_OR3
aU4 INB 11 Digital_Inverter
aU40 [IND INC 11 INA] 27 Digital_AND4
aU5 INA 12 Digital_Inverter
aU6 [5 6 7 9] U6_Y Digital_OR4
aU7 [10 INC 11 12] 5 Digital_AND4
aU8 [10 13 11 INA] 6 Digital_AND4
aU9 [IND INC 11 INA] 7 Digital_AND4

vV1 8 0 dc {highV} ac 0 0
+ distof1 0 0
+ distof2 0 0

.model Digital_AND4 d_and (rise_delay=1e-9 fall_delay=1e-9)
.model Digital_OR4 d_or (rise_delay=1e-9 fall_delay=1e-9)
.model Digital_OR5 d_or (rise_delay=1e-9 fall_delay=1e-9)
.model Digital_AND3 d_and (rise_delay=1e-9 fall_delay=1e-9)
.model Digital_Inverter d_inverter (rise_delay=1e-9 fall_delay=1e-9)
.model Digital_OR3 d_or (rise_delay=1e-9 fall_delay=1e-9)
.model Digital_AND2 d_and (rise_delay=1e-9 fall_delay=1e-9)

xbridgeU11 U11_Y 32 AADAC
xbridgeU14 U14_Y 33 AADAC
xbridgeU16 U16_Y 36 AADAC
xbridgeU25 U25_Y 35 AADAC
xbridgeU34 U34_Y 37 AADAC
xbridgeU39 U39_Y 21 AADAC
xbridgeU6 U6_Y 31 AADAC

dd1 8 0vNode1 ledDiodeModel
Vsense1 0vNode1 31 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 8 0vNode2 ledDiodeModel
Vsense2 0vNode2 32 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 8 0vNode3 ledDiodeModel
Vsense3 0vNode3 21 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 8 0vNode4 ledDiodeModel
Vsense4 0vNode4 36 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 8 0vNode5 ledDiodeModel
Vsense5 0vNode5 35 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 8 0vNode6 ledDiodeModel
Vsense6 0vNode6 33 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 8 0vNode7 ledDiodeModel
Vsense7 0vNode7 37 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 )


* --- Pin bridge models
.SUBCKT AADAC 1 2
* TIL Driver Model 1 = D/A input, 2 = out
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
.ENDS

* JK0 subcircuit
.subckt Digital_JKFlipFlop_JK0 1 2 3 4 5 6 7 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

aDG1 neg_SR initSR
aDG2 neg_clk initCLK
A1 [4 neg_SR] set xorset
A2 [3 neg_clk] clk xorclk
A3 [5 neg_SR] reset xorreset
A4 1 2 clk set reset 6 7 JK_FF
**MODELS USED*
.model initCLK d_constsource(State={Negative_Edge_Clock})
.model initSR d_constsource(State={Negative_SET_RESET})
.model xorset d_xor(rise_delay=1e-9 fall_delay=1e-9)
.model xorclk d_xor(rise_delay=1e-9 fall_delay=1e-9)
.model xorreset d_xor(rise_delay=1e-9 fall_delay=1e-9)
.MODEL JK_FF d_jkff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* JK1 subcircuit
.subckt Digital_JKFlipFlop_JK1 1 2 3 4 5 6 7 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

aDG1 neg_SR initSR
aDG2 neg_clk initCLK
A1 [4 neg_SR] set xorset
A2 [3 neg_clk] clk xorclk
A3 [5 neg_SR] reset xorreset
A4 1 2 clk set reset 6 7 JK_FF
**MODELS USED*
.model initCLK d_constsource(State={Negative_Edge_Clock})
.model initSR d_constsource(State={Negative_SET_RESET})
.model xorset d_xor(rise_delay=1e-9 fall_delay=1e-9)
.model xorclk d_xor(rise_delay=1e-9 fall_delay=1e-9)
.model xorreset d_xor(rise_delay=1e-9 fall_delay=1e-9)
.MODEL JK_FF d_jkff (clk_delay={Clk_delay} set_delay={Set_delay} reset_delay={Reset_delay} ic={Ic} rise_delay={Rise_delay} fall_delay={Fall_delay})
.ENDS

* JK2 subcircuit
.subckt Digital_JKFlipFlop_JK2 1 2 3 4 5 6 7 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

aDG1 neg_SR initSR
aDG2 neg_clk initCLK
A1 [4 neg_SR] set xorset
A2 [3 neg_clk] clk xorclk
A3 [5 neg_SR] reset xorreset
A4 1 2 clk set reset 6 7 JK_FF
**MODELS USED*
.model initCLK d_constsource(State={Negative_Edge_Clock})
.model initSR d_constsource(State={Negative_SET_RESET})
.model xorset d_xor(rise_delay=1e-9 fall_delay=1e-9)
.model xorclk d_xor(rise_delay=1e-9 fall_delay=1e-9)
.model xorreset d_xor(rise_delay=1e-9 fall_delay=1e-9)
.MODEL JK_FF d_jkff (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_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

.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
Errors and Warnings

Any error, warning or information messages appear below.

Item
Document
No items selected.
Omi Nikolai 4 bit Binary Up Counter
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.