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

The OTP (One Time Programming) primitive allows for the storage and retrieval of chip product information, which is stored in a factory area. This information can be read using the OTP primitive, with supported devices including various Gowin families such as GW2AN, GW5AT, GW5A, and GW5AST.

This device is not yet supported in Apicula

Ports

Port Size Direction
CLK 1 input
DOUT 1 output
READ 1 input
SHIFT 1 input

Parameters

Parameter Default Value
MODE 1 (0b01)

Verilog Instantiation

OTP #(
    .MODE(MODE)
) otp_inst (
    .CLK(CLK),
    .DOUT(DOUT),
    .READ(READ),
    .SHIFT(SHIFT)
);
Clone this wiki locally