BEQ and LD fix
This commit is contained in:
@@ -31,7 +31,7 @@ module dataMemory(
|
||||
always@(address, clk, memory)begin
|
||||
if(clk == 1'b1)begin
|
||||
readData <= memory[address];
|
||||
if(writeEnable == 1'b0)begin
|
||||
if(writeEnable == 1'b1)begin
|
||||
memory[address] <= writeData;
|
||||
end
|
||||
else begin
|
||||
|
||||
Reference in New Issue
Block a user