Forum Discussion
22.1 pro: set_instance_assignment not accepting wildcard?
- 4 years ago
Actually, you don't have to do a full compilation, just Analysis & Elaboration.
But as mentioned, when you edit the .qsf manually and the design has not been compiled yet, when you use the wildcard, Quartus does not know about that object yet.
If you were to use the GUI instead, you always have to perform at least Analysis & Elaboration first so signals and objects appear in the Pin Planner or the Assignment Editor. It's the same situation here.
Thanks sstrell for clarification!
Since the issue addressed had been resolved. I'll now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts.
- alexislms4 years ago
Contributor
@ShengN_Intel Sorry, I have one more question:
I want to keep Quartus away from my files. I still don't understand why HW vendors think it's a good idea to let the tool modifying the user's files.
I don't want to have anything I can store somewhere else in the .qsf. The pin locations with its constraints is a good example.
I come from Xilinx and Vivado accepts a tcl file containing pin assignments and constraints. I try that with Quartus, the set_location_assignment aren't detected...
Please tell me the way I can keep a single tcl/sdc file containing all the pins and their constraints in a single file that will never be modified by Quartus and loaded when I open the project.
- sstrell4 years ago
Super Contributor
You have to source the separate file from the .qsf:
source io_assignments.tcl
- ShengN_altera4 years ago
Super Contributor
Hi @alexislms ,
Sure. You can have the pins in external tcl files. Check out this:
There are a few methods for this:
1. Go to View -> Tcl Console then entering individual Tcl commands in the Tcl Console, or creating a .tcl script and typing source <my_tcl_script>.tcl
2. Go to Tools -> Tcl Scripts then plugging in the .tcl script.
3. Using command line quartus_sh -t <my_tcl_script>.tcl
4. Set global assignment in .qsf file like this set_global_assignment -name POST_FLOW_SCRIPT_FILE "quartus_sh:<tcl_file_name>.tcl" then compile the project.
** Can also go to Project -> Generate Tcl File for Project.
Best Regards,
Sheng
p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.