Anton Dyudin
11/28/2020, 11:37 PMfyr@fyr-mbp:~/c/open_mpw_precheck|main:zap:?
➤ docker run -it -v (pwd):/usr/local/bin \
-u (id -u $USER):(id -g $USER) \
open_mpw_prechecker:latest
bash-4.1$ ls
LICENSE README.md base_checks consistency_checks dependencies drc_checks miniflip open_mpw_prechecker.py tech-files utils
bash-4.1$ ls miniflip/
LICENSE Makefile README.md checks def doc gds info.yaml lef macros mag openlane scripts spi verilog
bash-4.1$ make -C miniflip uncompress
def/DFFRAM.def.gz -> def/DFFRAM.def
def/mgmt_core.def.gz -> def/mgmt_core.def
gds/DFFRAM.gds.gz -> gds/DFFRAM.gds
gds/caravel.gds.gz -> gds/caravel.gds
gds/chip_io.gds.gz -> gds/chip_io.gds
gds/mgmt_core.gds.gz -> gds/mgmt_core.gds
gds/sram_1rw1r_32_256_8_sky130_lp1.gds.gz -> gds/sram_1rw1r_32_256_8_sky130_lp1.gds
gds/storage.gds.gz -> gds/storage.gds
mag/DFFRAM.mag.gz -> mag/DFFRAM.mag
mag/caravel.mag.gz -> mag/caravel.mag
<<…>>
spi/lvs/DFFRAM.spice.gz -> spi/lvs/DFFRAM.spice
spi/lvs/mgmt_core.spice.gz -> spi/lvs/mgmt_core.spice
spi/lvs/user_project_wrapper.spice.gz -> spi/lvs/user_project_wrapper.spice
verilog/gl/mgmt_core.v.gz -> verilog/gl/mgmt_core.v
verilog/gl/user_project_wrapper.v.gz -> verilog/gl/user_project_wrapper.v
All files are uncompressed!
bash-4.1$ python3 open_mpw_prechecker.py -t miniflip
{{PROGRESS}} Uncompressing the gds files
{{PROGRESS}} Executing Step 1 of 4: Checking License files.
{{PROGRESS}} No third party libraries found.
Step 1 done without fatal errors.
FILE (miniflip/README.md) UD ERROR: 'ascii' codec can't decode byte 0xe2 in position 394: ordinal not in range(128)
FILE (miniflip/doc/caravel_datasheet.pdf) UD ERROR: 'ascii' codec can't decode byte 0xc7 in position 10: ordinal not in range(128)
<<…>>
FILE (miniflip/qflow/ring_osc2x13/tech) ERROR: [Errno 2] No such file or directory: 'miniflip/qflow/ring_osc2x13/tech'
FILE (miniflip/verilog/dv/README.md) UD ERROR: 'ascii' codec can't decode byte 0xe2 in position 244: ordinal not in range(128)
{{PROGRESS}} Executing Step 2 of 4: Checking YAML description.
{{PROGRESS}} YAML file valid!
Step 2 done without fatal errors.
{{PROGRESS}} Executing Step 3 of 4: Executing Fuzzy Consistency Checks.
{{PROGRESS}} Documentation Checks Passed.
{{PROGRESS}} Makefile Checks Passed.
{{PROGRESS}} Basic Hierarchy Checks Passed.
{{PROGRESS}} Running Magic Extractions From GDS...
{{WARNING}} Consistency Checks Failed+ Reason: GDS Checks Failed: Either you didn't mount the docker, or you ran out of RAM. Otherwise, magic is broken.
{{PROGRESS}} Executing Step 4 of 4: Checking DRC Violations.
{{PROGRESS}} Running DRC Checks...
{{FAIL}} DRC Checks on GDS-II Failed, Reason: Either you didn't mount the docker, or you ran out of RAM. Otherwise, magic is broken and it segfaulted.
TEST FAILED AT STEP 4
Full log could be found at miniflip/checks/full_log.log
{{PROGRESS}} Compressing the gds files
bash-4.1$