Last active
December 28, 2021 17:05
-
-
Save aflaag/fe9c597fc8b3b89092cac1c35f7d7078 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p $1 | |
mv $1.sv $1 | |
cd $1 | |
echo "read -sv $1.sv | |
hierarchy -top $1 | |
proc; opt; techmap; opt | |
write_json $1.js" > $1.ys | |
yosys $1.ys $1 | |
netlistsvg $1.js -o $1.svg | |
ristretto $1.svg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment