For example, a memory device, such as an EPROM or a static RAM, can be made to enter its test mode by requiring valid codes to be written to its latches, and then causing a control signal, such as a read signal, to transition to a predetermined level for a sufficient period of time.