FPGA implementation of MAX197