Open ZohairZaidi opened 1 month ago
Parmys is a Yosys plugin and the parmys folder in the VTR repo is supposed be a subtree of this repo, check here.
One possible way is to run
./run_vtr_flow `PATH_TO_VERILOG_FILE.v` `PATH_TO_ARCH_FILE.xml` -start parmys -end parmys
which generates the blif output and skips the abc and vpr passes, but still runs through the vtr flow.
If you don't want to use the vtr flow script you should follow the steps here to build as a plugin directly.
Don't forget to set VTR_INSTALL_DIR to the path that you installed VTR, as parmys depends on vtr binaries.
After the build process is complete for VTR, Yosys, and Parmys you can use the commands listed here to start working with the partial mapper plugin directly in yosys. At this point you can run any yosys commands, e.g. write_blif to export to a blif file. Please refer to the yosys documentation to see other available commands.
PS: check this tcl script for the list of yosys/parmys commands being used by the vtr flow.
i completely missed this earlier thank you @poname.
hi @poname, I am trying to update the VTR quick start guide to use parmys (replacing ODIN II). I am trying to find the equivalent commands to generate the blif file by running parmys outside of the full vtr flow and was wondering if you can guide me a little.