Add user parameters to regblock package. #112

This commit is contained in:
Alex Mykyta
2025-04-10 22:16:13 -07:00
parent 0a9a3ad51e
commit 48ae215eda
6 changed files with 65 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ package {{ds.package_name}};
localparam {{ds.module_name.upper()}}_MIN_ADDR_WIDTH = {{ds.addr_width}};
localparam {{ds.module_name.upper()}}_SIZE = {{SVInt(ds.top_node.size)}};
{{hwif.get_extra_package_params()|indent}}
{{hwif.get_package_contents()|indent}}
endpackage
{# (eof newline anchor) #}