Skip to content

Update make.yml

Update make.yml #51

Workflow file for this run

# Copyright (C) 2023, 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:
- boom_soc
- ispd16_example2
- koios_dla_like_large
- rosetta_fd
- vtr_mcml
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- run:
make setup-net_printer download-benchmarks
- name: Print static nets
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys GLOBAL_LOGIC0 GLOBAL_LOGIC1
- name: Print global nets (ispd16_example2)
if: matrix.benchmark == 'ispd16_example2'
run:
python3 net_printer/np.py ${{ matrix.benchmark }}_unrouted.phys clk_BUFGP_net_top_wire controlSig0 controlSig1