1
0
mirror of https://github.com/olofk/serv.git synced 2026-04-28 21:17:20 +00:00

Introduce width parameter

Expose the width (or W internally) parameter to set the SERV
datapath width.

Note: Only width=1 is function at this time.
This commit is contained in:
Olof Kindgren
2024-10-05 12:02:34 +02:00
parent 1c5d44e5c4
commit 376dcd701d
9 changed files with 79 additions and 51 deletions

View File

@@ -8,6 +8,7 @@ module servant_sim
parameter memfile = "";
parameter memsize = 8192;
parameter width = 1;
parameter with_csr = 1;
parameter compressed = 0;
parameter align = compressed;
@@ -22,6 +23,7 @@ module servant_sim
servant
#(.memfile (memfile),
.memsize (memsize),
.width (width),
.sim (1),
.with_csr (with_csr),
.compress (compressed[0:0]),