aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-05 12:56:47 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-05 12:56:47 +0200
commitb4e6d666a8c625e1c962312f7f2eb4cb54395dc7 (patch)
tree823db523801907c9c22c62937f2a6174c763bcf5
parentdb138d654e4cfe8b7c143588735ae0405a09c8bc (diff)
downloadAGH-engineering-thesis-b4e6d666a8c625e1c962312f7f2eb4cb54395dc7.tar.gz
AGH-engineering-thesis-b4e6d666a8c625e1c962312f7f2eb4cb54395dc7.zip
replace fixed-width constant from now-parameterized wb slave model
-rw-r--r--models/slave.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/slave.v b/models/slave.v
index 4f2cb5c..f062a04 100644
--- a/models/slave.v
+++ b/models/slave.v
@@ -98,7 +98,7 @@ module memory_slave_model
/* only drive data outputs for read commands */
assign DAT_O = (command_acknowledged && !WE_I_to_process) ?
- memory[ADR_I_to_process] : 16'bx;
+ memory[ADR_I_to_process] : {(8 * WORD_SIZE - 1){1'bx}};
assign STALL_O = !can_accept;