Skip to content

Commit

Permalink
Merge branch 'master' into qflow-1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RTimothyEdwards committed Jan 13, 2024
2 parents 88c7e7f + 7314066 commit 7a35edc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.101
1.4.102
6 changes: 5 additions & 1 deletion scripts/spi2xspice.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# May 17, 2017
# Updated Dec. 22, 2018 to accomodate in-lined standard cell subcircuits
# (i.e., not from a .include statement) and corrected duplicate .end statement.
# Updated Jan. 12, 2024 to fix port direction when inputs and outputs are not
# buffered, and a subcircuit output signal is also fed back to other gates in
# the subcircuit.
#
# This script is in the public domain
#--------------------------------------------------------------------------
Expand Down Expand Up @@ -514,7 +517,8 @@ def read_spice(filein, fileout, celldefs, debug, modelfile, timing):
if len(pins) > i:
inlist.append(pins[i])
if pins[i] in pindefs:
pindefs[pins[i]] = 'input'
if pindefs[pins[i]] != 'output':
pindefs[pins[i]] = 'input'
else:
print('Pin ' + subpinname + ' of subckt ' + cellname + ' does not have a connecting net', file=sys.stderr)

Expand Down

0 comments on commit 7a35edc

Please sign in to comment.