From 3c8d838af5d4b93c7ff19b691245a6bfa0774a19 Mon Sep 17 00:00:00 2001 From: Robin Matthew Tsang Date: Wed, 13 Mar 2024 20:05:29 -0500 Subject: [PATCH 1/6] handle conb in sky130 standard cell pullup/pulldown --- scripts/spi2xspice.py.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/spi2xspice.py.in b/scripts/spi2xspice.py.in index 22a38c4..0b5aa84 100755 --- a/scripts/spi2xspice.py.in +++ b/scripts/spi2xspice.py.in @@ -114,6 +114,7 @@ def write_models(cellsused, celldefs, ofile, timing): tabstr = '' nout = cellrec['nout'] nin = cellrec['nin'] + #print("* nout=[" + str(nout) + "] nin=[" + str(nin) + "]", file=ofile) #FIXME for k in range(0, nout): # Handle tristate functions # If triidx < nin then triidx, tripin, and tripos are all valid @@ -552,6 +553,14 @@ def read_spice(filein, fileout, celldefs, debug, modelfile, timing): print('A' + instname + ' ' + outtext + ' dzero', file=ofile) else: print("Cell " + cellname + " has no inputs and no constant function.") + elif len(inlist) == 0 and len(outlist) != 0: #FIXME + #Multiple outputs with no inputs, it is a cell that is used to tie high or tie low + for idx,fcn in enumerate(cellrec['function']): + if fcn == '1': + print('A' + instname + str(idx) + ' ' + outlist[idx] + ' done', file=ofile) + elif fcn == '0': + print('A' + instname + str(idx) + ' ' + outlist[idx] + ' dzero', file=ofile) + elif len(outlist) == 1: print('A' + instname + ' [' + intext + '] ' + outtext + ' d_lut_' + cellname, file=ofile) elif len(outlist) != 0: From 29ad80e2aa4e34532d3591523913dd0a6c72a323 Mon Sep 17 00:00:00 2001 From: Robin Matthew Tsang Date: Wed, 13 Mar 2024 20:16:49 -0500 Subject: [PATCH 2/6] removed comment --- scripts/spi2xspice.py.in | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/spi2xspice.py.in b/scripts/spi2xspice.py.in index 0b5aa84..ac1984e 100755 --- a/scripts/spi2xspice.py.in +++ b/scripts/spi2xspice.py.in @@ -114,7 +114,6 @@ def write_models(cellsused, celldefs, ofile, timing): tabstr = '' nout = cellrec['nout'] nin = cellrec['nin'] - #print("* nout=[" + str(nout) + "] nin=[" + str(nin) + "]", file=ofile) #FIXME for k in range(0, nout): # Handle tristate functions # If triidx < nin then triidx, tripin, and tripos are all valid From cc093fb69cdbdbd2daf48bd8f42daa3ec5d31d1b Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 4 May 2024 11:13:20 -0400 Subject: [PATCH 3/6] Updated the version to go along with the merge of pull request output standard cells with dual high/low outputs). --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 164682c..b277637 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.102 +1.4.103 From 9137e3893810629a0b2a6f7229f22ba2a1ff1e60 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 4 May 2024 11:16:02 -0400 Subject: [PATCH 4/6] Initialized variable srcdir in vesta.c per the pull request of user Teemperor (github PR #43), but wanted to initialize it to the enumerated name rather than the value 0. --- src/vesta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vesta.c b/src/vesta.c index 84ee0de..d641a81 100644 --- a/src/vesta.c +++ b/src/vesta.c @@ -3519,6 +3519,7 @@ find_clock_skews(ddataptr pathlist, char minmax) clocklist = NULL; clock2list = NULL; + srcdir = EDGE_UNKNOWN; for (testddata = pathlist; testddata; testddata = testddata->next) { From b3094713c3fb7a52d5dd82a444e4b181b665a358 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 4 May 2024 11:21:58 -0400 Subject: [PATCH 5/6] Corrected the tech file setting in osu018, which was incorrect as observed by user susinxy in github PR #35 (still thinking about the other part of that PR). --- tech/osu018/osu018.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tech/osu018/osu018.sh b/tech/osu018/osu018.sh index 16808e8..2476d73 100644 --- a/tech/osu018/osu018.sh +++ b/tech/osu018/osu018.sh @@ -66,7 +66,7 @@ set tielo="" ;# Cell to connect to ground, if one exists set tielopin_out="" ;# Output pin name of tielo cell, if it exists set separator="" ;# Separator between gate names and drive strengths -set techfile=SCN4M_SUBM.20 ;# magic techfile +set techfile=SCN6M_SUBM.10 ;# magic techfile set magicrc=osu018.magicrc ;# magic startup script set gdsfile=osu018_stdcells.gds2 ;# GDS database of standard cells From c270a66de59507ac0e0ace7fd79e91a1b9d1dbb2 Mon Sep 17 00:00:00 2001 From: ntdesmond Date: Sun, 29 Aug 2021 10:56:12 +0300 Subject: [PATCH 6/6] Update Makefile.in Fix "Unterminated quoted string" --- tech/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tech/Makefile.in b/tech/Makefile.in index e5d1b76..4d3e6e0 100644 --- a/tech/Makefile.in +++ b/tech/Makefile.in @@ -44,6 +44,6 @@ distclean: done uninstall: - @echo "Uninstalling built-in tech files + @echo "Uninstalling built-in tech files" $(RM) -rf $(DESTDIR)${TECHINSTALL}