added code for output enable and write enable signals for EEPROM devices