My goal is to form this code with Quartus, but the problem is I don't know how to fix the problem. I've tried to know what Error 10028 means, but I cant figure out how to work with it. Can someone teach me how to fix it or if there's a way to bypass it?
module mem (r_wb,addr,d,q);
input r_wb;//0write 1read
input [7:0] addr;
input [7:0 ] d;
output [7:0] q;
reg [7:0] q;
reg [7:0] mem_bank [0:255];
always @(r_wb)
if (r_wb) q=mem_bank[addr];
else mem_bank[addr]=d;
always @(addr)
if (r_wb) q=mem_bank[addr];
else mem_bank[addr]=d;
always @(d)
if (r_wb) q=mem_bank[addr];
else mem_bank[addr]=d;
endmodule
always@*for combinational blocks. - sharvil111