#AT89S8253 with 12kB FLASH and 32kB external RAM replicated using #altera CYCLONE IV #FPGA #EP4CE10E22C8. Both hardware uses the same firmware BASIC-52 V1.31+I2C and SFR functions. FPGA implemented with #80C52 softcore, 12kB ROM for code and 32kB RAM. #PCF8574 test using LED.