Hi
I meet a coredump in your case
main spice_files/mux_2_1.sp
SPICE STD-CELL TIMING ARCS EXTRACTOR
[UNDER DEVELOPMENT]
Subcircuit:sky130_fd_sc_hs__mux2_1
Inputs & Outputs
input:A0
input:A1
input:S
output:X
PUN Expressions:
X=a_304_74#
a_27_112#=S
a_304_74#=((A1+a_27_112#)*(S+A0))
PDN Expressions:
X=a_304_74#
a_27_112#=S
a_304_74#=((a_27_112#A0)+(A1S))
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 2) >= this->size() (which is 2)
Abort (core dumped)
I find your function flatten_expression have some bug
Hi
I meet a coredump in your case
main spice_files/mux_2_1.sp
SPICE STD-CELL TIMING ARCS EXTRACTOR
[UNDER DEVELOPMENT]
Subcircuit:sky130_fd_sc_hs__mux2_1
Inputs & Outputs
input:A0
input:A1
input:S
output:X
PUN Expressions:
X=a_304_74#
a_27_112#=S
a_304_74#=((A1+a_27_112#)*(S+A0))
PDN Expressions:
X=a_304_74#
a_27_112#=S
a_304_74#=((a_27_112#A0)+(A1S))
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 2) >= this->size() (which is 2)
Abort (core dumped)
I find your function flatten_expression have some bug