Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17247 Discussions

Update Symbol from Quartus Command Line

Altera_Forum
Honored Contributor II
3,231 Views

We use schematics as our top level design. I'd like to be able to update all the symbols in the schematic as part of the compilation scripts. I scanned through the command line options (quartus_sh etc.) and didn't see anything to update the symbols, but I'm hoping I just missed it. 

 

Is there a way to update the symbols in a schematic automatically from the command line or a TCL script? 

 

Thanks, 

 

Stefan
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
2,051 Views

Not sure I follow why this is necessary. If you change a schematic, but it's ports are still the same, then the symbol doesn't have to be updated and schematic hierarchy above it has to be changed. The only time the schematic has to be changed is if the port list has changed(adding/removing ports), and whenever this occurs that almost always means I need to modify that schematic level anyway(why add a port and not hook it up.) I guess I'm saying is I've done schematic entry and never needed this to be automated, as there are always manual steps that need to be taken when it's done. Am I missing something?

0 Kudos
Altera_Forum
Honored Contributor II
2,051 Views

Two main reasons (we have a bunch of blocks that are common to multiple designs). 

 

1. We'd like to change some signal names in a block and would like to avoid having to manually update each top level. 

 

2. As an additional error check when signals are added. We found that Quartus will happily compile if you fail to update the symbol and we want to be able to flag an error for unconnected inputs if a design was not updated.
0 Kudos
Altera_Forum
Honored Contributor II
2,051 Views

 

--- Quote Start ---  

Two main reasons (we have a bunch of blocks that are common to multiple designs). 

 

1. We'd like to change some signal names in a block and would like to avoid having to manually update each top level. 

 

2. As an additional error check when signals are added. We found that Quartus will happily compile if you fail to update the symbol and we want to be able to flag an error for unconnected inputs if a design was not updated. 

--- Quote End ---  

 

 

Hi Stefan, 

 

changing a name in a block means that you have to change the underlying design also. Without doing that Quartus compile will stop with an error message. 

 

Kind regards 

 

GPk
0 Kudos
Altera_Forum
Honored Contributor II
2,051 Views

Obviously you have to change the underlying code, but that is done once. Since these blocks are used in dozens of designs, you then have to manually open every single design and update the block. It's this time consuming step that I'm trying to avoid by using a script.

0 Kudos
Altera_Forum
Honored Contributor II
2,051 Views

 

--- Quote Start ---  

Obviously you have to change the underlying code, but that is done once. Since these blocks are used in dozens of designs, you then have to manually open every single design and update the block. It's this time consuming step that I'm trying to avoid by using a script. 

--- Quote End ---  

 

 

Hi , 

 

as far as I know there is no way to change the symbols by a script in a schematic, but you can generate a verilog or vhdl file out of your schematics. This files could be changed by a script. Maybe this would help. 

 

Kind regards 

 

GPK
0 Kudos
Reply