Altera_Forum
Honored Contributor
18 years agoTimeQuest constraints relative reference pin
I am beginner with TimeQuest.
There is a difficulty with describing constraints for SPI (Serial Peripheral Interface) accommodated in FPGA. SPI comprises three units for generating serial-data-output (sdout), serial-clock (spiclk) and serial-data-input (sdinp) signals. All units are clocked by the same system clock in FPGA. spiclk signal is derived from the system clock by dividing by four and enabling only during data transfers. The second external member of SPI channel has setup (4ns), hold (1ns) and clock to output (20ns) times relative its input serial clock – spiclk. I am not worry about the system clock to spiclk output delay. It would be to describe the SPI constraints relative spiclk directly like follow incorrect commands: set_output_delay -clock system_clock -reference_pin [get_ports spiclk] -max 4.000 [get_ports sdout] set_output_delay -clock system_clock -reference_pin [get_ports spiclk] -min -1.000 [get_ports sdout] set_input_delay -clock system_clock -reference_pin [get_ports spiclk] 20.000 [get_ports sdinp] What are correct commands?