mirror of
https://github.com/JefferyLi0903/MMC.git
synced 2025-01-22 10:22:53 +08:00
fix: style & bugs
This commit is contained in:
parent
38ecdbb1b1
commit
313c8d420d
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user