mpw_precheck icon indicating copy to clipboard operation
mpw_precheck copied to clipboard

use hdl containers

Open proppy opened this issue 3 years ago • 1 comments

Changes

  • use containers images from https://hdl.github.io/containers/
  • copy klayout (0.28), magic (8.3.348) and verilog (12.0) binaries from pkg images variant
  • install dependencies
  • add ci workflows to publish images to https://docs.github.com/en/packages
  • add gf180mcu caravel
  • should workaround https://github.com/KLayout/klayout/issues/1189 because it includes https://github.com/KLayout/klayout/pull/1193
  • should fix #172 and allow us to run precheck in GitHub actions again.

Package

https://github.com/proppy/mpw_precheck/pkgs/container/mpw_precheck

Test

You can test it by running the following command before running make run-precheck in caravel_user_project:

docker pull ghcr.io/proppy/mpw_precheck:main
docker tag ghcr.io/proppy/mpw_precheck:main efabless/mpw_precheck:latest

When testing it on the default user_proj_example I get:

{{FAILURE}} 2 Check(s) Failed: ['GPIO-Defines', 'XOR'] !!!

which I think are expected errors (since the default template is unmodified).

/cc @umarcor (hdl/containers maintainer) to check if this is idiomatic usage.

proppy avatar Dec 03 '22 19:12 proppy

Hi I just tested that change with my project and the memory usage is greatly reduce. From the original verion my project uses 45 GB of ram and with the changes is only arround 6 GB Project link: https://github.com/jaquerinte/space_shuttle_gf_node

Original Precheck: image

With the chanages image

jaquerinte avatar Dec 04 '22 05:12 jaquerinte