Skip to content

Merge branch 'master' into 2nd-cufr #222

Merge branch 'master' into 2nd-cufr

Merge branch 'master' into 2nd-cufr #222

Workflow file for this run

# Copyright (C) 2023-2024, Advanced Micro Devices, Inc. All rights reserved.
#
# Author: Eddie Hung, AMD
#
# SPDX-License-Identifier: MIT
#
name: net_printer
on:
push:
pull_request:
jobs:
print_static_globals:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
benchmark:
- logicnets_jscl
- boom_med_pb
- vtr_mcml
- rosetta_fd
- corundum_25g
- finn_radioml
- vtr_lu64peeng
- corescore_500
- corescore_500_pb
- mlcad_d181_lefttwo3rds
- koios_dla_like_large
- boom_soc
- ispd16_example2
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: actions/setup-python@v5
with:
python-version: '3.12'
check-latest: true
cache: 'pip'
- run:
make setup-net_printer download-benchmarks
- name: Print GND net
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys GLOBAL_LOGIC0 | tee gnd.physnet
- name: Print GND stubs
run: |
sed -n -e '/Stub: 0/,$p' gnd.physnet
- name: Print VCC net
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys GLOBAL_LOGIC1 | tee vcc.physnet
- name: Print VCC stubs
run: |
sed -n -e '/Stub: 0/,$p' vcc.physnet
- name: Print global nets (boom_med_pb)
if: matrix.benchmark == 'boom_med_pb'
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys clock_uncore_clock_IBUF_BUFG system/prci_ctrl_domain/resetSynchronizer/x1_member_allClocks_uncore_reset_catcher/io_sync_reset_chain/output_chain/sync_0_reg_0
- name: Print largest global net (corundum_25g)
if: matrix.benchmark == 'corundum_25g'
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys pcie4_uscale_plus_inst/inst/pcie4_uscale_plus_0_gt_top_i/diablo_gt.diablo_gt_phy_wrapper/phy_clk_i/CLK_USERCLK
- name: Print global nets (corescore_500/corescore_500_pb)
if: matrix.benchmark == 'corescore_500' || matrix.benchmark == 'corescore_500_pb'
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys clk_BUFG clock_gen/rst_BUFG
- name: Print global nets (mlcad_d181_lefttwo3rds/ispd16_example2)
if: matrix.benchmark == 'mlcad_d181_lefttwo3rds' || matrix.benchmark == 'ispd16_example2'
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys clk_BUFGP_net_top_wire controlSig0 controlSig1