From 85359906f9492dceed339896c293a90031b05680 Mon Sep 17 00:00:00 2001 From: JefferyLi0903 Date: Sat, 6 May 2023 14:21:43 +0800 Subject: [PATCH] fix: style & bugs --- rtl/peripherals/Block_RAM.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/peripherals/Block_RAM.v b/rtl/peripherals/Block_RAM.v index aa303ac..654e76c 100644 --- a/rtl/peripherals/Block_RAM.v +++ b/rtl/peripherals/Block_RAM.v @@ -12,7 +12,7 @@ module Block_RAM #( (* ram_style="block" *)reg [31:0] mem [(2**(ADDR_WIDTH))-1:0]; initial begin - $readmemh("D:/Documents/MMC/keil/MMC.hex",mem);end + $readmemh("../keil/MMC.hex",mem);end always@(posedge clka) begin if(wea[0]) mem[addra][7:0] <= dina[7:0];