7 segment display
DE
deepika.bansal386
·
Created Oct 12, 2026
·
Updated Oct 12, 2026

Details
Components
3
Schematic
Yes
Simulation
Transient analysis
Copies
Not copied yet
Tags
No tags yet.
About this circuit
The author hasn't added a description yet.
Components used
Components used
3 components
NameManufacturerMPNCountType
SPICE netlist
* **************************************************
* Generated from CircuitSim Schematic
**************************************************
XQ1 N8 N9 N14 N14 0 0 0 N1 N4 N5 N6 N3 N2 N7 Param74LS47_8e4368a5 PARAMS: RiseDelay=1n FallDelay=1n
xU1 N1 N2 N3 N4 N5 N6 N7 0 Param7SEGMENTCA_ef9d78c1 PARAMS: IS=1e-14 N=1 RS=0 IBV=100000000000000000 BV=1e30 CJO=0 M=0.5 VJ=1 ION=20m
V_V1 N8 0 ac 1 0 distof1 0 0 distof2 0 0 pulse(0 5 0 1n 1n 2.67u 10u )
V_V2 N9 0 ac 1 0 distof1 0 0 distof2 0 0 pulse(0 5 0 1n 1n 10u 20u )
V_V3 N14 0 ac 1 0 distof1 0 0 distof2 0 0 pulse(0 5 0 1n 1n 2.67u 10u )
**************************************************
* Models and supporting definitions follow
**************************************************
* 74LS47N BCD-to-seven-segment behavioral model
.subckt Param74LS47_8e4368a5 A B C D LT RBI BIRBO OA OD OE OF OC OB OG params: RiseDelay=1e-7 FallDelay=1e-7
B_N N 0 V={(V(A)>2.5)+2*(V(B)>2.5)+4*(V(C)>2.5)+8*(V(D)>2.5)}
B_OA_TARGET OA_TARGET 0 V={((V(LT)<0.8)?0:((V(BIRBO)<0.8)?5:(((V(RBI)<0.8)&&(V(N)<0.5))?5:(((V(N)<0.5)||((V(N)>1.5)&&(V(N)<3.5))||((V(N)>4.5)&&(V(N)<9.5)))?0:5))))}
R_OA OA_TARGET OA 1
C_OA OA 0 {(RiseDelay+FallDelay)/2+1p}
B_OB_TARGET OB_TARGET 0 V={((V(LT)<0.8)?0:((V(BIRBO)<0.8)?5:(((V(RBI)<0.8)&&(V(N)<0.5))?5:(((V(N)<4.5)||((V(N)>6.5)&&(V(N)<9.5)))?0:5))))}
R_OB OB_TARGET OB 1
C_OB OB 0 {(RiseDelay+FallDelay)/2+1p}
B_OC_TARGET OC_TARGET 0 V={((V(LT)<0.8)?0:((V(BIRBO)<0.8)?5:(((V(RBI)<0.8)&&(V(N)<0.5))?5:(((V(N)<1.5)||((V(N)>2.5)&&(V(N)<9.5)))?0:5))))}
R_OC OC_TARGET OC 1
C_OC OC 0 {(RiseDelay+FallDelay)/2+1p}
B_OD_TARGET OD_TARGET 0 V={((V(LT)<0.8)?0:((V(BIRBO)<0.8)?5:(((V(RBI)<0.8)&&(V(N)<0.5))?5:(((V(N)<0.5)||((V(N)>1.5)&&(V(N)<3.5))||((V(N)>4.5)&&(V(N)<6.5))||((V(N)>7.5)&&(V(N)<9.5)))?0:5))))}
R_OD OD_TARGET OD 1
C_OD OD 0 {(RiseDelay+FallDelay)/2+1p}
B_OE_TARGET OE_TARGET 0 V={((V(LT)<0.8)?0:((V(BIRBO)<0.8)?5:(((V(RBI)<0.8)&&(V(N)<0.5))?5:(((V(N)<0.5)||((V(N)>1.5)&&(V(N)<2.5))||((V(N)>5.5)&&(V(N)<6.5))||((V(N)>7.5)&&(V(N)<8.5)))?0:5))))}
R_OE OE_TARGET OE 1
C_OE OE 0 {(RiseDelay+FallDelay)/2+1p}
B_OF_TARGET OF_TARGET 0 V={((V(LT)<0.8)?0:((V(BIRBO)<0.8)?5:(((V(RBI)<0.8)&&(V(N)<0.5))?5:(((V(N)<0.5)||((V(N)>3.5)&&(V(N)<6.5))||((V(N)>7.5)&&(V(N)<9.5)))?0:5))))}
R_OF OF_TARGET OF 1
C_OF OF 0 {(RiseDelay+FallDelay)/2+1p}
B_OG_TARGET OG_TARGET 0 V={((V(LT)<0.8)?0:((V(BIRBO)<0.8)?5:(((V(RBI)<0.8)&&(V(N)<0.5))?5:((((V(N)>1.5)&&(V(N)<6.5))||((V(N)>7.5)&&(V(N)<9.5)))?0:5))))}
R_OG OG_TARGET OG 1
C_OG OG 0 {(RiseDelay+FallDelay)/2+1p}
.ends Param74LS47_8e4368a5
.subckt Param7SEGMENTCA_ef9d78c1 K1 K2 K3 K4 K5 K6 K7 A params: IS=1e-14 N=1 RS=0 IBV=100P BV=1e30 CJO=0 M=0.5 VJ=1 ION=20m
.model Param7SEGMENTCA_ef9d78c1_LedDiodeModel D( {IS} {N} {RS} {IBV} {BV} {CJO} {M} {VJ} )
dd1 A 0vNode1 Param7SEGMENTCA_ef9d78c1_LedDiodeModel
Vsense1 0vNode1 K1 DC 0
* Interactive sense node
b1 lit1 0 v = {((i(Vsense1) < 0) ? 0 : ((i(Vsense1) > ION) ? 1 : i(Vsense1) / ION))}
dd2 A 0vNode2 Param7SEGMENTCA_ef9d78c1_LedDiodeModel
Vsense2 0vNode2 K2 DC 0
* Interactive sense node
b2 lit2 0 v = {((i(Vsense2) < 0) ? 0 : ((i(Vsense2) > ION) ? 1 : i(Vsense2) / ION))}
dd3 A 0vNode3 Param7SEGMENTCA_ef9d78c1_LedDiodeModel
Vsense3 0vNode3 K3 DC 0
* Interactive sense node
b3 lit3 0 v = {((i(Vsense3) < 0) ? 0 : ((i(Vsense3) > ION) ? 1 : i(Vsense3) / ION))}
dd4 A 0vNode4 Param7SEGMENTCA_ef9d78c1_LedDiodeModel
Vsense4 0vNode4 K4 DC 0
* Interactive sense node
b4 lit4 0 v = {((i(Vsense4) < 0) ? 0 : ((i(Vsense4) > ION) ? 1 : i(Vsense4) / ION))}
dd5 A 0vNode5 Param7SEGMENTCA_ef9d78c1_LedDiodeModel
Vsense5 0vNode5 K5 DC 0
* Interactive sense node
b5 lit5 0 v = {((i(Vsense5) < 0) ? 0 : ((i(Vsense5) > ION) ? 1 : i(Vsense5) / ION))}
dd6 A 0vNode6 Param7SEGMENTCA_ef9d78c1_LedDiodeModel
Vsense6 0vNode6 K6 DC 0
* Interactive sense node
b6 lit6 0 v = {((i(Vsense6) < 0) ? 0 : ((i(Vsense6) > ION) ? 1 : i(Vsense6) / ION))}
dd7 A 0vNode7 Param7SEGMENTCA_ef9d78c1_LedDiodeModel
Vsense7 0vNode7 K7 DC 0
* Interactive sense node
b7 lit7 0 v = {((i(Vsense7) < 0) ? 0 : ((i(Vsense7) > ION) ? 1 : i(Vsense7) / ION))}
.ends
**************************************************
* Simulation settings
**************************************************
.tran 20u 100m 0 20u
.save V(XU1.lit1) V(XU1.lit2) V(XU1.lit3) V(XU1.lit4) V(XU1.lit5) V(XU1.lit6) V(XU1.lit7)
.endTry this circuit yourself
Free to get started. No download — runs in your browser with a full SPICE engine.