has anyone managed to duplicate what <@U016HSALFAN...
# caravel
m
has anyone managed to duplicate what @User showed in his video last night? I get errors with make in caravel/openlane. Any info on what branches all the repos need to be on?
t
Mmm, didn't try but I can give it a shot.
Mmm ... where should I type
make
? I thought this was running magic ?
m
caravel/openlane
I've tried on develop & master
and get segfaults in opendb
t
Mmm ... that ... uses Docker, so can't run that as-is.
I thought this was just using magic and not re-runnign anything of the openlane stuff.
I dont' want to regenerate the blocks ...
Video explicitely says you must not.
Ok yeah, relooking at the video the root
Makefile
is not the one in the repo ... he has stuff in there which are not pushed. So the integration step can't be done.
Trying to run the hardening of the
user_project_wrapper
using
./flow.tcl -design /home/tnt/sky130/caravel/openlane/caravel/
m
ok
t
`ERROR: Can't open include file
libs.ref/sky130_fd_io/verilog/sky130_fd_io.v'!
😕
Oh, nm you need to use the
interactive.tcl
provided.
Nope, same error.
I don't understand where / how it expects to find that include file 😕
Somewhere there should be something telling yosys to look there but I don't see anything.
p
I tried to go to the openlane directory and run "make gpio_control_block" and that worked. For some of the other modules I got errors. I'll try to develop a better build-system with a build-report there now.
t
well in theory you shouldn' t (and actually must not) rebuild anything but the user_project_wrapper and the top level.
that's what the "aboard the caravel video explicitely says".
p
I fully agree, but both subprojects failed to build for me, so I wasnt sure whether I had an environmental problem, or real problems in those 2 subprojects.
Since I also had troubles in building other subprojects I was searching for one subproject that actually works to make sure that openlane and open_pdks works properly.
t
but I can't get past the synthesis step of the
openlane/caravel
(which is apparently the one you're supposed to build) 😕
p
So gpio_control_block is a subproject that builds for me that anyone can use to test whether the toolchain works
t
@Matt Venn do you get through synthesis ?
p
At first you have to build the user_proj_example, then perhaps the user_project_wrapper, and then the caravel. caravel depends on user_proj_example and on user_project_wrapper.
t
🤷‍♂️
I don't get how this can run through synthesis.
It includes files which are obviously sim only and there is nothign to exclude them dring synthesis and there are nothing to create blackbox equivalent.
m
@tnt yes I get through synthesis
t
😕
How does that happen ..
m
fails on opendb
t
Can you post the yosys log ?
Or the full run ...
m
give me a mminute
t
Because if I don't see how it's even supposed to work, I can't fix it here 😞
m
t
Ah you're running the DFF ram not the caravel.
m
Im just running make inside caravel/openlane
that's what it starts doing
t
I'm guessing that Makefile is also incomplete / broken because there is no reason for it to do that.
video explicitely says you shouldn't regenerate the blocks so doesn't make sense for the Makefile to do that.
@Matt Venn Ah !
in the video he types
make user_project_wrapper
!
not just
make
And that works fine for me.
m
ah!
a
The
make
that merges a user's project needs an updated
caravel/Makefile
that I have at https://github.com/ax3ghazy/caravel-1/tree/new_dimensions (should be merged into the mainstream caravel repo soon).
✔️ 2
🎉 1
👍 1
💯 1