권용진학부생
10/09/2023, 8:22 AMMitch Bailey
10/09/2023, 11:26 AMSKY130_setup.tcl file. You might try using $PDK_ROOT/$PDK/libs.tech/netgen/$PDK_setup.tcl. Are they the same?권용진학부생
10/09/2023, 12:14 PMMitch Bailey
10/09/2023, 12:32 PM$./../../../../?
Can you open $./../../../../pdks/sky130A/libs.tech/netgen/sky130A_setup.tcl?
I’ve always had problems when PDK_ROOT was a relative path and not an absolute path.
Can you set PDK_ROOT to an absolute path, verify that you can open the file, run netgen and watch the messages.
After reading the netlists there should be a line like
Reading setup file $PDK_ROOT/$PDK/libs.tech/netgen/$PDK_setup.tcl
displayed on the screen.Tim Edwards
10/09/2023, 5:14 PM.include line in the schematic-captured netlist to match the location of my installed PDK.Tim Edwards
10/09/2023, 5:18 PM권용진학부생
10/10/2023, 5:49 AM$/foss/pdk/sky130A/libs.tech/netgen/sky130A_setup.tcl but
it doesn't work.
I thought the problem is wrong PDK_ROOT . I found new location use find . I did LVS using this location, but it has same error.권용진학부생
10/10/2023, 6:06 AM.include of .sch.spice file. and I try to LVS. but It doesn't work.
Addtionally, It has warning like It has Ignoring line starting with token . I attatch the file for your reference.
Furthermore, output changes each time. It is also attatched.
First time. Circuit 1 contains 50 devices. Second time, It has 40 devices. Finally, It has 38 devices.
I just repeat the command lvs "adc_vcm_generator.sch.spice adc_vcm_generator" "adc_vcm_generator.mag.lvs.spice adc_vcm_generator adc_vcm_generator" $/foss/pdks/sky130A/libs.tech/netgen/sky130A_setup.tcl
I try to change the path $/foss/pdks.volare/sky130/version/af3485535297d5cb393c129ea853da2d588fac41/sky130A/libs.tech/netgen/sky130A_setup/tcl It has same problem.
I have no idea how to fix this error. what should I do?Mitch Bailey
10/10/2023, 6:50 AM$ in the setup file name? $<variable> is used by the shell to expand variables. If you’re using the full path without variables, you don’t need the $.
Try
lvs "adc_vcm_generator.sch.spice adc_vcm_generator" "adc_vcm_generator.mag.lvs.spice adc_vcm_generator adc_vcm_generator" /foss/pdks/sky130A/libs.tech/netgen/sky130A_setup.tcl
If PDK_ROOT=/foss/pdks and PDK=sky130A this is the same as
lvs "adc_vcm_generator.sch.spice adc_vcm_generator" "adc_vcm_generator.mag.lvs.spice adc_vcm_generator adc_vcm_generator" $PDK_ROOT/$PDK/libs.tech/netgen/${PDK}_setup.tcl
(Sorry, in a previous instructions, I used $PDK_setup.tcl instead of ${PDK}_setup.tcl)
You can check your environment variables with
echo $PDK_ROOT
echo $PDK
and your setup file with
ls -l $PDK_ROOT/$PDK/libs.tech/netgen/${PDK}_setup.tcl권용진학부생
10/10/2023, 7:17 AMMitch Bailey
10/10/2023, 7:21 AM