Skip to content
/ LEX Public

LEX - Spice Standard-cell Arcs Extractor (also extracts boolean expression, truth table, inputs, and outputs)

License

Notifications You must be signed in to change notification settings

rodrigowue/LEX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEX - SPICE STD-CELL ARCS EXTRACTOR

This tool is ment to extract arcs from Pull-Down (PDN) and Pull-up Networks (PUN) while analysing a node-graph representation.

To run:

make
./lex <spice file>

or

g++ main.cpp map.cpp transistor.cpp
./a.out <spice file>

By running the spice_files/nand3.sp example the tool outputs:

======================================
 SPICE STD-CELL TIMING ARCS EXTRACTOR
       [UNDER DEVELOPMENT]
======================================
Subcircuit:NAND3D0BWP
----------------------------------------
Inputs & Outputs

input:A
input:B
input:C
output:OUT
----------------------------------------
PUN Expressions:
OUT=(C*(A*B))

PDN Expressions:
OUT=(C*(A*B))
----------------------------------------
Expression After Flattening: 
!((C*(A*B)))*!((C*(A*B)))
----------------------------------------
TRUTH TABLE:
000|1
100|1
010|1
110|1
001|1
101|1
011|1
111|0
----------------------------------------
ARCS:
Number of literals: 3
1 1 F  | Rise
1 F 1  | Rise
F 1 1  | Rise
R 1 1  | Fall
1 R 1  | Fall
1 1 R  | Fall
----------------------------------------

A <*>.arcs file is generated as an output.

Paper

R. N. Wuerdig, V. H. Maciel, R. Reis and S. Bampi, "LEX - A Cell Switching Arcs Extractor: A Simple SPICE-Input Interface for Electrical Characterization," 2023 IEEE Computer Society Annual Symposium on VLSI (ISVLSI), Foz do Iguacu, Brazil, 2023, pp. 1-6, doi: 10.1109/ISVLSI59464.2023.10238671.

Future Work

This tool is currently feeding a characterization tool that is being developed under the following repo:

https://github.com/rodrigowue/DPAC

About

LEX - Spice Standard-cell Arcs Extractor (also extracts boolean expression, truth table, inputs, and outputs)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published