Forum Discussion
Altera_Forum
Honored Contributor
9 years agoqsys-edit use in a script
I want to create a script that processes a qsys file without any windows being opened or interaction with qsys tool.
I thought perhaps a command line (in Linux) of qsys-edit myqsysfile.qsys --require-generation Would run the processing to completion without interacting withthe window. But it pops a window up after opening the qsys file and requires that I click generate in the first window and again in the second. How does one scripts this sort of thing to avoid having interaction and windows popping up?? Thanks, Dan..3 Replies
- Altera_Forum
Honored Contributor
Good question.
Note that Quartus automatically creates these if they don't exist. So, for example, if you're archiving off your design and just save the .qsys file, the outputs will get created during generation and you don't have to run a command like this beforehand. (I don't know what you're doing, and can appreciate the straightforwardness of manually doing it, but just throwing that out there...) - Altera_Forum
Honored Contributor
I have a qsys file. I want to script the equivalent of the following:
1. start quartus 2. select qsys from the tools pull down 3. open the .qsys file (that already exists) 4. generate HDL 5. quit I have several sys files that this must be done to. I am creating the OpenCL Board Support Package and do not want any manual steps. So I hoped there was a simple scripting solution. I see there is a qsys-script command, but I cannot figure out the TCL commands to do what I describe above. Dan.. - Altera_Forum
Honored Contributor
With "qsys-script" you are able to modify the qsys system without using gui.
I guess this is what you want: "qsys-generate --synthesis=VERILOG file.qsys" to generate hdl from .qsys script based.