Compact EEPROM-based Weight Functions