How to reset flip flop in ATF16V8?
Here's my solution, thank you @Bruce Abbott







simulate this circuit &ndash; Schematic created using CircuitLab

This is a slightly modified version of the Z80 DRAM interface available at https://devster.monkeeh.com/z80/z80dram.gif, the main difference is that instead of using small pieces of several 74 series logic gates, I'm compressing all of the logic into a single ATF16V8 (It's still manufactured for some reason). If all goes well, I
want to drive 2 16K memory banks (32K total) from this one chip. That will leave room for up to 32K ROM, which is more than enough.