I'm using an EEPROM to replace combinational logic. The address is the decimal number in binary (or the counter). The data out is the 7-seg display (the leftmost bit is the decimal point).