diff --git a/.github/workflows/ldo_sky130hvl.yml b/.github/workflows/ldo_sky130hvl.yml index e85fa888c..3843528a5 100644 --- a/.github/workflows/ldo_sky130hvl.yml +++ b/.github/workflows/ldo_sky130hvl.yml @@ -13,6 +13,9 @@ on: jobs: sky130hd_ldoGen: + strategy: + matrix: + arrSize: ['', 50, 100, 150] runs-on: ubuntu-latest steps: - name: Remove unnecessary files @@ -28,6 +31,7 @@ jobs: - name: Test sky130hvl LDO env: IMAGE_NAME: msaligane/openfasoc:stable + arrSize: ${{ matrix.arrSize }} run: | cd $GITHUB_WORKSPACE touch file.log @@ -39,7 +43,7 @@ jobs: cp ./.github/scripts/parse_rpt.py ./openfasoc/generators/ldo-gen/. &&\ pip3 install -r requirements.txt &&\ cd ./openfasoc/generators/ldo-gen &&\ - make sky130hvl_ldo &&\ + arrSize=$arrSize make sky130hvl_ldo &&\ python3 parse_rpt.py sky130hvl_ldo " && exit_code=$? | tee -a file.log if [ $? -ne 0 ]; then exit 1; fi diff --git a/openfasoc/generators/ldo-gen/Makefile b/openfasoc/generators/ldo-gen/Makefile index db221bab6..e7f741881 100644 --- a/openfasoc/generators/ldo-gen/Makefile +++ b/openfasoc/generators/ldo-gen/Makefile @@ -18,6 +18,9 @@ endif ifdef pex UserSpec += --pex $(pex) endif +ifdef arrSize +UserSpec += --arr_size_in $(arrSize) +endif help:banner @@echo "OpenFASOC is focused on open source automated analog generation"