interrupting xschem digital simulation with "Simulation->Forced stop tcl scripts" was leaving "tclstop" variable set, causing following simulation to produce erroneousr results. Any new sim resets the flag to 0.
This commit is contained in:
parent
96c84c15f9
commit
f00b27d97d
|
|
@ -1442,6 +1442,7 @@ void logic_set(int value, int num)
|
||||||
static int map[] = {LOGIC_0, LOGIC_1, LOGIC_X, LOGIC_Z};
|
static int map[] = {LOGIC_0, LOGIC_1, LOGIC_X, LOGIC_Z};
|
||||||
struct hilight_hashentry *entry;
|
struct hilight_hashentry *entry;
|
||||||
|
|
||||||
|
tclsetvar("tclstop", "0");
|
||||||
prepare_netlist_structs(0);
|
prepare_netlist_structs(0);
|
||||||
if(!xctx->simdata.valid) create_simdata();
|
if(!xctx->simdata.valid) create_simdata();
|
||||||
rebuild_selected_array();
|
rebuild_selected_array();
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
v {xschem version=2.9.9 file_version=1.2 }
|
v {xschem version=3.0.0 file_version=1.2 }
|
||||||
G {}
|
G {}
|
||||||
K {type=diode
|
K {type=diode
|
||||||
format="@name @pinlist @model area=@area"
|
format="@name @pinlist @model area=@area"
|
||||||
|
function1="U H 0 M"
|
||||||
|
function0="L U 1 M"
|
||||||
tedax_format="footprint @name @footprint
|
tedax_format="footprint @name @footprint
|
||||||
value @name @value
|
value @name @value
|
||||||
device @name @device
|
device @name @device
|
||||||
|
|
@ -17,8 +18,8 @@ E {}
|
||||||
L 4 0 5 0 30 {}
|
L 4 0 5 0 30 {}
|
||||||
L 4 0 -30 0 -5 {}
|
L 4 0 -30 0 -5 {}
|
||||||
L 4 -10 5 10 5 {}
|
L 4 -10 5 10 5 {}
|
||||||
B 5 -2.5 -32.5 2.5 -27.5 {name=p dir=inout pinnumber=1 propag=1}
|
B 5 -2.5 -32.5 2.5 -27.5 {name=p dir=inout pinnumber=1 propag=1 goto=1}
|
||||||
B 5 -2.5 27.5 2.5 32.5 {name=m dir=inout pinnumber=2}
|
B 5 -2.5 27.5 2.5 32.5 {name=m dir=inout pinnumber=2 goto=0}
|
||||||
P 4 4 -0 5 -10 -5 10 -5 0 5 {fill=true}
|
P 4 4 -0 5 -10 -5 10 -5 0 5 {fill=true}
|
||||||
T {@#0:pinnumber} -5 -26.25 0 1 0.2 0.2 {layer=13}
|
T {@#0:pinnumber} -5 -26.25 0 1 0.2 0.2 {layer=13}
|
||||||
T {@#1:pinnumber} -5 17.5 0 1 0.2 0.2 {layer=13}
|
T {@#1:pinnumber} -5 17.5 0 1 0.2 0.2 {layer=13}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
v {xschem version=2.9.9 file_version=1.2 }
|
v {xschem version=3.0.0 file_version=1.2 }
|
||||||
G {}
|
G {}
|
||||||
K {}
|
K {}
|
||||||
V {}
|
V {}
|
||||||
|
|
@ -312,9 +312,9 @@ C {switch-1.sym} 1370 -1260 0 0 {name=s4}
|
||||||
C {inv_2.sym} 1370 -1190 0 0 {name=x20 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ }
|
C {inv_2.sym} 1370 -1190 0 0 {name=x20 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ }
|
||||||
C {diode_3.sym} 1270 -1280 0 0 {name=x12 VTH=0.6 RON=10 ROFF=1G}
|
C {diode_3.sym} 1270 -1280 0 0 {name=x12 VTH=0.6 RON=10 ROFF=1G}
|
||||||
C {ipin.sym} 70 -170 0 0 { name=p19 lab=B }
|
C {ipin.sym} 70 -170 0 0 { name=p19 lab=B }
|
||||||
|
C {dev-1.sym} 1530 -620 0 1 {name=s3}
|
||||||
C {invert-1.sym} 1370 -620 0 0 {name=s1}
|
C {invert-1.sym} 1370 -620 0 0 {name=s1}
|
||||||
C {dev-1.sym} 1210 -620 0 0 {name=s2}
|
C {dev-1.sym} 1210 -620 0 0 {name=s2}
|
||||||
C {dev-1.sym} 1530 -620 0 1 {name=s3}
|
|
||||||
C {vdd.sym} 1080 -620 0 0 {name=l9 lab=VCC}
|
C {vdd.sym} 1080 -620 0 0 {name=l9 lab=VCC}
|
||||||
C {lab_pin.sym} 850 -1160 0 1 {name=p40 lab=E}
|
C {lab_pin.sym} 850 -1160 0 1 {name=p40 lab=E}
|
||||||
C {ipin.sym} 70 -130 0 0 { name=p69 lab=D }
|
C {ipin.sym} 70 -130 0 0 { name=p69 lab=D }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue