- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What I want to do is create command line scripts to perform a set of functions that I do using the quartus GUI.
I would like to capture the commands being executed through the GUI and use that information to create scripts so that I can automate the process that is currently performed manually via GUI. Yes.Yes I know I should be able to use the tcl and just write scripts... But I think that seeing what the GUI does via a command trace is a shortcut as well as a learning aid to being able to write scripts. Thanks in advance.. Dan..Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quartus does have a tcl console, but it doesnt echo the current commands unlike vivado.
You can see the commands being executed in the status window - they start "command: "- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, echoing should be added. It does so with the Assignment Editor, but not the other Quartus stuff.
When you run a compile, the commands get put into the .flow.rpt. That calls each module individually. A full compile that is just like pushing the compile button can be done in a single line: quartus_sh --flow compile <project_name> -c <qsf_name> (The -c <qsf_name> is only necessary if it's different then the qpf name) Another interesting resource for finding commands is typing: quartus_sh --qhelp This launches a GUI with all the commands and options, which is useful for exploring rather than typing help on various commands.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- But I think that seeing what the GUI does via a command trace is a shortcut as well as a learning aid to being able to write scripts. --- Quote End --- To determine the Tcl command without reading the documentation (to try and figure out what the command might be), I change a project setting using the GUI, and then I export the project to a Tcl script (Project->Generate Tcl file for Project). Once I know what the command is, then I might read the manual ... Cheers, Dave
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page