16
ECP5 and ECP5-5G sysCLOCK
PLL/DLL Design and Usage Guide
DCCA Component Definition
The DCCA component can be instantiated in the source code of a design as defined in this section. Figure 14 and
Table 6 show the DCCA definitions.
Figure 14. DCCA Component Symbol
Table 6. DCCA Component Port Definition
DCCA Usage in VHDL
Component Instantiation
library lattice;
use lattice.components.all;
Component and Attribute Declaration
COMPONENT DCCA
PORT (CLKI :IN STD_LOGIC;
CE :IN STD_LOGIC;
CLKO :OUT STD_LOGIC);
END COMPONENT;
DCCA Instantiation
I1: DCCA
port map (
CLKI => CLKI
,CE => CE
,CLKO => CLKO);
DCCA Usage in Verilog
Component and Attribute Declaration
module DCCA(CLKI,CE,CLKO);
input CLKI;
input CE;
output CLKO;
endmodule
DCCA Instantiation
DCCA DCSInst0 (
.CLKI (CLKI)
,.CE (CE)
,.CLKO (CLKO));
Port Name
I/O
Description
CLKI
I
Clock Input port.
CE
I
Clock Enable port
—
CE = 0 CLKO is disabled (CLKO = ’0’)
—
CE = 1 CLKO is enabled (CLKO = CLKI)
CLKO
O
Clock Output Port
DCCA
CLKI
CE
CLKO