A programmable-gain amplifier and an active inductor for in-vehicle power line communications