fpga: lib: Add more CtrlPort constants
Add some missing CtrlPort signal widths to ctrlport.vh. Original-commit: c9d55d870dbccbc07ca9a7afaf2e0ac64944111c
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
//
|
//
|
||||||
// Copyright 2019 Ettus Research, A National Instruments Company
|
// Copyright 2020 Ettus Research, A National Instruments Brand
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||||
//
|
//
|
||||||
// Module: ctrlport.vh
|
// Module: ctrlport.vh
|
||||||
// Description:
|
|
||||||
// Defines constants for the control port interface.
|
|
||||||
//
|
//
|
||||||
// Requires rfnoc_axis_ctrl_utils.vh in same directory to be
|
// Description:
|
||||||
// included first.
|
//
|
||||||
|
// Defines constants for the control port interface. See also
|
||||||
|
// rfnoc_axis_ctrl_utils.vh for related AXIS-Ctrl definitions.
|
||||||
|
//
|
||||||
|
|
||||||
//---------------------------------------------------------------
|
//---------------------------------------------------------------
|
||||||
// Signal widths
|
// Signal widths
|
||||||
@@ -16,6 +17,10 @@
|
|||||||
localparam CTRLPORT_ADDR_W = 20;
|
localparam CTRLPORT_ADDR_W = 20;
|
||||||
localparam CTRLPORT_DATA_W = 32;
|
localparam CTRLPORT_DATA_W = 32;
|
||||||
localparam CTRLPORT_STS_W = 2;
|
localparam CTRLPORT_STS_W = 2;
|
||||||
|
localparam CTRLPORT_PORTID_W = 10;
|
||||||
|
localparam CTRLPORT_REM_EPID_W = 16;
|
||||||
|
localparam CTRLPORT_BYTE_EN_W = 4;
|
||||||
|
localparam CTRLPORT_TIME_W = 64;
|
||||||
|
|
||||||
//---------------------------------------------------------------
|
//---------------------------------------------------------------
|
||||||
// Status values
|
// Status values
|
||||||
|
|||||||
Reference in New Issue
Block a user