SURF  1.0
RTL Architecture Reference

Processes

PROCESS_182  ( STABLE_CLOCK )
PROCESS_183  ( STABLE_CLOCK , gtrxreset_i )
retries_recclk_monitor  ( STABLE_CLOCK )
timeouts  ( STABLE_CLOCK )
mmcm_lock_wait  ( STABLE_CLOCK )
PROCESS_184  ( STABLE_CLOCK )
PROCESS_185  ( STABLE_CLOCK )
PROCESS_186  ( STABLE_CLOCK )
timeout_buffer_bypass  ( RXUSERCLK )
reset_fsm  ( STABLE_CLOCK )

Constants

MMCM_LOCK_CNT_MAX  integer := 1024
STARTUP_DELAY  integer := 500
WAIT_CYCLES  integer := STARTUP_DELAY / STABLE_CLOCK_PERIOD
WAIT_MAX  integer := WAIT_CYCLES + 10
WAIT_TIMEOUT_2ms  integer := 3000000 / STABLE_CLOCK_PERIOD
WAIT_TLOCK_MAX  integer := 100000 / STABLE_CLOCK_PERIOD
WAIT_TIMEOUT_500us  integer := 500000 / STABLE_CLOCK_PERIOD
WAIT_TIMEOUT_1us  integer := 1000 / STABLE_CLOCK_PERIOD
WAIT_TIMEOUT_100us  integer := 100000 / STABLE_CLOCK_PERIOD
WAIT_TIME_ADAPT  integer := ( 37000000 / integer ( 3 . 125 ) ) / STABLE_CLOCK_PERIOD
MAX_RETRIES  integer := 2 ** RETRY_COUNTER_BITWIDTH - 1
MAX_WAIT_BYPASS  integer := 5000

Types

rx_rst_fsm_type ( INIT , ASSERT_ALL_RESETS , RELEASE_PLL_RESET , VERIFY_RECCLK_STABLE , RELEASE_MMCM_RESET , WAIT_RESET_DONE , DO_PHASE_ALIGNMENT , MONITOR_DATA_VALID , FSM_DONE )

Signals

rx_state  rx_rst_fsm_type := INIT
soft_reset_sync  std_logic
soft_reset_rise  std_logic
soft_reset_fall  std_logic
init_wait_count  integer range 0 to WAIT_MAX := 0
init_wait_done  std_logic := ' 0 '
pll_reset_asserted  std_logic := ' 0 '
rx_fsm_reset_done_int  std_logic := ' 0 '
rx_fsm_reset_done_int_s2  std_logic := ' 0 '
rx_fsm_reset_done_int_s3  std_logic := ' 0 '
rxresetdone_s2  std_logic := ' 0 '
rxresetdone_s3  std_logic := ' 0 '
retry_counter_int  integer range 0 to MAX_RETRIES := 0
time_out_counter  integer range 0 to WAIT_TIMEOUT_2ms := 0
recclk_mon_restart_count  integer range 0 to 3 := 0
recclk_mon_count_reset  std_logic := ' 0 '
reset_time_out  std_logic := ' 0 '
time_out_2ms  std_logic := ' 0 '
time_tlock_max  std_logic := ' 0 '
time_out_500us  std_logic := ' 0 '
time_out_1us  std_logic := ' 0 '
time_out_100us  std_logic := ' 0 '
check_tlock_max  std_logic := ' 0 '
mmcm_lock_count  integer range 0 to MMCM_LOCK_CNT_MAX - 1 := 0
mmcm_lock_int  std_logic := ' 0 '
mmcm_lock_i  std_logic := ' 0 '
mmcm_lock_reclocked  std_logic := ' 0 '
gtrxreset_i  std_logic := ' 0 '
mmcm_reset_i  std_logic := ' 1 '
rxpmaresetdone_i  std_logic := ' 0 '
rxpmaresetdone_ss  std_logic := ' 0 '
rxpmaresetdone_sync  std_logic
pmaresetdone_fallingedge_detect  std_logic
run_phase_alignment_int  std_logic := ' 0 '
run_phase_alignment_int_s2  std_logic := ' 0 '
run_phase_alignment_int_s3  std_logic := ' 0 '
wait_bypass_count  integer range 0 to MAX_WAIT_BYPASS - 1
time_out_wait_bypass  std_logic := ' 0 '
time_out_wait_bypass_s2  std_logic := ' 0 '
time_out_wait_bypass_s3  std_logic := ' 0 '
refclk_lost  std_logic
data_valid_sync  std_logic := ' 0 '
pll0lock_sync  std_logic := ' 0 '
pll1lock_sync  std_logic := ' 0 '
pll0lock_prev  std_logic := ' 0 '
pll1lock_prev  std_logic := ' 0 '
pll0lock_ris_edge  std_logic := ' 0 '
pll1lock_ris_edge  std_logic := ' 0 '
phalignment_done_sync  std_logic := ' 0 '
fsmCnt  std_logic_vector ( 15 downto 0 ) := ( others = > ' 0 ' )

Instantiations

sync2_rxpmaresetdone  SynchronizerEdge <Entity SynchronizerEdge>
sync_run_phase_alignment_int  Synchronizer <Entity Synchronizer>
sync_rx_fsm_reset_done_int  Synchronizer <Entity Synchronizer>
synchronizer_soft_reset  SynchronizerEdge <Entity SynchronizerEdge>
sync_rxresetdone  Synchronizer <Entity Synchronizer>
sync_time_out_wait_bypass  Synchronizer <Entity Synchronizer>
sync_mmcm_lock_reclocked  Synchronizer <Entity Synchronizer>
sync_data_valid  Synchronizer <Entity Synchronizer>
sync_pll0lock  Synchronizer <Entity Synchronizer>
sync_pll1lock  Synchronizer <Entity Synchronizer>
synchronizer_phalignment_done  Synchronizer <Entity Synchronizer>

Detailed Description

Definition at line 129 of file Gtp7RxRst.vhd.

Member Function Documentation

◆ PROCESS_182()

PROCESS_182 (   STABLE_CLOCK  
)
Process

Definition at line 219 of file Gtp7RxRst.vhd.

◆ PROCESS_183()

PROCESS_183 (   STABLE_CLOCK,
  gtrxreset_i 
)

Definition at line 241 of file Gtp7RxRst.vhd.

◆ retries_recclk_monitor()

retries_recclk_monitor (   STABLE_CLOCK  
)
Process

Definition at line 254 of file Gtp7RxRst.vhd.

◆ timeouts()

timeouts (   STABLE_CLOCK  
)
Process

Definition at line 272 of file Gtp7RxRst.vhd.

◆ mmcm_lock_wait()

mmcm_lock_wait (   STABLE_CLOCK  
)
Process

Definition at line 314 of file Gtp7RxRst.vhd.

◆ PROCESS_184()

PROCESS_184 (   STABLE_CLOCK)

Definition at line 398 of file Gtp7RxRst.vhd.

◆ PROCESS_185()

PROCESS_185 (   STABLE_CLOCK)

Definition at line 429 of file Gtp7RxRst.vhd.

◆ PROCESS_186()

PROCESS_186 (   STABLE_CLOCK  
)
Process

Definition at line 444 of file Gtp7RxRst.vhd.

◆ timeout_buffer_bypass()

timeout_buffer_bypass (   RXUSERCLK)

Definition at line 470 of file Gtp7RxRst.vhd.

◆ reset_fsm()

reset_fsm (   STABLE_CLOCK  
)
Process

Definition at line 507 of file Gtp7RxRst.vhd.

Member Data Documentation

◆ rx_rst_fsm_type

rx_rst_fsm_type ( INIT , ASSERT_ALL_RESETS , RELEASE_PLL_RESET , VERIFY_RECCLK_STABLE , RELEASE_MMCM_RESET , WAIT_RESET_DONE , DO_PHASE_ALIGNMENT , MONITOR_DATA_VALID , FSM_DONE )
Type

Definition at line 130 of file Gtp7RxRst.vhd.

◆ rx_state

rx_state rx_rst_fsm_type := INIT
Signal

Definition at line 135 of file Gtp7RxRst.vhd.

◆ MMCM_LOCK_CNT_MAX

MMCM_LOCK_CNT_MAX integer := 1024
Constant

Definition at line 137 of file Gtp7RxRst.vhd.

◆ STARTUP_DELAY

STARTUP_DELAY integer := 500
Constant

Definition at line 138 of file Gtp7RxRst.vhd.

◆ WAIT_CYCLES

Definition at line 139 of file Gtp7RxRst.vhd.

◆ WAIT_MAX

WAIT_MAX integer := WAIT_CYCLES + 10
Constant

Definition at line 140 of file Gtp7RxRst.vhd.

◆ WAIT_TIMEOUT_2ms

WAIT_TIMEOUT_2ms integer := 3000000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 141 of file Gtp7RxRst.vhd.

◆ WAIT_TLOCK_MAX

WAIT_TLOCK_MAX integer := 100000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 142 of file Gtp7RxRst.vhd.

◆ WAIT_TIMEOUT_500us

WAIT_TIMEOUT_500us integer := 500000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 143 of file Gtp7RxRst.vhd.

◆ WAIT_TIMEOUT_1us

WAIT_TIMEOUT_1us integer := 1000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 144 of file Gtp7RxRst.vhd.

◆ WAIT_TIMEOUT_100us

WAIT_TIMEOUT_100us integer := 100000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 145 of file Gtp7RxRst.vhd.

◆ WAIT_TIME_ADAPT

WAIT_TIME_ADAPT integer := ( 37000000 / integer ( 3 . 125 ) ) / STABLE_CLOCK_PERIOD
Constant

Definition at line 146 of file Gtp7RxRst.vhd.

◆ soft_reset_sync

soft_reset_sync std_logic
Signal

Definition at line 148 of file Gtp7RxRst.vhd.

◆ soft_reset_rise

soft_reset_rise std_logic
Signal

Definition at line 149 of file Gtp7RxRst.vhd.

◆ soft_reset_fall

soft_reset_fall std_logic
Signal

Definition at line 150 of file Gtp7RxRst.vhd.

◆ init_wait_count

init_wait_count integer range 0 to WAIT_MAX := 0
Signal

Definition at line 152 of file Gtp7RxRst.vhd.

◆ init_wait_done

init_wait_done std_logic := ' 0 '
Signal

Definition at line 153 of file Gtp7RxRst.vhd.

◆ pll_reset_asserted

pll_reset_asserted std_logic := ' 0 '
Signal

Definition at line 154 of file Gtp7RxRst.vhd.

◆ rx_fsm_reset_done_int

rx_fsm_reset_done_int std_logic := ' 0 '
Signal

Definition at line 155 of file Gtp7RxRst.vhd.

◆ rx_fsm_reset_done_int_s2

rx_fsm_reset_done_int_s2 std_logic := ' 0 '
Signal

Definition at line 156 of file Gtp7RxRst.vhd.

◆ rx_fsm_reset_done_int_s3

rx_fsm_reset_done_int_s3 std_logic := ' 0 '
Signal

Definition at line 157 of file Gtp7RxRst.vhd.

◆ rxresetdone_s2

rxresetdone_s2 std_logic := ' 0 '
Signal

Definition at line 159 of file Gtp7RxRst.vhd.

◆ rxresetdone_s3

rxresetdone_s3 std_logic := ' 0 '
Signal

Definition at line 160 of file Gtp7RxRst.vhd.

◆ MAX_RETRIES

MAX_RETRIES integer := 2 ** RETRY_COUNTER_BITWIDTH - 1
Constant

Definition at line 162 of file Gtp7RxRst.vhd.

◆ retry_counter_int

retry_counter_int integer range 0 to MAX_RETRIES := 0
Signal

Definition at line 163 of file Gtp7RxRst.vhd.

◆ time_out_counter

time_out_counter integer range 0 to WAIT_TIMEOUT_2ms := 0
Signal

Definition at line 164 of file Gtp7RxRst.vhd.

◆ recclk_mon_restart_count

recclk_mon_restart_count integer range 0 to 3 := 0
Signal

Definition at line 165 of file Gtp7RxRst.vhd.

◆ recclk_mon_count_reset

recclk_mon_count_reset std_logic := ' 0 '
Signal

Definition at line 166 of file Gtp7RxRst.vhd.

◆ reset_time_out

reset_time_out std_logic := ' 0 '
Signal

Definition at line 168 of file Gtp7RxRst.vhd.

◆ time_out_2ms

time_out_2ms std_logic := ' 0 '
Signal

Definition at line 169 of file Gtp7RxRst.vhd.

◆ time_tlock_max

time_tlock_max std_logic := ' 0 '
Signal

Definition at line 170 of file Gtp7RxRst.vhd.

◆ time_out_500us

time_out_500us std_logic := ' 0 '
Signal

Definition at line 171 of file Gtp7RxRst.vhd.

◆ time_out_1us

time_out_1us std_logic := ' 0 '
Signal

Definition at line 172 of file Gtp7RxRst.vhd.

◆ time_out_100us

time_out_100us std_logic := ' 0 '
Signal

Definition at line 173 of file Gtp7RxRst.vhd.

◆ check_tlock_max

check_tlock_max std_logic := ' 0 '
Signal

Definition at line 174 of file Gtp7RxRst.vhd.

◆ mmcm_lock_count

mmcm_lock_count integer range 0 to MMCM_LOCK_CNT_MAX - 1 := 0
Signal

Definition at line 176 of file Gtp7RxRst.vhd.

◆ mmcm_lock_int

mmcm_lock_int std_logic := ' 0 '
Signal

Definition at line 177 of file Gtp7RxRst.vhd.

◆ mmcm_lock_i

mmcm_lock_i std_logic := ' 0 '
Signal

Definition at line 178 of file Gtp7RxRst.vhd.

◆ mmcm_lock_reclocked

mmcm_lock_reclocked std_logic := ' 0 '
Signal

Definition at line 179 of file Gtp7RxRst.vhd.

◆ gtrxreset_i

gtrxreset_i std_logic := ' 0 '
Signal

Definition at line 180 of file Gtp7RxRst.vhd.

◆ mmcm_reset_i

mmcm_reset_i std_logic := ' 1 '
Signal

Definition at line 181 of file Gtp7RxRst.vhd.

◆ rxpmaresetdone_i

rxpmaresetdone_i std_logic := ' 0 '
Signal

Definition at line 182 of file Gtp7RxRst.vhd.

◆ rxpmaresetdone_ss

rxpmaresetdone_ss std_logic := ' 0 '
Signal

Definition at line 183 of file Gtp7RxRst.vhd.

◆ rxpmaresetdone_sync

rxpmaresetdone_sync std_logic
Signal

Definition at line 184 of file Gtp7RxRst.vhd.

◆ pmaresetdone_fallingedge_detect

Definition at line 185 of file Gtp7RxRst.vhd.

◆ run_phase_alignment_int

run_phase_alignment_int std_logic := ' 0 '
Signal

Definition at line 187 of file Gtp7RxRst.vhd.

◆ run_phase_alignment_int_s2

run_phase_alignment_int_s2 std_logic := ' 0 '
Signal

Definition at line 188 of file Gtp7RxRst.vhd.

◆ run_phase_alignment_int_s3

run_phase_alignment_int_s3 std_logic := ' 0 '
Signal

Definition at line 189 of file Gtp7RxRst.vhd.

◆ MAX_WAIT_BYPASS

MAX_WAIT_BYPASS integer := 5000
Constant

Definition at line 191 of file Gtp7RxRst.vhd.

◆ wait_bypass_count

wait_bypass_count integer range 0 to MAX_WAIT_BYPASS - 1
Signal

Definition at line 192 of file Gtp7RxRst.vhd.

◆ time_out_wait_bypass

time_out_wait_bypass std_logic := ' 0 '
Signal

Definition at line 193 of file Gtp7RxRst.vhd.

◆ time_out_wait_bypass_s2

time_out_wait_bypass_s2 std_logic := ' 0 '
Signal

Definition at line 194 of file Gtp7RxRst.vhd.

◆ time_out_wait_bypass_s3

time_out_wait_bypass_s3 std_logic := ' 0 '
Signal

Definition at line 195 of file Gtp7RxRst.vhd.

◆ refclk_lost

refclk_lost std_logic
Signal

Definition at line 197 of file Gtp7RxRst.vhd.

◆ data_valid_sync

data_valid_sync std_logic := ' 0 '
Signal

Definition at line 199 of file Gtp7RxRst.vhd.

◆ pll0lock_sync

pll0lock_sync std_logic := ' 0 '
Signal

Definition at line 200 of file Gtp7RxRst.vhd.

◆ pll1lock_sync

pll1lock_sync std_logic := ' 0 '
Signal

Definition at line 201 of file Gtp7RxRst.vhd.

◆ pll0lock_prev

pll0lock_prev std_logic := ' 0 '
Signal

Definition at line 202 of file Gtp7RxRst.vhd.

◆ pll1lock_prev

pll1lock_prev std_logic := ' 0 '
Signal

Definition at line 203 of file Gtp7RxRst.vhd.

◆ pll0lock_ris_edge

pll0lock_ris_edge std_logic := ' 0 '
Signal

Definition at line 204 of file Gtp7RxRst.vhd.

◆ pll1lock_ris_edge

pll1lock_ris_edge std_logic := ' 0 '
Signal

Definition at line 205 of file Gtp7RxRst.vhd.

◆ phalignment_done_sync

phalignment_done_sync std_logic := ' 0 '
Signal

Definition at line 206 of file Gtp7RxRst.vhd.

◆ fsmCnt

fsmCnt std_logic_vector ( 15 downto 0 ) := ( others = > ' 0 ' )
Signal

Definition at line 208 of file Gtp7RxRst.vhd.

◆ sync2_rxpmaresetdone

sync2_rxpmaresetdone SynchronizerEdge
Instantiation

Definition at line 239 of file Gtp7RxRst.vhd.

◆ sync_run_phase_alignment_int

sync_run_phase_alignment_int Synchronizer
Instantiation

Definition at line 345 of file Gtp7RxRst.vhd.

◆ sync_rx_fsm_reset_done_int

sync_rx_fsm_reset_done_int Synchronizer
Instantiation

Definition at line 354 of file Gtp7RxRst.vhd.

◆ synchronizer_soft_reset

synchronizer_soft_reset SynchronizerEdge
Instantiation

Definition at line 364 of file Gtp7RxRst.vhd.

◆ sync_rxresetdone

sync_rxresetdone Synchronizer
Instantiation

Definition at line 372 of file Gtp7RxRst.vhd.

◆ sync_time_out_wait_bypass

sync_time_out_wait_bypass Synchronizer
Instantiation

Definition at line 380 of file Gtp7RxRst.vhd.

◆ sync_mmcm_lock_reclocked

sync_mmcm_lock_reclocked Synchronizer
Instantiation

Definition at line 388 of file Gtp7RxRst.vhd.

◆ sync_data_valid

sync_data_valid Synchronizer
Instantiation

Definition at line 396 of file Gtp7RxRst.vhd.

◆ sync_pll0lock

sync_pll0lock Synchronizer
Instantiation

Definition at line 417 of file Gtp7RxRst.vhd.

◆ sync_pll1lock

sync_pll1lock Synchronizer
Instantiation

Definition at line 425 of file Gtp7RxRst.vhd.

◆ synchronizer_phalignment_done

synchronizer_phalignment_done Synchronizer
Instantiation

Definition at line 467 of file Gtp7RxRst.vhd.


The documentation for this class was generated from the following file: