From e724f3543ea145386ca02999346bc784ee6e448f Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Fri, 4 Sep 2020 17:22:40 +0200 Subject: fix master after parametrization --- models/master.v | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'models/master.v') diff --git a/models/master.v b/models/master.v index 5c8bacf..85656f3 100644 --- a/models/master.v +++ b/models/master.v @@ -143,22 +143,22 @@ module master_model /* Drive the outputs */ - reg strobe; + reg strobe; assign STB_O = strobe; - reg cycle; + reg cycle; assign CYC_O = cycle; - reg write_enable; + reg write_enable; assign WE_O = write_enable; - reg [15:0] output_data; + reg [WORD_BITS - 1 : 0] output_data; assign DAT_O = output_data; - reg [19:0] addr; + reg [ADR_BITS - 1 : 0] addr; assign ADR_O = addr; - reg done; + reg done; assign finished = done; initial begin -- cgit v1.2.3