Forum Discussion
10 Replies
- FvM
Super Contributor
Hello,
a simple example. You have a synchronizer register in a VHDL entity and want a set_false_path statement added for each instance in the design automatically. As SDC uses hierarchical object names, the entity name must be unique.
ARCHITECTURE rtl OF ce_sync IS SIGNAL ce_toggle : STD_LOGIC := '0'; attribute altera_attribute : string; attribute altera_attribute of rtl : architecture is "-name SDC_STATEMENT ""set_false_path -from [get_registers *ce_sync:*|ce_toggle]""";Multiple SDC statements can be placed in the attribute statement by string concatenation.
Regards
Frank
- amildm
Contributor
Could the same be done for Verilog as well? What's the syntax?
- FvM
Super Contributor
Guess you should follow the instructions in Quartus manual "Apply altera_attribute to an Entity". Example:
(* altera_attribute = "-name AUTO_SHIFT_REGISTER_RECOGNITION OFF" *) module my_entity(…) ;- amildm
Contributor
should I add it BEFORE the module declaration, not INSIDE of the module?
- FvM
Super Contributor
There's different syntax for Verilog-1995 and Verilog-2001/SystemVerilog. The latter places the attribute before the module declaration. Please review the user manual.
- FvM
Super Contributor
- FvM
Super Contributor
Correction: Still available at intel.com, but new link https://www.intel.com/content/www/us/en/support/programmable/articles/000078356.html?wapkw=How%20do%20I%20embed%20timing%20constraints%20in%20my%20HDL%20file
- amildm
Contributor
I would suppose that the scope of the altera_attribute is the hierarchy/module where it appears, it cannot go through hierarchies ....
- Nurina
Regular Contributor
Hello,
Yes that is correct. I believe it's because the altera_attribute option is added to the project by Quartus during synthesis, meaning that it's added the same time the hierarchy is formed and compiled.
Do you have anymore questions?
Regards,
Nurina
- Nurina
Regular Contributor
Hello,
We do not receive any response from you on the previous reply provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution, give Kudos and rate 10/10 survey
Regards,
Nurina