Combine code and data space in external SRAM

Question: How can I connect an external SRAM, with PSEN# and OE# or-ed together, in order to combine code and data space (for debugging)?



In order to combine off chip code and data memory, you can connect the RAM_OE to the FX2LP's OE# (pin 38), RAM_WR to the FX2LP's WR# (pin 41) and the RAM_CS to the FX2LP's CS# (pin 42). Please make sure that the pin EA (pin 35) is held high. This would eliminate the use of PSEN# and an OR logic.