Emilio Baungarten
09/11/2023, 10:39 PMMitch Bailey
09/12/2023, 1:02 AMexport CARAVEL_LITE=0
2. make install
Should CARAVEL_ROOT
.
The 2 steps before make ship
are
1. env USER_ID=00000000 make set_user_id
where 00000000
is an 8 digit hexadecimal number. This will program the internal id and also set the metal lettering on the final chip. If you want to test reading the id, I suggest a number other than 00000000
.
2. make gpio_defaults
this will use the information in verilog/rtl/user_defines.v
to set the power up configuration for each gpio.
If these complete, then you can run make ship
. (This is for the digital version. Use make truck
for the analog version).
You may want to run make compress
after that because the previous steps uncompressed several large files.Emilio Baungarten
09/12/2023, 4:26 AMMitch Bailey
09/12/2023, 4:46 AMCaravel_HLS
a clone of caravel_user_project
?
What are PDK_ROOT
and PDK
set to?
Can you post the full output and not just the last screen?Emilio Baungarten
09/12/2023, 6:08 AMMitch Bailey
09/12/2023, 9:53 AMmake install
deletes the caravel directory, so your pdk got deleted also.
I recommend setting export PDK_ROOT=/media/baungarten/CentOS7/LASCAS_2024/Caravel_HLS/dependencies/pdks
and then make pdk-with-volare
Emilio Baungarten
09/12/2023, 6:17 PMFailure to read entire subtree of the cell.
I/O error in writing file /media/baungarten/CentOS7/LASCAS_2024/CAravel_HLS/gds/caravel.gds.
File may be incompletely written.
make[2]: Leaving directory '/media/baungarten/CentOS7/LASCAS_2024/CAravel_HLS'
Make ship completed.
The terminal shows:Emilio Baungarten
09/12/2023, 6:21 PM$ git clone <https://github.com/efabless/caravel_user_project.git> CAravel_HLS
cd CAravel_HLS/
$ export CARAVEL_LITE=0
$ export PDK=sky130A
$ make setup
$ make install
$ env USER_ID=0000000F make set_user_id
$ export PDK_ROOT=/media/baungarten/CentOS7/LASCAS_2024/Caravel_HLS
$ make pdk-with-volare
$ make gpio_defaults
$ make ship
Mitch Bailey
09/12/2023, 11:35 PMPDK_ROOT
before anything. This may get deleted, give it it’s own directory.
$ git clone <https://github.com/efabless/caravel_user_project.git> Caravel_HLS
$ export PDK_ROOT=$PWD/Caravel_HLS/dependencies/pdks
$ export PDK=sky130A
$ export CARAVEL_LITE=0
$ cd Caravel_HLS/
$ make setup
$ env USER_ID=0000000F make set_user_id
$ make gpio_defaults
$ ulimit -n 2024
$ make ship
Note that is will create a caravel chip based on default data. Is your design data available anywhere?Emilio Baungarten
09/13/2023, 5:02 PMMitch Bailey
09/13/2023, 5:09 PMgit clone -b mpw-9e <https://github.com/efabless/caravel_user_project.git> Caravel_HLS
Emilio Baungarten
09/13/2023, 6:13 PMEmilio Baungarten
09/13/2023, 6:14 PMMitch Bailey
09/13/2023, 9:59 PMTerminal_output
is missing the beginning of the output.
Is there a signoff/build/make_ship.out
file? Can you share it?Emilio Baungarten
09/13/2023, 10:02 PMEmilio Baungarten
09/13/2023, 10:03 PMMitch Bailey
09/13/2023, 11:11 PMmagic
Error: Magic version 8.3.411 is required by this techfile, but this version of magic is 8.3.348.
Can you list the contents of Caravel_HLS/mag
? Maybe the standard cells have been mistakenly duplicated there.
Is CARAVEL_ROOT
set to anything? (echo $CARAVEL_ROOT
)Emilio Baungarten
09/13/2023, 11:42 PMMitch Bailey
09/13/2023, 11:46 PMcaravel/mag
?
let’s worry about updating magic later.Emilio Baungarten
09/13/2023, 11:48 PMMitch Bailey
09/14/2023, 12:02 AMwhich magic
to find where magic is installed. Do you have write permission on this directory?
If the file is /usr/local/bin/magic
and you have write permission, then the install directory below will be /usr/local
.
If you don’t have write permission the user $HOME/local
as the install directory.
git clone
cd magic
./configure --prefix=<install_directory>
make
make install
If you used $HOME/local
as your install directory, you’ll need to modify your PATH
.
export PATH=$HOME/local/bin:$PATH
Emilio Baungarten
09/14/2023, 12:21 AMmake ship
works, and now i will try with my design.
Thanks for your support and my apology for this large post.