This repository contains a make file for easy compile and install of Yosys. Yosys is a framework for Verilog RTL synthesis.
This make file can build the Yosys tool on the following systems:
- Linux
- Windows
- MSYS2/mingw64
git clone https://github.com/embed-dsp/ed_yosys.git
# Enter the ed_yosys directory.
cd ed_yosys
# If this is the first time Yosys is built, then clone the Yosys git repository.
make clone
# Otherwise just pull the latest updates from the Yosys git repository.
make pull
# Edit the Makefile for selecting the Yosys version.
vim Makefile
PACKAGE_VERSION = main
# Checkout specific version and rebuild configure.
make prepare
# Configure source code.
make configure
# Compile source code using 8 simultaneous jobs (Default).
make compile
# Install build products.
sudo make install
The Yosys package does NOT install correctly according to the GNU Coding Standards. The build products are therefore installed in the following locations in order to allow separate installation for different architectures:
/opt/
└── yosys/
└── linux_x86_64/ # 64-bit binaries and libraries for Linux
└── yosys-main/
├── bin/
│ ├── yosys
│ ...
└── share/ # ...
├── yosys/
...
# Install build products.
make install
The Yosys package does NOT install correctly according to the GNU Coding Standards. The build products are therefore installed in the following locations in order to allow separate installation for different architectures:
/c/opt/
└── yosys/
└── mingw64_x86_64/ # 64-bit binaries and libraries for Windows
└── yosys-main/
├── bin/
│ ├── yosys
│ ...
└── share/ # ...
├── yosys/
...