samarth jain
06/11/2025, 5:13 PMDavid
06/11/2025, 5:41 PMsamarth jain
06/11/2025, 6:08 PMDavid
06/11/2025, 6:13 PMMitch Bailey
06/11/2025, 9:04 PMuser_project_wrapper
block into the caravel framework locally, run make ship
.
Be aware that in order to set the device id, you’ll first need to
export USER_ID=<the 8 hex characters for the user id>
make set_user_id
and to set up the gpio defaults, after configuring verilog/rtl/user_defines.v
, you’ll need to
make gpio_defaults
samarth jain
06/12/2025, 2:08 PMsamarth jain
06/12/2025, 2:09 PMMitch Bailey
06/12/2025, 10:34 PMDefault
checks that you are not submitting the default design. Some people in the past, created a unique user_proj_example
block, but did not integrate that into the final user_project_wrapper
. If you are attempting to submit the default design, you can ignore this error.
The Documentation
check was required for the open mpw shuttles sponsored by Google. It checks that the README.md
does not match over 70% of the default. Again, you can ignore this for private shuttles.samarth jain
06/13/2025, 10:50 AMMitch Bailey
06/13/2025, 2:57 PMulimit -n
. If it’s 1024, try bumping to 2048.Anubhav Mukherjee
06/16/2025, 10:45 AMMitch Bailey
06/16/2025, 12:40 PMuser_project_wrapper
cell from the layout that looks correct and compare that to the origin of the Cadence user_project_wrapper
cell?Anubhav Mukherjee
06/16/2025, 3:23 PMCell sky130_fd_pr__cap_mim_m3_2_W5U4AW read from path primitives
Cell sky130_fd_pr__cap_mim_m3_1_WRT4AW read from path primitives
Cell sky130_fd_sc_hvl__decap_8 read from path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hvl/mag
Cell sky130_fd_sc_hvl__decap_4 read from path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hvl/mag
Cell sky130_fd_sc_hvl__diode_2 read from path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hvl/mag
Error message output from magic:
Cell RAM128 couldn't be read
Warning: Parent cell lists instance of "EF_fill_4_8" at bad file path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hd/mag/EF_fill_4_8.mag.
The cell exists in the search paths at EF_fill_4_8.mag.
The discovered version will be used.
/home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.tech/magic/sky130A.tech: line 6087: section (none):
Unrecognized layer (type) name "res0p69"
ERROR: Magic exited with status -11
Done!
Mitch Bailey
06/16/2025, 9:51 PMciel ls
or volare ls
Anubhav Mukherjee
06/17/2025, 4:44 AMvboxuser@Ubuntu-rv5-tci-BMServer:~/Documents/GitHub/samj-user-project$ volare ls
In /home/vboxuser/.volare/volare/sky130/versions:
âââ 78b7bc32ddb4b6f14f76883c2e2dc5b5de9d1cbc (2023.07.10) (enabled)
Mitch Bailey
06/17/2025, 8:35 AMvolare ls-remote
to list the available versions and the volare enable <newer_commit>
to activate one of the more recent versions.Anubhav Mukherjee
06/17/2025, 8:46 AMCell sky130_fd_sc_hvl__decap_4 read from path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hvl/mag
Cell sky130_fd_sc_hvl__diode_2 read from path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hvl/mag
Error message output from magic:
Cell RAM128 couldn't be read
Warning: Parent cell lists instance of "EF_fill_4_8" at bad file path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hd/mag/EF_fill_4_8.mag.
The cell exists in the search paths at EF_fill_4_8.mag.
The discovered version will be used.
/home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.tech/magic/sky130A.tech: line 6087: section (none):
Unrecognized layer (type) name "res0p69"
ERROR: Magic exited with status -11
Done!
Still facing the same issue. Loaded the latest pre release and stable versions and tried.
tried versions: 0fe599b2afb6708d281543108caf8310912f54af & f2e289da6753f26157a308c492cf990fdcd4932dMitch Bailey
06/17/2025, 11:10 AMmake ship
appears here
/home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.tech/magic/sky130A.tech: line 6087: section (none):
while your volare installation appears to be here
In /home/vboxuser/.volare/volare/sky130/versions:
Are these the same file?
You can try looking at the caravel/Makefile
to see if there’s place to override the OPEN_PDK_COMMIT
Anubhav Mukherjee
06/17/2025, 11:48 AMvboxuser@Ubuntu-rv5-tci-BMServer:~/Documents/GitHub/samj-user-project$ volare enable 0fe599b2afb6708d281543108caf8310912f54af
Version 0fe599b2afb6708d281543108caf8310912f54af enabled for the sky130 PDK.
vboxuser@Ubuntu-rv5-tci-BMServer:~/Documents/GitHub/samj-user-project$ volare ls
In /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/volare/sky130/versions:
------ 0fe599b2afb6708d281543108caf8310912f54af (2024.08.17) (enabled)
------6d4d11780c40b20ee63cc98e645307a9bf2b2ab8 (2024.02.11)
------ 78b7bc32ddb4b6f14f76883c2e2dc5b5de9d1cbc (2023.07.10)
But unfortunately, still having the same issue...
Cell sky130_fd_sc_hvl__decap_4 read from path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hvl/mag
Cell sky130_fd_sc_hvl__diode_2 read from path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hvl/mag
Error message output from magic:
Cell RAM128 couldn't be read
Warning: Parent cell lists instance of "EF_fill_4_8" at bad file path /home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.ref/sky130_fd_sc_hd/mag/EF_fill_4_8.mag.
The cell exists in the search paths at EF_fill_4_8.mag.
The discovered version will be used.
/home/vboxuser/Documents/GitHub/samj-user-project/dependencies/pdks/sky130A/libs.tech/magic/sky130A.tech: line 6185: section (none):
Unrecognized layer (type) name "res0p69"
ERROR: Magic exited with status -11
Done!
#mv /home/vboxuser/Documents/GitHub/samj-user-project/caravel/mag/caravel_C0CA4A7F.mag ./mag/
make[2]: Leaving directory '/home/vboxuser/Documents/GitHub/samj-user-project'
Final build completed.
make[1]: Leaving directory '/home/vboxuser/Documents/GitHub/samj-user-project'
So, I thought, lemme see what is that line 6185 in the tech file and there are only 6184 lines (6184 is blank) in the file... I am so confused....😢
#-----------------------------------------------------------------
# No special plot layers defined (use default PNM color choices)
#-----------------------------------------------------------------
plot
style pnm
default
draw fillblock no_color_at_all
draw obsactive no_color_at_all
draw obsm1 no_color_at_all
draw obsm2 no_color_at_all
draw obsm3 no_color_at_all
draw obsm4 no_color_at_all
draw obsm5 no_color_at_all
draw fomfill no_color_at_all
draw polyfill no_color_at_all
draw m1fill no_color_at_all
draw m2fill no_color_at_all
draw m3fill no_color_at_all
draw m4fill no_color_at_all
draw m5fill no_color_at_all
draw isosub no_color_at_all
draw nwell cwell
end
Does the "res0p69" layer need to be defined here?
Edit:
Found out that its a ReRAM cell from the layout team and not part of PDK. Is there a way to ignore it and move forward?Mitch Bailey
06/17/2025, 1:25 PMres0p69
defined. That was an old layer used to define resistors of width 0.69um. The magic program was changed to extract devices based on width without the recognition layer. The mag file may be part of an older repo besides the pdk. Check the commit id (and date) for the caravel repo, etc.Mitch Bailey
06/17/2025, 1:26 PMres0p69
layer from the ReRAM cell.samarth jain
06/17/2025, 7:06 PMMitch Bailey
06/17/2025, 9:18 PMcaravel/Makefile
?Anubhav Mukherjee
06/17/2025, 9:24 PMAnubhav Mukherjee
06/17/2025, 9:25 PMMitch Bailey
06/17/2025, 9:35 PMmagic -dnull -noc --version
Anubhav Mukherjee
06/17/2025, 9:40 PMMitch Bailey
06/17/2025, 11:40 PMCARAVEL_ROOT
and MCW_ROOT
directories exist and that PDK_ROOT
and PDK
are set.
#! /usr/bin/env bash
export UPRJ_ROOT=$PWD
export CARAVEL_ROOT=$PWD/caravel
export MCW_ROOT=$PWD/mgmt_core_wrapper
cat >$UPRJ_ROOT/mag/mag2gds_caravel.tcl <<-EOF
random seed `$CARAVEL_ROOT/scripts/set_user_id.py -report`;
drc off;
crashbackups stop;
addpath hexdigits;
addpath $MCW_ROOT/mag;
addpath $UPRJ_ROOT/mag;
load user_project_wrapper;
property LEFview true;
property GDS_FILE $UPRJ_ROOT/gds/user_project_wrapper.gds;
property GDS_START 0;
load $UPRJ_ROOT/mag/user_id_programming;
load $UPRJ_ROOT/mag/user_id_textblock;
load $CARAVEL_ROOT/maglef/simple_por;
load $UPRJ_ROOT/mag/caravel_core -dereference;
load caravel -dereference;
select top cell;
expand;
cif *hier write disable;
cif *array write disable;
gds write $UPRJ_ROOT/gds/caravel.gds;
quit -noprompt;
EOF
cd $CARAVEL_ROOT/mag && PDKPATH=$PDK_ROOT/$PDK MAGTYPE=mag magic -noc -dnull -rcfile ./.magicrc $UPRJ_ROOT/mag/mag2gds_caravel.tcl
Tim Edwards
06/18/2025, 2:03 AMMitch Bailey
06/18/2025, 4:37 AMmake ship
would not produce gds given the above error messages?