Add Addressmap block size to generated package (#134)

* add map size as a localparam in rdl map package

* rename from _SIZE -> _BYTES_SIZE

* fix names on new test & localparam

* wrap map size in SVInt
This commit is contained in:
Aylon Chaim Porat
2025-03-04 00:16:25 -05:00
committed by GitHub
parent aba2af17af
commit 28ed82129f
6 changed files with 25 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ from .write_buffering import WriteBuffering
from .read_buffering import ReadBuffering
from .external_acks import ExternalWriteAckGenerator, ExternalReadAckGenerator
from .parity import ParityErrorReduceGenerator
from .sv_int import SVInt
if TYPE_CHECKING:
from systemrdl.node import SignalNode
@@ -179,6 +180,7 @@ class RegblockExporter:
"get_always_ff_event": self.dereferencer.get_always_ff_event,
"ds": self.ds,
"kwf": kwf,
"SVInt" : SVInt,
}
# Write out design