1
0
mirror of https://github.com/olofk/serv.git synced 2026-04-25 03:46:52 +00:00

Add debug module

This commit is contained in:
Olof Kindgren
2024-08-22 22:21:41 +02:00
parent 376dcd701d
commit 2bcf4104d0
8 changed files with 269 additions and 7 deletions

View File

@@ -8,11 +8,12 @@
`default_nettype none
module servile
#(
parameter width = 1,
parameter width = 1,
parameter reset_pc = 32'h00000000,
parameter reset_strategy = "MINI",
parameter rf_width = 2*width,
parameter [0:0] sim = 1'b0,
parameter [0:0] debug = 1'b0,
parameter [0:0] with_c = 1'b0,
parameter [0:0] with_csr = 1'b0,
parameter [0:0] with_mdu = 1'b0,
@@ -203,6 +204,7 @@ module servile
.PRE_REGISTER (1'b1),
.RESET_STRATEGY (reset_strategy),
.RESET_PC (reset_pc),
.DEBUG (debug),
.MDU (with_mdu),
.COMPRESSED (with_c))
cpu