aboutsummaryrefslogtreecommitdiff
path: root/rtl/montreal_pkg.sv
diff options
context:
space:
mode:
authorWarrick Lo <wlo@warricklo.net>2026-06-17 00:44:02 +0000
committerWarrick Lo <wlo@warricklo.net>2026-06-17 00:44:02 +0000
commitef9254b3303a03ea4ab3c32aaf1d79df651e3b92 (patch)
treedea7bd703dca6221b577b5d5f87b1f985f9f3297 /rtl/montreal_pkg.sv
parentregfile: refactor: 'chunks' are now 'slices' (diff)
downloadmontreal-ef9254b3303a03ea4ab3c32aaf1d79df651e3b92.tar.xz
montreal-ef9254b3303a03ea4ab3c32aaf1d79df651e3b92.zip
Move design parameters to config_pkg
Signed-off-by: Warrick Lo <wlo@warricklo.net>
Diffstat (limited to '')
-rw-r--r--rtl/montreal_pkg.sv8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtl/montreal_pkg.sv b/rtl/montreal_pkg.sv
new file mode 100644
index 0000000..b3a13a0
--- /dev/null
+++ b/rtl/montreal_pkg.sv
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: CERN-OHL-P-2.0 */
+
+package montreal_pkg;
+
+ typedef logic unsigned [config_pkg::XLEN-1:0] word_t;
+ typedef logic unsigned [config_pkg::SLICE_WIDTH-1:0] slice_t;
+
+endpackage : montreal_pkg