Closed chiplet closed 1 year ago
Seems like use ngspice
is missing from sourceme.csh
in thesdk_template.
'use' is Aalto specific, but I think it can be added as there is a check if 'use' exists, and if it does it will run the use scripts. otherwise it will just prínt a reminder to add the software to path. Current releas cndidate branch is 1.9_RC.
I think this can be closed. We could write the tests for availability of the software as part of the simulator packages.
I just cloned a fresh thesdk_template v1.8 and the inverter simulation fails with the following output:
Click to expand
``` $ ./configure && make Generating Makefile cd /home/pro/a-core/vhirvone/sydekick-playground/Entities/inverter/inverter && \ python3 __init__.py Home of TheSDK is /home/pro/a-core/vhirvone/sydekick-playground Config file of TheSDK is /home/pro/a-core/vhirvone/sydekick-playground/TheSDK.config Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/ads_template to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/inverter to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/ads to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/thesdk_helpers to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/register_template to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/inverter_testbench to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/rtl to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/inverter_tests to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/myentity to system path Adding /home/pro/a-core/vhirvone/sydekick-playground/Entities/spice to system path Setting default logfile /tmp/TheSDK_tmpaj69282i_vhirvone_202208101109.log GLOBALS[LSFSUBMISSION]='bsub -K' GLOBALS[LSFINTERACTIVE]='bsub -I' 11:09:17 [INFO] verilog_module: Initialized logging in /tmp/TheSDK_tmpaj69282i_vhirvone_202208101109.log 11:09:17 [INFO] verilog_module: /home/pro/a-core/vhirvone/sydekick-playground/Entities/inverter/sv/inverter.sv 11:09:17 [INFO] inverter: Initializing inverter 11:09:17 [INFO] inverter: Initializing inverter 11:09:17 [INFO] inverter: Creating ./simulations/ngspice/20220810110917_tmpg9nntf42 11:09:17 [WARNING] testbench: Global TheSDK variable ELDOLIBFILE not set. 11:09:17 [INFO] inverter: Enabling multithreading 'set num_threads=2'. 11:09:17 [INFO] inverter: Running external command bsub -K -o ./simulations/ngspice/20220810110917_tmpg9nntf42/bsublog.txt ngspice -b ./simulations/ngspice/20220810110917_tmpg9nntf42/tb_inverter.ngcir Job <163463> is submitted to default queue