Altera_Forum
Honored Contributor
14 years agoDefining I/O delay constraints (Timequest)
I'm currently writing timing constraints for my design and, since it's the first time for me with such a big project, I'm having some problems at doing it. I'm using Timequest Timing Analyzer and I've already taken a look to the Rysc user guide on alterawiki (which I found anyway a really helpful first step). My questions are the following:
_In the TimeQuest User Guide, p. 19, with reference to the previously discussed commands: "set_output_delay -clock dac_clk_ext -max 0.0 [get_ports DAC_DATA[5]] set_output_delay -clock dac_clk_ext -min 0.0 [get_ports DAC_DATA[5]]" it is said: "With both -max and -min at 0, we are stating that there are no external delays, and basically have no affect on the analysis." In my understanding, I would expect these commands to already say that those ports are synchronous to dac_clk_ext clock, so default setup and hold relationships should be applied as the sink registers were into the FPGA. I suppose I'm wrong, but where? _I've got a source synchronous output interface (to the LTM by Terasic): it is a RGB interface and I generate the 33.2 MHz clock I need from the 50 MHz on board clock through a PLL. This clock signal is sent to the sink, controlling the timing of the other interface signals. I should put this clock signal in the -clock field of the I/O delay assignments, although it is not virtual as in Rysc example, right? My clock signal is in reality generated through a NOT gate from the PLL output: I should use the command create_generated_clock for describing it, right? _My design has a module controlling the I/O interface with on-board SRAM, which works as a frame-buffer. I'm currently writing to SRAM at 50 MHz (which is my Qsys clock frequency) and reading from SRAM at 33.2 MHz (which is my LCD clock frequency). So I've got my address output which works alternatively at 50 MHz and 33.2 MHz, depending on the current state of a FSM into the module. How can I constrain this output? Thank you in advance for any help you will give me. Regards, Lorenzo