mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Pass SCHED_PER_IF and PTP_PORT_CDC_PIPELINE parameters through to application block
This commit is contained in:
parent
a98443a95b
commit
4310c3e0e7
@ -66,6 +66,10 @@ Parameters
|
||||
|
||||
Ports per interface, default ``1``.
|
||||
|
||||
.. object:: SCHED_PER_IF
|
||||
|
||||
Schedulers per interface, default ``PORTS_PER_IF``.
|
||||
|
||||
.. object:: PORT_COUNT
|
||||
|
||||
Total port count, must be set to ``IF_COUNT*PORTS_PER_IF``.
|
||||
@ -102,6 +106,10 @@ Parameters
|
||||
|
||||
Use external PTP sample clock, used to synchronize the PTP clock across clock domains. Default ``0``.
|
||||
|
||||
.. object:: PTP_PORT_CDC_PIPELINE
|
||||
|
||||
Output pipeline stages on PTP clock CDC module, default ``0``.
|
||||
|
||||
.. object:: PTP_PEROUT_ENABLE
|
||||
|
||||
Enable PTP period output module, default ``0``.
|
||||
|
@ -45,6 +45,7 @@ module mqnic_app_block #
|
||||
// Structural configuration
|
||||
parameter IF_COUNT = 1,
|
||||
parameter PORTS_PER_IF = 1,
|
||||
parameter SCHED_PER_IF = PORTS_PER_IF,
|
||||
|
||||
parameter PORT_COUNT = IF_COUNT*PORTS_PER_IF,
|
||||
|
||||
@ -57,6 +58,7 @@ module mqnic_app_block #
|
||||
parameter PTP_PERIOD_NS = 4'd4,
|
||||
parameter PTP_PERIOD_FNS = 32'd0,
|
||||
parameter PTP_USE_SAMPLE_CLOCK = 0,
|
||||
parameter PTP_PORT_CDC_PIPELINE = 0,
|
||||
parameter PTP_PEROUT_ENABLE = 0,
|
||||
parameter PTP_PEROUT_COUNT = 1,
|
||||
parameter PTP_TS_ENABLE = 1,
|
||||
|
@ -3519,6 +3519,7 @@ if (APP_ENABLE) begin : app
|
||||
// Structural configuration
|
||||
.IF_COUNT(IF_COUNT),
|
||||
.PORTS_PER_IF(PORTS_PER_IF),
|
||||
.SCHED_PER_IF(SCHED_PER_IF),
|
||||
|
||||
.PORT_COUNT(PORT_COUNT),
|
||||
|
||||
@ -3531,6 +3532,7 @@ if (APP_ENABLE) begin : app
|
||||
.PTP_PERIOD_NS(PTP_PERIOD_NS),
|
||||
.PTP_PERIOD_FNS(PTP_PERIOD_FNS),
|
||||
.PTP_USE_SAMPLE_CLOCK(PTP_USE_SAMPLE_CLOCK),
|
||||
.PTP_PORT_CDC_PIPELINE(PTP_PORT_CDC_PIPELINE),
|
||||
.PTP_PEROUT_ENABLE(PTP_PEROUT_ENABLE),
|
||||
.PTP_PEROUT_COUNT(PTP_PEROUT_COUNT),
|
||||
.PTP_TS_ENABLE(PTP_TS_ENABLE),
|
||||
|
Loading…
x
Reference in New Issue
Block a user