sgherbst / sky130-hello-world Goto Github PK
View Code? Open in Web Editor NEWMinimal SKY130 example with self-checking LVS, DRC, and PEX
License: Apache License 2.0
Minimal SKY130 example with self-checking LVS, DRC, and PEX
License: Apache License 2.0
Hello my friend,
I try to install open-pdk at ubuntu 20 but i have a problem.
i can not add Sky130 tech files to Magic.
Output of terminal is:
asedali@ubuntu:~/Desktop/open_pdks$ ./configure --with-sky130-source=
realpath ../skywater-pdk --with-sky130-local-path=
realpath ../PDKS`
configure: WARNING: unrecognized options: --with-sky130-source
checking for a Python interpreter with version >= 3.4... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.8
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib/python3.8/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.8/site-packages
checking python3 module: distutils... yes
configure: Found technology directories: sky130
Checking technology sky130...
configure: Found tools: klayout magic netgen irsim openlane qflow xschem
checking for magic... /usr/local/bin/magic
checking for patch... /usr/bin/patch
configure: Package 'sky130_sram_macros' will be installed automatically during make.
configure: Package 'sky130_ml_xx_hd' will be installed automatically during make.
configure: Package 'xschem_sky130' will be installed automatically during make.
configure: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem
configure: creating ./config.status
config.status: creating ../sky130/Makefile
config.status: creating ../Makefile
configure: WARNING: unrecognized options: --with-sky130-source
Build configured successfully
asedali@ubuntu:/Desktop/open_pdks$ make/Desktop/open_pdks$ sudo make install
No techs configured.
asedali@ubuntu:
[sudo] password for asedali:
mkdir -p /usr/share/pdk/bin/
cp common/cleanup_unref.py /usr/share/pdk/bin/
cp common/soc_floorplanner.py /usr/share/pdk/bin/
common/preproc.py -DPREFIX=/usr/share common/create_project.py
/usr/share/pdk/bin/create_project.py
No techs configured.
`
DRC script does not output anything. I used following instead
set design_name my_nand
set cell_name my_nand
gds read $design_name.GDS
load $design_name
select top cell
drc euclidean on
drc style drc(full)
drc catchup
magic::drc_save_report $cell_name $design_name.drc.rpt
For LVS I used (note: subcircuit was replaced with subcircuits):
set design_name my_nand
set cell_name my_nand
gds read $design_name.GDS
load $design_name
select top cell
extract all
ext2spice lvs
ext2spice subcircuit off
ext2spice -o $design_name.lvs.spice
However last step causes this error: Error: Ran out of space for device types!
For PEX I used:
ext2spice lvs
ext2spice cthresh 0
ext2spice rthresh 0
ext2spice subcircuit on
ext2spice -f ngspice -o $design_name.pex.spice
The thresh is supposed to be integers, so I set it to zero
Also the last step was changed because when using command from readme.md it just compained that ngspice.GDS and pex_output_file.GDS do not exist. Instead I used refmanual to just write one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.