Altera_Forum
Honored Contributor
9 years agooutput timing setup
Hi everybody,
I'm designing a system based on the Cyclone IVE fpga and I'm a bit confused in setting up output timing constraints. The FPGA system is generating data on a port Pout, that is clocked with a 50MHz clock (CLKfpga ; 20s period). Such data is read off chip by a device DEVoc, still clocked at 50MHz (CLKoc), that has Tsu of 2.5ns (from data sheet). In order to be sure to meet the timing requirements, CLKfpga and CLKoc are 180° phase shifted, that means that data on port Pout have a time window of 7.5ns from the rising edge of CLKfpga to become stable before to be latched by CLKoc. With this in mind I set: set_max_delay -from [get_clocks CLKfpga] -to [get_ports Pout] 7.5 and indeed I meet the timing requirements. My questions now are: 1. Should I also use the set_output_delay command to add further timing requirements? 2. How are set_max_delay and set_output_delay timing specifications related? 3. Should I specify a timing requirement for CLKoc? thanks to anybody who will help me to understand these points. Gian Nicola