Ram cleanup

This commit is contained in:
David Harris 2022-08-24 16:30:25 -07:00
parent bcb52acfba
commit b21b91234b

View File

@ -54,7 +54,7 @@ module ram #(parameter BASE=0, RANGE = 65535) (
// a new AHB transactions starts when HTRANS requests a transaction, // a new AHB transactions starts when HTRANS requests a transaction,
// the peripheral is selected, and the previous transaction is completing // 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 memwrite = initTrans & HWRITE;
assign memread = initTrans & ~HWRITE; assign memread = initTrans & ~HWRITE;