I am looking for a chip, but I don't quite know what it is called, so I would like to ask, whether someone could point me to the right direction.
The functionality of the block is very simple: it should set the 4 address lines of an I2C chip (at the moment, I set that with a small 8-pin DIP switch), and it should itself be capable of communicating via I2C, and it should save its state in non-volatile memory. I know that an I/O expander could do this, but that is already an overkill, because I need only 4 output lines, and and no inputs. I would also like to have a small footprint, so I don't want to use more pins than necessary. Something like the PCA9536 from Texas Instruments would be nice (though, that doesn't have non-volatile memory, and it has to be re-programmed at each boot-up).
In any case, if someone could suggest a solution, I would appreciate it.