Skip to content

x32_sampleHold

Pau Gómez edited this page Nov 28, 2021 · 2 revisions

Description

SAMPLE and HOLD. In sampling mode (hold=0), the input port is continuously sampled and forwarded to the output port. In hold mode (hold=1) the sampling stops and the output stays at the last sampled value.

Ports

Name Direction Width Comment
in Rx 32 bit
hold Rx 1 bit SAMPLE IF hold==0
HOLD IF hold==0
out Tx 32 bit

Pipeline latency (clk @ 125 MHz)

2 clk cycles.

VHDL

x32_sampleHold.vhd

Clone this wiki locally