|
x393
1.0
FPGAcodeforElphelNC393camera
|
Static Public Member Functions |
Always Constructs | |
| ALWAYS_606 | ( clk ) |
| ALWAYS_607 | ( clk ) |
| ALWAYS_608 | ( clk ) |
| ALWAYS_609 | ( clk ) |
| ALWAYS_610 | ( clk ) |
Public Attributes |
Inputs | |
| clk | wire |
| rst | wire |
| gtx_ready | wire |
| rxcominitdet_in | wire |
| rxcomwakedet_in | wire |
| rxelecidle_in | wire |
| recal_tx_done | wire |
| rxdata_in | wire [DATA_BYTE_WIDTH * 8 - 1 : 0 ] |
| rxcharisk_in | wire [DATA_BYTE_WIDTH - 1 : 0 ] |
Outputs | |
| txcominit | reg |
| txcomwake | reg |
| txelecidle | reg |
| txpcsreset_req | wire |
| txdata_out | wire [DATA_BYTE_WIDTH * 8 - 1 : 0 ] |
| txcharisk_out | wire [DATA_BYTE_WIDTH - 1 : 0 ] |
| link_up | wire |
Parameters | |
| DATA_BYTE_WIDTH | 4 |
| CLK_SPEED_GRADE | 2 |
| STATE_RESET | 0 |
| STATE_COMINIT | 1 |
| STATE_AWAITCOMWAKE | 2 |
| STATE_AWAITNOCOMWAKE | 3 |
| STATE_CALIBRATE | 4 |
| STATE_COMWAKE | 5 |
| STATE_RECAL | 55 |
| STATE_SENDALIGN | 6 |
| STATE_READY | 7 |
| STATE_PARTIAL | 8 |
| STATE_SLUMBER | 9 |
| STATE_REDUCESPEED | 10 |
| STATE_ERROR | 11 |
Signals | |
| reg[ 9 : 0 ] | state |
| wire | retry_interval_elapsed |
| wire | wait_interval_elapsed |
| wire | nocomwake |
| wire[ 31 : 0 ] | align |
| wire[ 31 : 0 ] | sync |
| reg[ 31 : 0 ] | nocomwake_timer |
| reg[ 31 : 0 ] | retry_timer |
| reg[ 31 : 0 ] | wait_timer |
| reg[ 31 : 0 ] | data |
| reg[ 3 : 0 ] | isk |
| reg | rxcominitdet |
| reg | rxcomwakedet |
| reg | rxelecidle |
| reg[ 31 : 0 ] | rxdata |
| reg[ 3 : 0 ] | rxcharisk |
| reg[ 9 : 0 ] | txelecidle_cnt |
| wire | aligndet |
| wire | syncdet |
|
Parameter |
|
Parameter |
|
Input |
|
Input |
|
Input |
|
Output |
|
Output |
|
Input |
|
Output |
|
Output |
|
Input |
|
Input |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Parameter |
|
Signal |
|
Signal |
|
Signal |
|
Signal |
|
Signal |
|
Signal |
|
Signal |
|
Signal |
|
Signal |