Hi Everyone, I'm trying to evaluate the test case...
# analog-design
a
Hi Everyone, I'm trying to evaluate the test cases of ngspice over an installation. Using
make installcheck
steps over all the tests doing nothing. Does it require a parameter? Where are instructions to perform the different test cases (paranoia, check.sh, etc)? I'm going to dig deeper on the repository, hoping someone would give me some clarity about this. @Tim Edwards @Stefan Schippers
Another thing, does I require to use
autogen.sh
or
configure
if I don't want to compile, just test?
m
@aquiles viza You’re talking about the ngspice
Makefile
, right?
make installcheck
looks like it just reruns all the install targets.
make check
may be what you want. If you are checking a ngspice installation that has been compiled and installed locally, I doubt that you’ll need to rerun the
configure
scripts. If it’s in docker or some other pre-compiled environment, I don’t know.
a
Yep, I want to test a compiled ngspice inside a docker container, because verifying when building the contianer might add unnecessary overhead. Mmm, Now I realize the overhead can be avoided with staged-builds, but the system still should be verified on it's final stage, or outside the building process
👍 1
a
@Mitch Bailey regarding june 3rd tapeout how are we supposed to do pre-check. As i currently have no idea how to do that.
m
Run LVS on the local precheck
Copy code
make precheck
make run-precheck
but skip LVS on the platform precheck.
a
How can i download precheck
m
make precheck
clones the repo. You should probably specify the newest version
Copy code
MPW_TAG=mpw-9i make precheck
make run-precheck
a
Actually i tried but i couldn’t get it error couldn’t find remote precheck
IMG_4501.jpg
m
Is this in a caravel_user_project_analog clone?
a
no i don't have that where can i get that, secondly is it needed for chipalooza (june 3rd challenge)?
m
Ok, you’re referring to a design for the chipaloosa tapeout and not a chipignite tapeout. precheck is part of the chipignite tapeout flow. This makefile, https://github.com/efabless/caravel_user_project/blob/main/Makefile, has
lvs-<blockname>
targets for all
lvs/<blockname>/lvs_config.json
file. It also has the
make precheck
target to install the local precheck. If you wanted to create a
lvs_config.json
file for your design, you could run
make lvs-<blockname>
to run LVS locally at any level you wanted to. You’ll need to setup the
lvs_config.json
file with your schematic and layout. You can find examples here. I suggest starting from
lvs_config.user_analog_project_wrapper.json
.
👍 1