[source]

Entity ddrio_inout

BITSClockOutstd_logicClockOutEnablestd_logicOutputEnablestd_logicDataOut_high[BITS - 1 downto 0]std_logic_vectorDataOut_low[BITS - 1 downto 0]std_logic_vectorClockInstd_logicClockInEnablestd_logicDataIn_highstd_logic_vector[BITS - 1 downto 0]DataIn_lowstd_logic_vector[BITS - 1 downto 0]Padstd_logic_vector[BITS - 1 downto 0]

Block Diagram of ddrio_inout

Instantiates chip-specific DDR input and output registers.

Both data DataOut_high/low as well as OutputEnable are sampled with the rising_edge(Clock) from the on-chip logic. DataOut_high is brought out with this rising edge. DataOut_low is brought out with the falling edge.

OutputEnable (Tri-State) is high-active. It is automatically inverted if necessary. Output is disabled after power-up.

Both data DataIn_high/low are synchronously outputted to the on-chip logic with the rising edge of Clock. DataIn_high is the value at the Pad sampled with the same rising edge. DataIn_low is the value sampled with the falling edge directly before this rising edge. Thus sampling starts with the falling edge of the clock as depicted in the following waveform.

../../_images/wavedrom1_of_ddrio_inout.svg

Pad must be connected to a PAD because FPGAs only have these registers in IOBs.

Generics

Name

Type

Default

Description

BITS

positive

Ports

Name

Type

Direction

Description

ClockOut

std_logic

in

ClockOutEnable

std_logic

in

OutputEnable

std_logic

in

DataOut_high

std_logic_vector

in

DataOut_low

std_logic_vector

in

ClockIn

std_logic

in

ClockInEnable

std_logic

in

DataIn_high

std_logic_vector

out

DataIn_low

std_logic_vector

out

Pad

std_logic_vector

inout