Derek Hines-Mohrman
03/25/2022, 5:16 PMMitch Bailey
03/25/2022, 7:37 PMmake ship
for caravel or make truck
for caravan.
Taped out chips are at <https://foss-eda-tools.googlesource.com/third_party/shuttle/>
Derek Hines-Mohrman
03/25/2022, 9:12 PMmake truck
, in the caravel repo, the script just says Failure to read entire subtree of the cell.
And then caravan.gds is not written. I can't find any indication which cell is causing the problem.
Before running, I manually replaced the original mag/user_analog_project_wrapper.mag with my own. Is that how I am supposed to insert my design?Nguyen Dao
03/25/2022, 9:35 PMTim Edwards
03/26/2022, 2:26 AMFailure to read entire subtree. . .
comes from magic, on a "def write" command, when there are cells in the layout that it cannot find. That could be due to references inside of analog_user_project_wrapper.mag
. make ship
is supposed to be done in the user project directory, with caravel
as a subdirectory. It should pick up the user project wrapper from its existing location in the user project repository; you should not need to move it.Derek Hines-Mohrman
03/27/2022, 4:34 PMmake install CARAVEL_LITE=0
to install caravel.
3. run make truck
to build analog project.
I tried, but it just writes an apparently empty gds file at gds/caravan.gds
Derek Hines-Mohrman
04/02/2022, 8:16 PMtruck
target in the Caravel Makefile. Seems like some of the file paths were wrong. I am not sure in what context they would be correct.Derek Hines-Mohrman
04/02/2022, 8:17 PMDerek Hines-Mohrman
04/02/2022, 8:19 PMexport CARAVEL_ROOT=`pwd`/caravel
export MCW_ROOT=`pwd`/caravel/mgmt_core_wrapper
make install CARAVEL_LITE=0
make install_mcw
# (apply the hack to __truck target in ./caravel/Makefile)
make truck
# Success!
Tim Edwards
04/02/2022, 9:14 PMDerek Hines-Mohrman
04/02/2022, 10:13 PMmake set_user_id
and make gpio_defaults
and then everything worked without edits.
Maybe those targets should be dependences for ship and truck.Tim Edwards
04/03/2022, 1:05 AMDerek Hines-Mohrman
04/03/2022, 7:36 PM