-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added instructions and scripts for kisei cvc calibre_cvc pauses if calibre not found cvc_probe.il allows arrays and multiple selections Forward bias diode are after first min/max or second min/max depending on CVC_LOGIC_DIODE flag Unexpected power in Calculate power prints message instead of terminating q
- Loading branch information
1 parent
4fd3bf1
commit 8f89fb0
Showing
12 changed files
with
223 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT(CVC, [0.17.15], [[email protected]]) | ||
AC_INIT(CVC, [0.17.16], [[email protected]]) | ||
AC_CONFIG_SRCDIR(src) | ||
AC_CONFIG_HEADERS([config.h]) | ||
AC_USE_SYSTEM_EXTENSIONS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
docdir = $(datadir)/doc/@PACKAGE@ | ||
doc_DATA = Doxyfile \ | ||
error_codes | ||
error_codes \ | ||
kisei_instructions.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#1 Run calibre extraction and lvs with automatch and hcells | ||
# filter kisei devices | ||
# no need to write output netlist | ||
# reduce series RES | ||
calibre -lvs -hier -automatch -hcell hcell chip.kisei.svrf | tee calibre_lvs.log1 | ||
|
||
#2 Run calibre svs with new hcell file, removing unmatched hcells until lvs ok | ||
# filter kisei devices | ||
# no need to write output netlist | ||
# reduce series RES | ||
calibre -lvs -hier -hcell hcell.number chip.kisei-svs.svrf | tee calibre_lvs.log2 | ||
|
||
#3 Run calibre svs to create cross reference | ||
# filter kisei devices | ||
# no need to write output netlist | ||
# reduce series RES | ||
calibre -lvs -hier -hcell hcell.number -nxf chip.kisei-svs.svrf | tee calibre_lvs.log3 | ||
|
||
#4 Create output netlists | ||
# do not filter kisei devices | ||
# write output netlists | ||
# do not reduce series RES | ||
calibre -lvs -hier -hcell hcell.number chip.kisei-cvc.svrf | tee calibre_lvs.log4 | ||
|
||
#5 Extract kisei devices from layout netlist and annotate net names | ||
# kisei.out is the list of cells to update in the netlist | ||
annotate_kisei top.lvs.rep.nxf < top.lay.net > kisei.out | ||
|
||
# cp kisei.out kisei.fix | ||
# fix it diff kisei.out kisei.fix | ||
|
||
#6 Add kisei devices to netlist. | ||
add_kisei kisei.fix < top.src.net > top.kisei.cdl | ||
|
||
sed 's/^\(.\)\1/\1/' top.kisei.cdl > top.fix.cdl | ||
#run svs on lay.net and fix.cdl | ||
|
||
#7 Run svs for top.cdl top.kisei.cdl | ||
# ignore kisei diodes. | ||
calibre -lvs -hier -hcell hcell.number net-kisei.svrf | tee calibre_lvs.log7 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#! /bin/csh -f | ||
|
||
set kisei = $1 | ||
|
||
awk '\ | ||
FILENAME == "'$kisei'" {\ | ||
if ( /^\*/ ) {\ | ||
next;\ | ||
}\ | ||
cell = $1;\ | ||
$1 = $2;\ | ||
$2 = "";\ | ||
if ( (cell, $0) in duplicate ) {\ | ||
next;\ | ||
}\ | ||
duplicate[cell, $0] = "";\ | ||
if ( cell in kisei ) {\ | ||
kisei[cell] = kisei[cell] "\n" $0;\ | ||
} else {\ | ||
kisei[cell] = $0;\ | ||
printed[cell] = 0;\ | ||
}\ | ||
#print kisei[cell] > "/dev/tty";\ | ||
next;\ | ||
}\ | ||
/^\.ENDS/ {\ | ||
if ( kisei[cell] != "" ) {\ | ||
printed[cell] = 1;\ | ||
print kisei[cell];\ | ||
}\ | ||
cell = "";\ | ||
}\ | ||
$1 ~ /^R/ && $4 == "RES" {\ | ||
print "*" $0;\ | ||
next;\ | ||
}\ | ||
/^\.SUBCKT/ {\ | ||
cell = $2;\ | ||
}\ | ||
{\ | ||
print $0;\ | ||
}\ | ||
END {\ | ||
for ( cell in printed ) {\ | ||
if ( printed[cell] == 0 ) {\ | ||
print "* skipped diodes for cell", cell;\ | ||
}\ | ||
}\ | ||
}' $kisei - | \ | ||
sed 's/^\(.\)\1/\1/' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#! /bin/csh -f | ||
# extract RES and parasitic diodes from layout netlist and annotate with source netlist names | ||
|
||
set nxf = $1 | ||
|
||
awk '\ | ||
FILENAME == "'$nxf'" {\ | ||
if ( /^%/ ) {\ | ||
layout_cell = $2;\ | ||
netlist_cell = $4;\ | ||
if ( layout_cell in mapped ) {\ | ||
print "*ERROR:", layout_cell, "mapped to", mapped[layout_cell], "and", netlist_cell;\ | ||
} else {\ | ||
mapped[layout_cell] = netlist_cell;\ | ||
}\ | ||
} else if ( /^[-0-9]/ ) {\ | ||
signal[layout_cell, $2] = $4;\ | ||
}\ | ||
next;\ | ||
}\ | ||
/^\.ENDS/ {\ | ||
cell = "";\ | ||
next;\ | ||
}\ | ||
/^\.SUBCKT/ {\ | ||
cell = $2;\ | ||
}\ | ||
$1 !~ /^D/ || $4 !~ /^K/ {\ | ||
if ( $1 !~ /^R/ || $4 != "RES" ) {\ | ||
# skip everything except parasitic diodes and RES\ | ||
next;\ | ||
}\ | ||
}\ | ||
cell != "" {\ | ||
if ( cell in mapped ) {\ | ||
for ( field = 2; field <= 3; field++ ) {\ | ||
if ( (cell, $field) in signal ) {\ | ||
$field = signal[cell, $field];\ | ||
} else {\ | ||
print "*ERROR:", cell, "missing", $field;\ | ||
$field = "cvc-" $field;\ | ||
}\ | ||
}\ | ||
} else {\ | ||
print "*ERROR:", cell, "not mapped";\ | ||
}\ | ||
$1 = $1 "-cvc";\ | ||
print mapped[cell], $0;\ | ||
next;\ | ||
}' $nxf - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters