Forum Discussion
Constraint clocks of SPI interfa
- 2 years ago
Adding the pins of the Quad SPI IP did not work, but generating another clock like this and constraining the other QSPI ports wrt. this clock seems to work somehow
create_generated_clock -name {qclk_vclk} -source [get_pins {corepll_inst|altpll_component|auto_generated|pll1|clk[0]}] [get_ports {QSPI_CLK}]
Hi there, I see. In your SDC file:
create_generated_clock \
-name {qclk} [get_ports {QSPI_CLK}]\
-source [get_fanins {QSPI_CLK}] \
-divide_by 1 \
'get fanins' can't be applied here as it will return a collection with more than one objects which can't be the source.
BTW, set_instance_assignment also can't be used in SDC file which will be ignored, you may apply it in your QSF and try again or directly use the original name instead of 'pll_inst'.
- anonimcs2 years ago
Contributor
Hi,
Thanks for the response. What do you suggest instead of `get_fanins` ? I wanted to create a virtual clock here from the generated QSPI output clock so that I can use it in my constraints.