Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

get_pins

NGord
New Contributor I
700 Views

I notice that derive_pll_clocks produces a souce name in my design of 
-source [get_pins {q_sys_inst|enet_pll|sd1|pll7|inclk[0]}].

However the node name "q_sys_inst|enet_pll|sd1|pll7|inclk[0]" doesnt get listed in any of the netlist viewers.
How am I supposed to use create_generated clocks on things which arent PLLs if I cant easily view the node name to be able to use get_pins?

Labels (1)
0 Kudos
1 Solution
NGord
New Contributor I
576 Views

I think if you use the Keep attribute within the source code then you can use the Verilog/VHDL netnames in the sdc file. Seems to work anyhow.

View solution in original post

0 Kudos
5 Replies
sstrell
Honored Contributor III
679 Views

derive_ commands make it easy to create SDC for internal nodes of IP that you don't ever need to reference.  For your own logic, just use the Name Finder accessed from any of the GUI dialog boxes you can use from the text editor to add SDC.  And you don't have to use derive_pll_clocks if you don't want to (though you should).  The -source could just as easily be the input clock pin to the PLL, easily found with the Name Finder..

0 Kudos
ShengN_Intel
Employee
643 Views

Hi,


Do you have any further concern or consideration on this thread?


Thanks,

Best Regards,

Sheng


0 Kudos
NGord
New Contributor I
630 Views

derive only works for PLLs
Name finder doesnt obviously indicate the source fro a clock which is generated out of a mux or logic.
Any other suggestions such as using the keep attribute in the RTL?

0 Kudos
sstrell
Honored Contributor III
617 Views

That's what the clocks report is for.  Identify what pins/ports the tool thinks are clocks and create clock constraints for them.  If it's a clock that you are generating yourself, then you should know what the source should be and include it in the create_generated_clock command.

For a simple example, if you create a divide-by-two clock with a register and a feedback inverter, the clock target is the Q output of the register and the source is the D input.

0 Kudos
NGord
New Contributor I
577 Views

I think if you use the Keep attribute within the source code then you can use the Verilog/VHDL netnames in the sdc file. Seems to work anyhow.

0 Kudos
Reply