<@U016EM8L91B> I am trying to update open_pdks and openlane . I deleted old version. Now cloned both...
d

Deepak

over 2 years ago
@Tim Edwards I am trying to update open_pdks and openlane . I deleted old version. Now cloned both from git .The open pdks seems not build properly, getting below error while installing openpdks Downloading and Extracting Packages Preparing transaction: done Executing transaction: done /home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/downloads/Miniconda3-latest-Linux-x86_64.sh: 438: [[: not found Installing * environment... /home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/downloads/Miniconda3-latest-Linux-x86_64.sh: 444: [[: not found CondaFileIOError: '/home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/conda/pkgs/envs/*/env.txt'. [Errno 2] No such file or directory: '/home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/conda/pkgs/envs/*/env.txt' make[2]: * [/home/deepakverma/tools/open_pdks/sources/sky130-pdk/third_party/make-env/conda.mk128 /home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/conda/bin/python] Error 1 make[2]: Leaving directory '/home/deepakverma/tools/open_pdks/sources/sky130-pdk' make[1]: * [Makefile608 pdk-repo] Error 2 make[1]: Leaving directory '/home/deepakverma/tools/open_pdks/sky130' make: * [Makefile132 tech-sky130] Error 2 I used commands :*sudo git clone https://github.com/RTimothyEdwards/open_pdks.git* 1. cd open_pdks 2. sudo ./configure --enable-sky130-pdk 3. sudo make 4. sudo make install But when i run openlane " make test" it shows below error [ERROR]: during executing: "python3 /openlane/scripts/mergeLib.py --output /openlane/designs/spm/runs/RUN_2022.12.30_18.32.29/tmp/synthesis/merged.lib --name sky130A_merged /usr/local/share/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib" [ERROR]: Exit code: 1 [ERROR]: Last 10 lines: rv = self.invoke(ctx) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/openlane/scripts/mergeLib.py", line 51, in mergeLib file_strings = [open(input_lib).read() for input_lib in input_libs] File "/openlane/scripts/mergeLib.py", line 51, in <listcomp> file_strings = [open(input_lib).read() for input_lib in input_libs] FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/share/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib'
I have done a comparison between `ngspice` and (serial) `Xyce` on a big design. Note: this test circ...
s

Stefan Schippers

about 3 years ago
I have done a comparison between
ngspice
and (serial)
Xyce
on a big design. Note: this test circuit does not use sky130 models, but uses a generic 180nm Cmos process at 1.5V. Design has only 1 LV pmos and 1 LV nmos, only two models, BSIM3 level=49. The example is in the standard (standalone) xschem test schematics,
..../share/xschem/xschem_library/rom8k/rom8k.sch
, it is a 16KByte Rom Macro cell. Part of the rom array is populated with actual transistors so some read cycles are simulated and data is read out. Circuit statistics:
***** Device Count Summary ...
       C level 1 (Capacitor)                   1035
       M level 9 (BSIM3)                      14287
       V level 1 (Independent Voltage Source)    22
       --------------------------------------------
       Total Devices                          15344
***** Setting up matrix structure...
***** Number of Unknowns = 6677
Xyce (serial) report:
***** Total Simulation Solvers Run Time: 977.709 seconds
***** Total Elapsed Run Time:            980.18 seconds
*****
***** End of Xyce(TM) Simulation
*****
Ngspice report:
Total elapsed time (seconds) = 771.449
So there is no much difference in execution time (at least no orders of magnitude). Simulation results are absolutely correct for both. I have set up the schematic such that it simulates unchanged both in ngspice and Xyce. @Steven Bos it would be nice if you can test this on your parallel
Xyce
installation. You need to run xschem as standalone (so not in a directory with sky130 xschemrc file), get the above models file and place it in the simulation directory as explained in the COMMANDS element of the schematic. Also you need to place the stimuli file from
.../share/doc/xschem/rom8k/stimuli.rom8k
into the simulation directory and follow instructions in the COMMANDS element. I have done some updates to xschem for better Xyce integration and more error checks (for example against corrupted or malformed .raw files) so please update if you want to try this test. CC (@Eric Keiter @Harald Pretl @Tim Edwards)
❤️ 1
👍 6