Floating Gate devices: operation and compact modeling