using different address now finally works!

This commit is contained in:
AngeloJacobo 2023-08-20 11:52:54 +08:00
parent 00757338da
commit a8aec13ed9
1 changed files with 2 additions and 2 deletions

View File

@ -51,13 +51,13 @@
if(rd_data >= 97 && rd_data <= 122) begin //write
i_wb_stb <= 1;
i_wb_we <= 1;
i_wb_addr <= 0;
i_wb_addr <= rd_data;
i_wb_data <= rd_data;
end
else if(rd_data >= 65 && rd_data <= 90) begin //read
i_wb_stb <= 1; //make request
i_wb_we <= 0; //read
i_wb_addr <= 0;
i_wb_addr <= rd_data + 8'd32;
end
/*
case(rd_data)