Clocking Interface Blocks
- Clocks used in interfaces do not have to be used in the RTL.
- Clocks feeding the interfaces should not drive outputs in the RTL.
GPIO Clocking I/O Register
To use a GPIO to clock an I/O register:
- Instantiate a GPIO in input mode with connection type
gclk or rclk. Put the name
in , e.g.,
gpio_inst12. This name is the clock name. - Instantiate a GPIO in output mode with .
- In , enter the clock name from step 1
(
gpio_inst12).
If this clock is not used in your RTL design, you do not have to include it. It's simply a clock from one interface block to another.
PLL Output Clocking I/O Register
To use a PLL output clock to clock an I/O register:
- Instantiate a PLL and define an output clock,
pll_out1. This name is the clock name. - Instantiate a GPIO in output mode with .
- In , enter the clock name from step 1
(
pll_out1).
If this clock is not used in your RTL design, you do not have to include it. It is simply a clock from one interface block to another.
Internal Clock Clocking I/O Register
To use an internally generated clock to clock an I/O register:
- You create an internally generated clock,
div_clock. This name is the clock name. - Instantiate a GPIO in output mode with .
- In , enter the clock name from step 1
(
div_clock).
You do not need to connect the internally generate clock to an output in the RTL. The Interface Designer connects to the clock network automatically.
PLL Output Driving a Pin
To use a PLL output clock to clock a pin:
- Instantiate a PLL and define an output clock,
pll_out1. This name is the clock name. - Instantiate a GPIO in clkout mode.
- In , enter the clock name from step 1
(
pll_out1).
If this clock is not used in your RTL design, you do not have to include it. It is simply a clock from one interface block to another.
You can use this output pin to connect to other components on your board.