Files
PeakRDL-regblock/tests/test_map_size/tb_template.sv
Aylon Chaim Porat 28ed82129f 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
2025-03-03 21:16:25 -08:00

13 lines
224 B
Systemverilog

{% extends "lib/tb_base.sv" %}
{% block seq %}
{% sv_line_anchor %}
##1;
cb.rst <= '0;
##1;
// check block size
assert(regblock_pkg::REGBLOCK_SIZE == {{exporter.ds.top_node.size}});
{% endblock %}