SURF  1.0
RTL Architecture Reference

Processes

PROCESS_211  ( STABLE_CLOCK )
PROCESS_212  ( STABLE_CLOCK )
retries_recclk_monitor  ( STABLE_CLOCK )
timeouts  ( STABLE_CLOCK )
mmcm_lock_wait  ( RXUSERCLK , MMCM_LOCK )
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_s3  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_reclocked  std_logic_vector ( 3 downto 0 ) := ( others = > ' 0 ' )
run_phase_alignment_int  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_s3  std_logic := ' 0 '
refclk_lost  std_logic
time_out_adapt  std_logic := ' 0 '
adapt_count_reset  std_logic := ' 0 '
adapt_count  integer range 0 to WAIT_TIME_ADAPT - 1
data_valid_sync  std_logic := ' 0 '
plllock_sync  std_logic := ' 0 '
phalignment_done_sync  std_logic := ' 0 '
fsmCnt  std_logic_vector ( 15 downto 0 )

Attributes

dont_touch  string

Instantiations

synchronizer_run_phase_alignment  Synchronizer <Entity Synchronizer>
synchronizer_fsm_reset_done  Synchronizer <Entity Synchronizer>
synchronizer_soft_reset  SynchronizerEdge <Entity SynchronizerEdge>
synchronizer_rxresetdone  Synchronizer <Entity Synchronizer>
synchronizer_time_out_wait_bypass  Synchronizer <Entity Synchronizer>
synchronizer_mmcm_lock_reclocked  Synchronizer <Entity Synchronizer>
synchronizer_data_valid  Synchronizer <Entity Synchronizer>
synchronizer_plllock  Synchronizer <Entity Synchronizer>
synchronizer_phalignment_done  Synchronizer <Entity Synchronizer>

Detailed Description

Definition at line 127 of file Gtx7RxRst.vhd.

Member Function Documentation

◆ PROCESS_211()

PROCESS_211 (   STABLE_CLOCK  
)
Process

Definition at line 225 of file Gtx7RxRst.vhd.

◆ PROCESS_212()

PROCESS_212 (   STABLE_CLOCK  
)
Process

Definition at line 258 of file Gtx7RxRst.vhd.

◆ retries_recclk_monitor()

retries_recclk_monitor (   STABLE_CLOCK  
)
Process

Definition at line 260 of file Gtx7RxRst.vhd.

◆ timeouts()

timeouts (   STABLE_CLOCK  
)
Process

Definition at line 278 of file Gtx7RxRst.vhd.

◆ mmcm_lock_wait()

mmcm_lock_wait (   RXUSERCLK ,
  MMCM_LOCK  
)
Process

Definition at line 319 of file Gtx7RxRst.vhd.

◆ timeout_buffer_bypass()

timeout_buffer_bypass (   RXUSERCLK)

Definition at line 426 of file Gtx7RxRst.vhd.

◆ reset_fsm()

reset_fsm (   STABLE_CLOCK  
)
Process

Definition at line 464 of file Gtx7RxRst.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 128 of file Gtx7RxRst.vhd.

◆ rx_state

rx_state rx_rst_fsm_type := INIT
Signal

Definition at line 133 of file Gtx7RxRst.vhd.

◆ MMCM_LOCK_CNT_MAX

MMCM_LOCK_CNT_MAX integer := 1024
Constant

Definition at line 135 of file Gtx7RxRst.vhd.

◆ STARTUP_DELAY

STARTUP_DELAY integer := 500
Constant

Definition at line 136 of file Gtx7RxRst.vhd.

◆ WAIT_CYCLES

Definition at line 137 of file Gtx7RxRst.vhd.

◆ WAIT_MAX

WAIT_MAX integer := WAIT_CYCLES + 10
Constant

Definition at line 138 of file Gtx7RxRst.vhd.

◆ WAIT_TIMEOUT_2ms

WAIT_TIMEOUT_2ms integer := 3000000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 140 of file Gtx7RxRst.vhd.

◆ WAIT_TLOCK_MAX

WAIT_TLOCK_MAX integer := 100000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 141 of file Gtx7RxRst.vhd.

◆ WAIT_TIMEOUT_500us

WAIT_TIMEOUT_500us integer := 500000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 142 of file Gtx7RxRst.vhd.

◆ WAIT_TIMEOUT_1us

WAIT_TIMEOUT_1us integer := 1000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 143 of file Gtx7RxRst.vhd.

◆ WAIT_TIMEOUT_100us

WAIT_TIMEOUT_100us integer := 100000 / STABLE_CLOCK_PERIOD
Constant

Definition at line 144 of file Gtx7RxRst.vhd.

◆ WAIT_TIME_ADAPT

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

Definition at line 145 of file Gtx7RxRst.vhd.

◆ soft_reset_sync

soft_reset_sync std_logic
Signal

Definition at line 147 of file Gtx7RxRst.vhd.

◆ soft_reset_rise

soft_reset_rise std_logic
Signal

Definition at line 148 of file Gtx7RxRst.vhd.

◆ soft_reset_fall

soft_reset_fall std_logic
Signal

Definition at line 149 of file Gtx7RxRst.vhd.

◆ init_wait_count

init_wait_count integer range 0 to WAIT_MAX := 0
Signal

Definition at line 152 of file Gtx7RxRst.vhd.

◆ init_wait_done

init_wait_done std_logic := ' 0 '
Signal

Definition at line 153 of file Gtx7RxRst.vhd.

◆ pll_reset_asserted

pll_reset_asserted std_logic := ' 0 '
Signal

Definition at line 154 of file Gtx7RxRst.vhd.

◆ rx_fsm_reset_done_int

rx_fsm_reset_done_int std_logic := ' 0 '
Signal

Definition at line 155 of file Gtx7RxRst.vhd.

◆ rx_fsm_reset_done_int_s3

rx_fsm_reset_done_int_s3 std_logic := ' 0 '
Signal

Definition at line 156 of file Gtx7RxRst.vhd.

◆ rxresetdone_s3

rxresetdone_s3 std_logic := ' 0 '
Signal

Definition at line 158 of file Gtx7RxRst.vhd.

◆ MAX_RETRIES

MAX_RETRIES integer := 2 ** RETRY_COUNTER_BITWIDTH - 1
Constant

Definition at line 160 of file Gtx7RxRst.vhd.

◆ retry_counter_int

retry_counter_int integer range 0 to MAX_RETRIES := 0
Signal

Definition at line 161 of file Gtx7RxRst.vhd.

◆ time_out_counter

time_out_counter integer range 0 to WAIT_TIMEOUT_2ms := 0
Signal

Definition at line 162 of file Gtx7RxRst.vhd.

◆ recclk_mon_restart_count

recclk_mon_restart_count integer range 0 to 3 := 0
Signal

Definition at line 163 of file Gtx7RxRst.vhd.

◆ recclk_mon_count_reset

recclk_mon_count_reset std_logic := ' 0 '
Signal

Definition at line 164 of file Gtx7RxRst.vhd.

◆ reset_time_out

reset_time_out std_logic := ' 0 '
Signal

Definition at line 166 of file Gtx7RxRst.vhd.

◆ time_out_2ms

time_out_2ms std_logic := ' 0 '
Signal

Definition at line 167 of file Gtx7RxRst.vhd.

◆ time_tlock_max

time_tlock_max std_logic := ' 0 '
Signal

Definition at line 168 of file Gtx7RxRst.vhd.

◆ time_out_500us

time_out_500us std_logic := ' 0 '
Signal

Definition at line 169 of file Gtx7RxRst.vhd.

◆ time_out_1us

time_out_1us std_logic := ' 0 '
Signal

Definition at line 170 of file Gtx7RxRst.vhd.

◆ time_out_100us

time_out_100us std_logic := ' 0 '
Signal

Definition at line 171 of file Gtx7RxRst.vhd.

◆ check_tlock_max

check_tlock_max std_logic := ' 0 '
Signal

Definition at line 172 of file Gtx7RxRst.vhd.

◆ mmcm_lock_count

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

Definition at line 174 of file Gtx7RxRst.vhd.

◆ mmcm_lock_int

mmcm_lock_int std_logic := ' 0 '
Signal

Definition at line 175 of file Gtx7RxRst.vhd.

◆ mmcm_lock_reclocked

mmcm_lock_reclocked std_logic_vector ( 3 downto 0 ) := ( others = > ' 0 ' )
Signal

Definition at line 176 of file Gtx7RxRst.vhd.

◆ run_phase_alignment_int

run_phase_alignment_int std_logic := ' 0 '
Signal

Definition at line 178 of file Gtx7RxRst.vhd.

◆ run_phase_alignment_int_s3

run_phase_alignment_int_s3 std_logic := ' 0 '
Signal

Definition at line 179 of file Gtx7RxRst.vhd.

◆ MAX_WAIT_BYPASS

MAX_WAIT_BYPASS integer := 5000
Constant

Definition at line 181 of file Gtx7RxRst.vhd.

◆ wait_bypass_count

wait_bypass_count integer range 0 to MAX_WAIT_BYPASS - 1
Signal

Definition at line 182 of file Gtx7RxRst.vhd.

◆ time_out_wait_bypass

time_out_wait_bypass std_logic := ' 0 '
Signal

Definition at line 183 of file Gtx7RxRst.vhd.

◆ time_out_wait_bypass_s3

time_out_wait_bypass_s3 std_logic := ' 0 '
Signal

Definition at line 184 of file Gtx7RxRst.vhd.

◆ refclk_lost

refclk_lost std_logic
Signal

Definition at line 186 of file Gtx7RxRst.vhd.

◆ time_out_adapt

time_out_adapt std_logic := ' 0 '
Signal

Definition at line 188 of file Gtx7RxRst.vhd.

◆ adapt_count_reset

adapt_count_reset std_logic := ' 0 '
Signal

Definition at line 189 of file Gtx7RxRst.vhd.

◆ adapt_count

adapt_count integer range 0 to WAIT_TIME_ADAPT - 1
Signal

Definition at line 190 of file Gtx7RxRst.vhd.

◆ data_valid_sync

data_valid_sync std_logic := ' 0 '
Signal

Definition at line 192 of file Gtx7RxRst.vhd.

◆ plllock_sync

plllock_sync std_logic := ' 0 '
Signal

Definition at line 193 of file Gtx7RxRst.vhd.

◆ phalignment_done_sync

phalignment_done_sync std_logic := ' 0 '
Signal

Definition at line 194 of file Gtx7RxRst.vhd.

◆ fsmCnt

fsmCnt std_logic_vector ( 15 downto 0 )
Signal

Definition at line 196 of file Gtx7RxRst.vhd.

◆ dont_touch

dont_touch string
Attribute

Definition at line 198 of file Gtx7RxRst.vhd.

◆ synchronizer_run_phase_alignment

synchronizer_run_phase_alignment Synchronizer
Instantiation

Definition at line 348 of file Gtx7RxRst.vhd.

◆ synchronizer_fsm_reset_done

synchronizer_fsm_reset_done Synchronizer
Instantiation

Definition at line 358 of file Gtx7RxRst.vhd.

◆ synchronizer_soft_reset

synchronizer_soft_reset SynchronizerEdge
Instantiation

Definition at line 368 of file Gtx7RxRst.vhd.

◆ synchronizer_rxresetdone

synchronizer_rxresetdone Synchronizer
Instantiation

Definition at line 378 of file Gtx7RxRst.vhd.

◆ synchronizer_time_out_wait_bypass

synchronizer_time_out_wait_bypass Synchronizer
Instantiation

Definition at line 388 of file Gtx7RxRst.vhd.

◆ synchronizer_mmcm_lock_reclocked

synchronizer_mmcm_lock_reclocked Synchronizer
Instantiation

Definition at line 396 of file Gtx7RxRst.vhd.

◆ synchronizer_data_valid

synchronizer_data_valid Synchronizer
Instantiation

Definition at line 404 of file Gtx7RxRst.vhd.

◆ synchronizer_plllock

synchronizer_plllock Synchronizer
Instantiation

Definition at line 413 of file Gtx7RxRst.vhd.

◆ synchronizer_phalignment_done

synchronizer_phalignment_done Synchronizer
Instantiation

Definition at line 423 of file Gtx7RxRst.vhd.


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