update readme

This commit is contained in:
Harry 2023-07-19 05:41:49 +00:00 committed by Zihao Yu
parent 9393a9ffdc
commit 41c37e6df9
1 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,9 @@
usage
# yosys-nangate45-gcd
## usage
```shell
#
# docker run --rm -it ubuntu:20.04
# build && install yosys
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends 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 ca-certificates gcc iverilog
cd yosys
@ -9,5 +11,5 @@ make
sudo make install
cd ..
# run yosys
bash ./synth.sh | tee ./result/gcd.log
bash ./synth.sh | tee -ia ./result/gcd.log
```