Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- So the clock you're using for the input constraint is the clock you're sending out. --- Quote End --- For gpios I use false_path, as timing is non relevant for buttons, switches, LEDs. Input/output contraints I applied only for sdram interface Yes, I use clock that goes out for input constraints (sdram data) and also for output constraints (all sdram signals - data/address/controls). This clock is derived from pll and its frequency is 150 MHz (3 times input external frequency). It's also -3.5ns shifted. There is also another PLL-derived clock that clocks SDRAM controller. It's frequency is also 150MHz, but as opposed to the first one, it isn't shifted. The SDRAM controller is responsible for generating all SDRAM interface signals - data, address, control signals. As I've already mentioned previously I'm not sure that it's the optimal solution, I've just picked it from reference design. So, let's resume:
- clock, used for input/output constraints is 150MHz, and has shift -3.5ns
- input/output signals are formed in SDRAM controller that is clocked by the 150MHz 0-shifted clock