This repository provides a fully automated setup for Qflow, allowing users to:
β
Install all required tools & dependencies with a single script.
β
View pre-generated example layouts using Magic.
β
Run Qflow on custom Verilog designs to generate layouts.
The script ensures that Qflow, GrayWolf, Netgen, Magic, and other required tools are installed correctly, resolving common setup issues.
- For clean procedure, create a new folder and open it in terminal
- Clone this repo:
git clone https://github.com/Pratim-Senapati/qflow-projects.git cd qflow-projects
- Run setup script (installation and setup of required tools):
python3 install_and_run.py
- Verify Installation:
qflow -help magic -T scmos.tech
- Done! π You can now see example projects or use your own Verilog files.
To see one of the example files, go to examples/cordic/layout
. Then run
magic /home/user/qflow-projects/examples/cordic/layout/cordic.mag
This command can be run from anywhere(absolute path of cordic.mag
needs to be used). Replace user
with your user name.
And to use your own verilog code and run it through the whole process, go to the directory the code is in.
As example demo.v
is inside demo
. So go to /demo
and then run
qflow gui
This will open the Qflow GUI, as shown below
In right part of window technology should be selected
osu035
as it is given with Qflow as default. For verilog souce file select demo.v
.
At left part of window on the same row as Preparation
, click Run
.This will take you to the next step Synthesis
, as shown below
From here onwards, tick
Stop flow after ...
. That way you can see every step clearly. Hit Run
again.
After this step is done, you can go to
Edit Layout
to see the layout. As steps are completed, layout will be finalised.
If everything goes smoothly final window should look like this.
- Verilog Source Files (
examples/project/src/
) β Original design files - Synthesis Results (
examples/project/synthesis/
) β Converted to logic gates - Final Layout (
examples/project/layout/
) β Chip representation - Logs (
examples/project/log/
) β Step-by-step processing info
In This Repo:
- README.md β General repo guide
- qflow_overview.md β Explanation of tools used throughout the process
Go through the examples to see some of my complex designs based on 4-point FFT
and 2x2 Mesh Network-on-Chip
.
If run into any issues feel free to refer to http://opencircuitdesign.com/qflow/tutorial.html