Skip to content
Pepijn de Vos edited this page Nov 17, 2024 · 3 revisions

The Gowin DDRDLL primitive generates different phase delay steps based on a given input clock for clock phase shift. It can be driven by either GCLK or HCLK, and its output STEP signal controls DQS and DLLDLY modules. The STEP signal can also be routed to user logic. Additionally, the STEP signal is used to drive DQS and DLLDLY modules, and it has 8 bits of output delay step.

This device is not yet supported in Apicula

Ports

Port Size Direction
CLKIN 1 input
LOCK 1 output
RESET 1 input
STEP 8 output
STOP 1 input
UPDNCNTL 1 input

Parameters

Parameter Default Value
CODESCAL 000
DIV_SEL 0 (0b0)
DLL_FORCE FALSE
SCAL_EN TRUE

Verilog Instantiation

DDRDLL #(
    .CODESCAL(CODESCAL),
    .DIV_SEL(DIV_SEL),
    .DLL_FORCE(DLL_FORCE),
    .SCAL_EN(SCAL_EN)
) ddrdll_inst (
    .CLKIN(CLKIN),
    .LOCK(LOCK),
    .RESET(RESET),
    .STEP(STEP),
    .STOP(STOP),
    .UPDNCNTL(UPDNCNTL)
);
Clone this wiki locally