Ram cleanup

This commit is contained in:
David Harris 2022-08-24 16:30:25 -07:00
parent e2138d8d0f
commit 9d5468887e

View File

@ -54,7 +54,7 @@ module ram #(parameter BASE=0, RANGE = 65535) (
// a new AHB transactions starts when HTRANS requests a transaction,
// the peripheral is selected, and the previous transaction is completing
assign initTrans = HREADY & HSELRam & (HTRANS[1]);
assign initTrans = HREADY & HSELRam & HTRANS[1];
assign memwrite = initTrans & HWRITE;
assign memread = initTrans & ~HWRITE;