-
Notifications
You must be signed in to change notification settings - Fork 79
DQS
Pepijn de Vos edited this page Nov 17, 2024
·
3 revisions
The Gowin DQS (Data Strobe) primitive is a bi-directional data strobe circuit for DDR memory interface, primarily used to adjust the phase relationship between DQSIN and DQSR90, DQSW0, and DQSW270. This adjustment enables write leveling and read calibration in memory control IP. The primitive takes inputs from DLLSTEP (delay step control), FCLK (fast clock), HOLD, PCLK (primary clock), and RDIR (read delay direction), and produces the DQS output.
This device is not yet supported in Apicula
| Port | Size | Direction |
|---|---|---|
| DLLSTEP | 8 | input |
| DQSIN | 1 | input |
| DQSR90 | 1 | output |
| DQSW0 | 1 | output |
| DQSW270 | 1 | output |
| FCLK | 1 | input |
| HOLD | 1 | input |
| PCLK | 1 | input |
| RBURST | 1 | output |
| RCLKSEL | 3 | input |
| RDIR | 1 | input |
| READ | 4 | input |
| RESET | 1 | input |
| RFLAG | 1 | output |
| RLOADN | 1 | input |
| RMOVE | 1 | input |
| RPOINT | 3 | output |
| RVALID | 1 | output |
| WDIR | 1 | input |
| WFLAG | 1 | output |
| WLOADN | 1 | input |
| WMOVE | 1 | input |
| WPOINT | 3 | output |
| WSTEP | 8 | input |
| Parameter | Default Value |
|---|---|
| DQS_MODE | X1 |
| FIFO_MODE_SEL | 0 (0b0) |
| HWL | false |
| RD_PNTR | 0 (0b000) |
DQS #(
.DQS_MODE(DQS_MODE),
.FIFO_MODE_SEL(FIFO_MODE_SEL),
.HWL(HWL),
.RD_PNTR(RD_PNTR)
) dqs_inst (
.DLLSTEP(DLLSTEP),
.DQSIN(DQSIN),
.DQSR90(DQSR90),
.DQSW0(DQSW0),
.DQSW270(DQSW270),
.FCLK(FCLK),
.HOLD(HOLD),
.PCLK(PCLK),
.RBURST(RBURST),
.RCLKSEL(RCLKSEL),
.RDIR(RDIR),
.READ(READ),
.RESET(RESET),
.RFLAG(RFLAG),
.RLOADN(RLOADN),
.RMOVE(RMOVE),
.RPOINT(RPOINT),
.RVALID(RVALID),
.WDIR(WDIR),
.WFLAG(WFLAG),
.WLOADN(WLOADN),
.WMOVE(WMOVE),
.WPOINT(WPOINT),
.WSTEP(WSTEP)
);