hi all, How can I add VHDL files to Quartus II project using TCL or command line???
Thank you,
hi all, How can I add VHDL files to Quartus II project using TCL or command line???
Thank you,
I can't see anything in the TCL packages:
but look at your existing .qsf file - the command should be in there for files already in your project.
Quartus TCL reference if you haven't already seen it.
Theo
In Tcl: foreach file "file1.vhd file2.vhd file3.vhd" { set_global_assignment -name VHDL_FILE "$file" -library work }
From the command line you can make a script similar to this:
script.tcl: ... project_open your_project_name ... foreach file "$argv" { set_global_assignment -name VHDL_FILE "$file" -library work }
and do:
quartus_sh -t script.tcl file1.vhd file2.vhd file3.vdh
//Petter
Have something to add? Share your thoughts — no account required.
Ask the community — no account required