Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The given scripts contain errors #4

Open
armleo opened this issue Aug 31, 2021 · 0 comments
Open

The given scripts contain errors #4

armleo opened this issue Aug 31, 2021 · 0 comments

Comments

@armleo
Copy link

armleo commented Aug 31, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant