Skip to content

updating yosys

updating yosys #96

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install iverilog
run: |
sudo apt-get update -y
sudo apt-get install iverilog -y
- name: Install yosys
run: |
sudo apt-get install build-essential clang bison flex \
libreadline-dev gawk tcl-dev libffi-dev git \
graphviz xdot pkg-config python3 libboost-system-dev \
libboost-python-dev libboost-filesystem-dev zlib1g-dev
git clone https://github.com/YosysHQ/yosys.git -b yosys-0.36 --depth 1
cd yosys
make
sudo make install
export PATH=/usr/local/bin:$PATH
- name: Install gcc
run: |
sudo apt install gcc
- name: synthesis
run: |
cd validation/
yosys-config --build cg_plugin.so clock_gating_plugin.cc
python3 synth_test.py
- name: validation
run: |
cd validation/
python3 validate.py