CSR types package – openenoc_endpoint_full_csr_pkg
Defines the generated register-bank types and configuration constants used by its consumers.
Source: openenoc_endpoint_full_csr_pkg.sv.
Parameters
These are generated local constants, rather than instance parameters. Change the RDL and regenerate the package to change their values.
Name |
Default value |
Allowed values |
Description |
|---|---|---|---|
|
|
Generated constant; not overridable in SV |
CSR data width in bits. |
|
|
Generated constant; not overridable in SV |
Minimum CSR byte-address width. |
|
|
Generated constant; not overridable in SV |
Implemented CSR address span in bytes. |
|
|
Generated constant; not overridable in SV |
Number of generated peer entries. |
|
|
Generated constant; not overridable in SV |
External RMEM aperture size in 32-bit words. |
|
|
Generated constant; not overridable in SV |
Synthesized raw Ethernet frame ceiling, excluding FCS. |
|
|
Generated constant; not overridable in SV |
Peer DMA capability flag. |
|
|
Generated constant; not overridable in SV |
Raw DMA capability flag. |
|
|
Generated constant; not overridable in SV |
Direct software stream capability flag. |
|
|
Generated constant; not overridable in SV |
Scalar RMEM capability flag. |
|
|
Generated constant; not overridable in SV |
Endpoint interrupt capability flag. |
|
|
Generated constant; not overridable in SV |
Switch port count. |
|
|
Generated constant; not overridable in SV |
Forwarding-table entry count. |
Signals
Name |
Type |
Direction / role |
Description |
|---|---|---|---|
None |
— |
— |
This package has no runtime ports or signals. |
Architecture and operation
The package defines CSR hardware-interface types, register constants, and elaborated CSR parameters shared by the generated register block and bridge. It has no runtime ports or state and must be compiled before its users.
OPENENOC_ENDPOINT_FULL_CSR_DATA_WIDTH and
OPENENOC_ENDPOINT_FULL_CSR_MIN_ADDR_WIDTH define the register-bus shape.
NUM_OF_PEERS, RMEM_TOTAL_DEPTH, and MAX_RAW_FRAME_SIZE configure the
endpoint boundary and memory-transfer infrastructure. The HAS_* constants
report elaborated capabilities; NUM_OF_INTERFACES and TABLE_DEPTH
configure the associated switch boundary.
Type |
Description |
|---|---|
|
Hardware next-value updates, hardware clears, and external responses. |
|
Stored software controls and external register-file requests. |
Nested field types compose these two structures. Their field names and widths follow HAL Architecture Specification; the generated source provides the complete type tree. Consumers do not instantiate the package and do not drive its constants.