1. A system comprising: a floating-gate charge programmer; and a first floating-gate field effect transistor that is programmable by the floating-gate charge programmer to store a first floating-gate charge and produce at least one of a first reference voltage and a first reference current that is proportional to the first floating-gate charge.