Altera_Forum
Honored Contributor
10 years agoI/O Timing constraints when clock is internally generated
Hi.
I have a state machine that drives output pins, and also has incoming signals from input pins. The state machine is clocked by the output of a PLL, and the same clock also drives a clock output pin. This is for connection to an external chip, (an ethernet PHY), that also has the I/O signals connected. Both sides are fully synchronous. (The PLL output is 50MHz). I know the Clk-to-Out of the PHY, and its input setup requirements. I now need to apply Clk-to-Out constraints, and input setup constraints, for the Cyclone, with reference to the Clock output pin. (not the internal PLL output). How do I do this? I get 'nothing to report' in Timequest, for anything relating to that pin when I try to report the timing in 'Custom Reports'. The set_input_delay and set_output_delay constraints have been ignored, but no waring or error is generated during the flow. I thought perhaps Timequest is not recognising that the state machine is related to the clock output pin, because it is defined as an output. So I changed it to an INOUT, and feed back into the chip and connect the state machine to that instead of the PLL output. Still nothing. If I temporarily change the clock output pin to be INPUT, its OK, I can see input setup and Clk-to-Out information in timequest..... but of course I actually need my internal 50MHz to be the clock source. I would have thought that this should be an easy thing to do - two fully synchronous interfaces connected to each other, a Cyclone and a PHY, and the PHY side is already defined. I need a clock pin to tx output delay of 2ns to 9ns, and a rx input setup to clock pin of 3nS to 9ns max. ... I'm new to the Altera world, crossing over from Xilinx, so more familiar with UCF constraints.... Quartus II, 14.1 64-bit. Cyclone V 5CSEBA6U2317