i used info from here, and from another place, but i lost the link. i recognize write to 1FF0-1FF3 as bank select operation, i copy two lowest bits of address bus to bank switch register.
verilog code: if(!we & !ce & addr[12:2] == 11'b11111111100)sf_map[1:0] <= addr[1:0];
sf_map[1:0] decide which of 512kbyte banks will be mapped



Reply With Quote






Bookmarks