Skip to content
Snippets Groups Projects
Commit 1705aeca authored by David Lanzendörfer's avatar David Lanzendörfer
Browse files

fix statement

parent 0cad1ef0
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ def simulate_cell(
# Create SPICE description of the input voltage sources.
vcc_statement = create_voltage_source_statement(net, wave)
if vcc_statement not None:
if vcc_statement != None:
active_signal_source_statements = "\n".join(
(
vcc_statement
......@@ -150,7 +150,7 @@ def simulate_cell(
# Static inputs.
vcc_statement = create_voltage_source_statement(net, voltage)
if vcc_statement not None:
if vcc_statement != None:
static_signal_source_statements = "\n".join(
(
vcc_statement
......@@ -564,7 +564,7 @@ def simulate_cell_v2(
# Create SPICE description of the input voltage sources.
vcc_statement = create_voltage_source_statement(net, wave)
if vcc_statement not None:
if vcc_statement != None:
active_signal_source_statements = "\n".join(
(
vcc_statement
......@@ -574,7 +574,7 @@ def simulate_cell_v2(
# Static inputs.
vcc_statement = create_voltage_source_statement(net, voltage)
if vcc_statement not None:
if vcc_statement != None:
static_signal_source_statements = "\n".join(
(
vcc_statement
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment