Tim Edwards
01/12/2021, 7:04 PM<_path_to_sky130A_>/libs.ref/sky130_fd_pr/mag/
? When you attempt to instantiate the BJT, does it say Cell sky130_fd_pr__pnp_05v5_W3p40L3p40 couldn't be read
?Tom
01/13/2021, 5:51 PM% path
Search path for cells is ". /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_pr /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_io /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_sc_hd /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_sc_hdll /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_sc_hs /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_sc_hvl /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_sc_lp /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_sc_ls /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_sc_ms /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_osu_sc /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_osu_sc_t18 /media/tom/Storage/Linux/repos/sky130pdk/sky130A/libs.ref/mag/sky130_ml_xx_hd"
Cell library search path is "/usr/local/lib/magic/sys/current /usr/local/lib/magic/tutorial"
System search path is ". /usr/local/lib/magic/sys /usr/local/lib/magic/sys/current"
Scaled magic input cell sky130_fd_pr__pnp_05v5_W3p40L3p40 geometry by factor of 2
Loading DRC CIF style.
select cell: sky130_fd_pr__pnp_05v5_W3p40L3p40_0
%
The generated device is empty as before but the correct location seems to be included in the path variable. Here is an ls
on that location:
tom@tom-workstation:~$ ls repos/sky130pdk/sky130A/libs.ref/mag/sky130_fd_pr/
sky130_fd_pr__cap_vpp_04p4x04p6_m1m2_lishield.mag
sky130_fd_pr__cap_vpp_08p6x07p8_m1m2_lishield.mag
sky130_fd_pr__cap_vpp_11p5x11p7_m1m2m3m4_shieldl1m5.mag
sky130_fd_pr__cap_vpp_11p5x11p7_m1m2_noshield.mag
sky130_fd_pr__pnp_05v5_W3p40L3p40.mag
sky130_fd_pr__rf_npn_05v5_W1p00L1p00.mag
sky130_fd_pr__rf_npn_05v5_W1p00L2p00.mag
sky130_fd_pr__rf_test_coil1.mag
sky130_fd_pr__rf_test_coil2.mag
sky130_fd_pr__rf_test_coil3.mag
tom@tom-workstation:~$
One difference is that I have gone for the default non-efabless folder structure. I noticed that you have sky130_fd_pr/mag
whereas I have mag/sky130_fd_pr
.Tom
01/13/2021, 5:55 PMmag/fd_pr
contains empty devices but fd_pr/mag
contains sensible devicesTom
01/13/2021, 5:59 PMmagic -d OGL -rcfile $PDK_ROOT/sky130A/libs.tech/magic/sky130A.magicrc
and that file rc file looks like it was updated when I did the install:
-rwxrwxrwx 1 tom tom 2773 Jan 11 10:18 /home/tom/repos/sky130pdk/sky130A/libs.tech/magic/sky130A.magicrc*
Tom
01/13/2021, 6:01 PMTim Edwards
01/13/2021, 6:10 PMTom
01/13/2021, 6:39 PMTim Edwards
01/13/2021, 7:09 PMTom
01/14/2021, 12:12 AMLinen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by