mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Add timeslot count to port registers
This commit is contained in:
parent
f65b139797
commit
f53a6b20e8
@ -645,6 +645,7 @@ always @(posedge clk) begin
|
|||||||
axil_ctrl_rdata_reg[0] <= tdma_locked;
|
axil_ctrl_rdata_reg[0] <= tdma_locked;
|
||||||
axil_ctrl_rdata_reg[1] <= tdma_error;
|
axil_ctrl_rdata_reg[1] <= tdma_error;
|
||||||
end
|
end
|
||||||
|
16'h0108: axil_ctrl_rdata_reg <= 2**TDMA_INDEX_WIDTH; // TDMA timeslot count
|
||||||
16'h0114: axil_ctrl_rdata_reg <= set_tdma_schedule_start_reg[29:0]; // TDMA schedule start ns
|
16'h0114: axil_ctrl_rdata_reg <= set_tdma_schedule_start_reg[29:0]; // TDMA schedule start ns
|
||||||
16'h0118: axil_ctrl_rdata_reg <= set_tdma_schedule_start_reg[63:32]; // TDMA schedule start sec l
|
16'h0118: axil_ctrl_rdata_reg <= set_tdma_schedule_start_reg[63:32]; // TDMA schedule start sec l
|
||||||
16'h011C: axil_ctrl_rdata_reg <= set_tdma_schedule_start_reg[79:64]; // TDMA schedule start sec h
|
16'h011C: axil_ctrl_rdata_reg <= set_tdma_schedule_start_reg[79:64]; // TDMA schedule start sec h
|
||||||
|
@ -134,6 +134,7 @@ MQNIC_PORT_REG_SCHED_TYPE = 0x001C
|
|||||||
MQNIC_PORT_REG_SCHED_ENABLE = 0x0040
|
MQNIC_PORT_REG_SCHED_ENABLE = 0x0040
|
||||||
MQNIC_PORT_REG_TDMA_CTRL = 0x0100
|
MQNIC_PORT_REG_TDMA_CTRL = 0x0100
|
||||||
MQNIC_PORT_REG_TDMA_STATUS = 0x0104
|
MQNIC_PORT_REG_TDMA_STATUS = 0x0104
|
||||||
|
MQNIC_PORT_REG_TDMA_TIMESLOT_COUNT = 0x0108
|
||||||
MQNIC_PORT_REG_TDMA_SCHED_START_FNS = 0x0110
|
MQNIC_PORT_REG_TDMA_SCHED_START_FNS = 0x0110
|
||||||
MQNIC_PORT_REG_TDMA_SCHED_START_NS = 0x0114
|
MQNIC_PORT_REG_TDMA_SCHED_START_NS = 0x0114
|
||||||
MQNIC_PORT_REG_TDMA_SCHED_START_SEC_L = 0x0118
|
MQNIC_PORT_REG_TDMA_SCHED_START_SEC_L = 0x0118
|
||||||
|
@ -140,6 +140,7 @@ either expressed or implied, of The Regents of the University of California.
|
|||||||
#define MQNIC_PORT_REG_SCHED_ENABLE 0x0040
|
#define MQNIC_PORT_REG_SCHED_ENABLE 0x0040
|
||||||
#define MQNIC_PORT_REG_TDMA_CTRL 0x0100
|
#define MQNIC_PORT_REG_TDMA_CTRL 0x0100
|
||||||
#define MQNIC_PORT_REG_TDMA_STATUS 0x0104
|
#define MQNIC_PORT_REG_TDMA_STATUS 0x0104
|
||||||
|
#define MQNIC_PORT_REG_TDMA_TIMESLOT_COUNT 0x0108
|
||||||
#define MQNIC_PORT_REG_TDMA_SCHED_START_FNS 0x0110
|
#define MQNIC_PORT_REG_TDMA_SCHED_START_FNS 0x0110
|
||||||
#define MQNIC_PORT_REG_TDMA_SCHED_START_NS 0x0114
|
#define MQNIC_PORT_REG_TDMA_SCHED_START_NS 0x0114
|
||||||
#define MQNIC_PORT_REG_TDMA_SCHED_START_SEC_L 0x0118
|
#define MQNIC_PORT_REG_TDMA_SCHED_START_SEC_L 0x0118
|
||||||
|
Loading…
x
Reference in New Issue
Block a user