https://open-source-silicon.dev logo
#efabless
Title
# efabless
m

Mauricio Montanares

11/25/2021, 1:00 PM
Hi to all. We run precheck locally and we pass everything clean (using tag mpw-3a), on the efabless platform also everything is clean except an error related to the caravel version. So, it's necessary to use another version of caravel to run the precheck on efabless ??
m

Matt Venn

11/25/2021, 1:02 PM
other people have been reporting this too
see just above
looks like you need mpw-3b caravel version
m

Mauricio Montanares

11/25/2021, 1:44 PM
oh okay! I will try that. Thanks!
k

Krzysztof Herman

11/25/2021, 2:02 PM
Hi @User, sorry for a trivial question, but what does it mean caravel mpw-3b version ? Does it mean that ie. when I run make user_proj_example it will use mpw-3b docker image ? Today I've cloned the caravel_user_project and the openlane/Makefile points to mpw-3a image.
m

Matt Venn

11/25/2021, 2:06 PM
tbh I don't know. I am guessing this is an issue because the efabless precheck on their server is now different to the precheck we can do locally. I never used the mpw-3b tag because it was broken almost immediately and then removed.
k

Krzysztof Herman

11/25/2021, 2:06 PM
nice...
m

Matt Venn

11/25/2021, 2:07 PM
just looking at caravel_user_project, it's still only got one mpw3 tag.
but when you do make install, it will install the head of the caravel_lite gitmodule
which I think is a bad idea because it means even if we're all on the same tag, we can end up in a differnt state depending on when you run make install
caravel-lite has 2 mpw3 tags, mpw-3 and mpw-3a
k

Krzysztof Herman

11/25/2021, 2:09 PM
seems You are right
m

Matt Venn

11/25/2021, 2:09 PM
I don't know how make install actually works
good trick with make is the -n switch which means do a dry run
image.png
so I don't see anywhere where it actually sets any version, so the default branch should always be used. So I don't really know why the caravel-lite repo has any tags
and the last commit on main was 15 days ago, so I don't know what's going on with these new errors. It might even be unrelated to everything apart from chip-ignite
k

Krzysztof Herman

11/25/2021, 2:14 PM
could be something related to prechecks
I do not know
Hi, Ahmed @User.So we were trying to arrange the issue with the caravel version and in fact we manually cloned the mpw-3b caravel into the caravel_user_project, however now we face some new problems with gds files like
Copy code
IDENTIFYING PROJECT TYPE FAILED
            A single valid GDS was not found.
we have tried booth gds and gds.gz options however the precheck fails anyway
o

omla

11/25/2021, 4:03 PM
@User can I ask what's the content of your
gds
directory located under the root of your project ?
k

Krzysztof Herman

11/25/2021, 4:04 PM
user_project_wrapper.gds and user_proj_example.gds
we have tried also user_project_wrapper.gds.gz and user_proj_example.gds.gz
o

omla

11/25/2021, 4:07 PM
and did you hit this error when running the precheck locally or on the platform ?
k

Krzysztof Herman

11/25/2021, 4:07 PM
on the platform
o

omla

11/25/2021, 4:12 PM
ok, is this your project github link ? https://github.com/HALxmont/SonarOnChipOK
k

Krzysztof Herman

11/25/2021, 4:14 PM
no, look it our minimal version which passes the precheck, we are trying to submit a newer version of the desing
m

Mauricio Montanares

11/25/2021, 4:14 PM
k

Krzysztof Herman

11/25/2021, 4:14 PM
@User will pass You the link
o

omla

11/25/2021, 4:17 PM
ok, let me check
k

Krzysztof Herman

11/25/2021, 4:18 PM
we have just ran a version where we left only the wrapper file, it failed also
o

omla

11/25/2021, 4:25 PM
I believe this is caused because of not installed
caravel
as a submodule, you seem to be just copying it by hand in there
k

Krzysztof Herman

11/25/2021, 4:26 PM
yes just git clone
o

omla

11/25/2021, 4:26 PM
caravel
needs to installed as a submodule
k

Krzysztof Herman

11/25/2021, 4:27 PM
end then we have updated the symbolic link of the pin_order.cfg what seems to be equivalent to the submodule installation
o

omla

11/25/2021, 4:28 PM
I am not following
k

Krzysztof Herman

11/25/2021, 4:28 PM
ok,and after the installation of the caravel we have to rerun our desing from 0 ?
o

omla

11/25/2021, 4:29 PM
to get over the issue with
identifying project type
you need to have
caravel
installed as a submodule and re-run the
mpw-precheck
k

Krzysztof Herman

11/25/2021, 4:30 PM
ok, so we do not have to generate our gds once again
o

omla

11/25/2021, 4:30 PM
no it should be fine
k

Krzysztof Herman

11/25/2021, 4:30 PM
ok that is cool
we will try it out
thank You!
o

omla

11/25/2021, 4:37 PM
np, glad I could help 🙏
k

Krzysztof Herman

11/25/2021, 4:37 PM
one last question
o

omla

11/25/2021, 4:38 PM
sure
k

Krzysztof Herman

11/25/2021, 4:39 PM
in the makefile of the caravel_user_project we should change the CARAVEL_LITE?= from 1 to 0
and CARAVEL_BRANCH := to mpw-3b
o

omla

11/25/2021, 4:41 PM
I don't believe you should, why do you need to do so ?
k

Krzysztof Herman

11/25/2021, 4:41 PM
just to me sure
whatabout the branch ?
in the makefile the default is main, should I change it to mpw-3b ?
o

omla

11/25/2021, 4:42 PM
also no, you shouldn't be changing anything in the
Makefile
k

Krzysztof Herman

11/25/2021, 4:42 PM
ok
I will update you how it goes
o

omla

11/25/2021, 4:43 PM
please do, thanks
k

Krzysztof Herman

11/25/2021, 4:43 PM
👍
m

Mauricio Montanares

11/25/2021, 4:45 PM
Installing caravel-lite as a submodule.. fatal: not a git repository (or any of the parent directories): .git make: * [Makefile80 install] Error 128
when we do make install we get the above error
k

Krzysztof Herman

11/25/2021, 4:46 PM
when we put CARAVEL_LITE?= 0 it works
o

omla

11/25/2021, 4:48 PM
I am unsure how to debug that issue, but I believe you might have changed something previously in your
Makefile
. I advise you on the side to just start with a fresh
caravel_user_project
and try to run
make install
if it is shows the same error, please let me know.
k

Krzysztof Herman

11/25/2021, 4:49 PM
we have just cloned a fres version of the caravel_user_project
solved, we have had exported CARAVEL_ROOT before and thatcauset the problem
o

omla

11/25/2021, 4:52 PM
that would be the reason for the
make
error
k

Krzysztof Herman

11/25/2021, 4:53 PM
I suppose, now we are ok
m

Mauricio Montanares

11/25/2021, 5:38 PM
@User we have a new error when launch the precheck on efabless
the error is
Copy code
[11/25/21 09:15:04 PST] PARSING LAYOUT FAILED
            The user_project_wrapper layout fails parsing because: Stream has unknown format: sscs_pico_chip_6/gds/user_project_wrapper.gds in Layout.read
o

omla

11/25/2021, 5:41 PM
I believe there seems to be something unusual about your
gds
@User can probably take a look and let you know what can be causing this issue.
k

Krzysztof Herman

11/25/2021, 5:43 PM
ok, however the GDS has passed the DRC and LVS checks during the regular flow of the openlane, Klayout is able to open it without issues so I suppose it is not corrupted
m

Mauricio Montanares

11/25/2021, 5:45 PM
Copy code
[11/24/21 14:12:34 PST] MANIFEST CHECKS FAILED
            Manifest checks failed. Caravel version does not match. Please rebase your Repository to the latest Caravel master.
k

Krzysztof Herman

11/25/2021, 5:45 PM
in fact yesterday we have submitted the design and the only error reported by the precheck was the above one
o

omla

11/25/2021, 6:32 PM
nothing changed on our end since then, I am confident the change was caused by an update you did
k

Krzysztof Herman

11/25/2021, 6:38 PM
yes the only change we did were to install the caravel submodule
then we manually have copied all the verilog sources, config files, gds, lef, def, mag files and signoff directory
any idea where we could have an error ?
m

Mauricio Montanares

11/25/2021, 6:49 PM
wait, now the precheck is running normal. We will update you how it goes