cmake 3.9 (minimum version)
To build the VTR flow with the Yosys front-end you may use the VTR Makefile wrapper, by calling the
make CMAKE_PARAMS="-DWITH_YOSYS=ON" command in the $VTR_ROOT directory.
The compile flag
-DWITH_YOSYS=ON should be passed to the CMake parameters to enable Yosys compilation process.
Yosys uses Makefile as its build system. Since CMake provides portable, cross-platform build systems with many useful features, we provide a CMake wrapper to successfully embeds the Yosys library into the VTR flow.
To run the VTR flow with the Yosys front-end, you would need to run the run_vtr_flow.py script with the start stage specified as Yosys.
./run_vtr_flow `PATH_TO_VERILOG_FILE.v` `PATH_TO_ARCH_FILE.xml` -start yosys