update tmpl

This commit is contained in:
Arnav Sacheti
2025-10-23 23:42:17 -07:00
parent 6489f49873
commit 0b98165ccc
2 changed files with 13 additions and 7 deletions

View File

@@ -1,13 +1,12 @@
//==========================================================
// Module: {{ds.module_name}}
// Description: CPU Interface Bus Decoder
// Author: PeakRDL-busdecoder
// Author: PeakRDL-BusDecoder
// License: LGPL-3.0
// Date: {{current_date}}
// Version: {{version}}
// Links:
// - https://github.com/arnavsacheti/PeakRDL-busdecoder
// - https://github.com/arnavsacheti/PeakRDL-BusDecoder
//==========================================================
@@ -17,7 +16,6 @@ module {{ds.module_name}}
) {%- endif %} (
{{cpuif.port_declaration|indent(4)}}
);
//--------------------------------------------------------------------------
// CPU Bus interface logic
//--------------------------------------------------------------------------

View File

@@ -1,8 +1,16 @@
// Generated by PeakRDL-busdecoder - A free and open-source SystemVerilog generator
// https://github.com/arnavsacheti/PeakRDL-busdecoder
//==========================================================
// Package: {{ds.package_name}}
// Description: CPU Interface Bus Decoder Package
// Author: PeakRDL-BusDecoder
// License: LGPL-3.0
// Date: {{current_date}}
// Version: {{version}}
// Links:
// - https://github.com/arnavsacheti/PeakRDL-BusDecoder
//==========================================================
package {{ds.package_name}};
localparam {{ds.module_name.upper()}}_DATA_WIDTH = {{ds.cpuif_data_width}};
localparam {{ds.module_name.upper()}}_MIN_ADDR_WIDTH = {{ds.addr_width}};
localparam {{ds.module_name.upper()}}_SIZE = {{SVInt(ds.top_node.size)}};