As far as I know, 30ns is a good ballpark for the propagation delay through the 74'139 inside the NES itself that causes this race.
I'll note that Nintendo's discrete logic mappers, such as UNROM (3), CNROM (2), and ANROM (7), just use a 74'161 with R/W connected to '161./LOAD and /ROMSEL connected to ↑CLOCK.
Gamerz Tek G8-Bit NES clone CIRAM /CE
Moderators: B00daW, Moderators
-
plainsteve
- Posts: 27
- Joined: Tue Jan 23, 2018 11:19 pm
Re: Gamerz Tek G8-Bit NES clone CIRAM /CE
I changed my experiment to continuously sample CPU R/~W after CPU ~ROMSEL falls. It mostly simulates asynchronous SRAM as far as the R/~W line goes, but only for 220ns. After that it ignores R/~W until the next falling edge of ~ROMSEL, when it offers another window of 220ns.
Seems to work: I can read the value sent to the ROM space and I don't get spurious reads--that I can tell. I'll do more rigorous tests later.
Thanks, lidnariq! Very helpful info.
Seems to work: I can read the value sent to the ROM space and I don't get spurious reads--that I can tell. I'll do more rigorous tests later.
Thanks, lidnariq! Very helpful info.