B.4. parameter setting, B.5. tod clock interface signals – Altera 10-Gbps Ethernet MAC MegaCore Function User Manual
Page 158

B–2
Appendix B: Time-of-Day (ToD) Clock
10-Gbps Ethernet MAC MegaCore Function User Guide
February 2014
Altera Corporation
B.4. Parameter Setting
describes the ToD clock configuration parameters.
B.5. ToD Clock Interface Signals
Figure B–1
shows the interface signals for the ToD clock.
Table B–3. ToD Configuration Parameters
Name
Value
Description
DEFAULT_NSEC_PERIOD
Between 0 and 0x000F
4-bit value that defines the reset value for
PERIOD_NS
.
The default value is 0x0006.
DEFAULT_FNSEC_PERIOD
Between 0 and 0xFFFF
16-bit value that defines the reset value for
PERIOD_FNS
.
The default value is 0x6666.
DEFAULT_NSEC_ADJPERIO
D
Between 0 and 0x000F
4-bit value that defines the reset value for
ADJPERIOD_NS
.
The default value is 0x0006.
DEFAULT_FNSEC_ADJPERI
OD
Between 0 and 0xFFFF
16-bit value that defines the reset value for
ADJPERIOD_FNS
.
The default value is 0x6666.
Figure B–1. ToD Clock Interface Signals
ToD Clock
Avalon-MM
Control
Interface
Signals
csr_readdata[]
32
csr_read
clk
rst_n
csr_write
csr_writedata[]
32
csr_address[]
4
time_of_day_96[]
96
time_of_day_64[]
64
csr_readdata[]
32
time_of_day_96b_load_valid
period_clk
time_of_day_96b_load_data[]
Avalon-ST
Transmit
Interface
Signals
time_of_day_64b_load_valid
time_of_day_64b_load_data[]
64
96