A device, comprising: a photodetector to generate an electrical signal in response to an optical signal; a transimpedance amplifier unit to receive the electrical signal, wherein the transimpedance amplifier unit comprises: a first inverter unit; a second inverter unit coupled to the first inverter unit; and a third inverter unit coupled to the second inverter unit, wherein the third inverter unit comprises: a feedback resistor (182, 282); and a first n-type transistor in parallel to the feedback resistor, wherein the first n-type transistor is to provide a variable gain of the third inverter unit; a low-pass filter coupled to the transimpedance amplifier unit to provide a direct current component of an output of the transimpedance amplifier unit; at least one current-mode logic buffer to receive an output of the transimpedance amplifier unit and to receive the direct current component of the output of the transimpedance amplifier unit from the low-pass filter; and a continuous time linear equalization unit to receive an output of the current-mode logic buffer, wherein each of the first inverter unit, the second inverter unit, and the third inverter unit comprises a pair of complementary transistors (222, 223, 225, 226, 228, 229), and each of the first inverter unit, the second inverter unit, and the third inverter unit are biased around the trip point of the transistors with an offset control loop that subtracts the average photocurrent from the electrical signal. a photodetector to generate an electrical signal in response to an optical signal; a transimpedance amplifier unit to receive the electrical signal, wherein the transimpedance amplifier unit comprises: a first inverter unit; a second inverter unit coupled to the first inverter unit; and a third inverter unit coupled to the second inverter unit, wherein the third inverter unit comprises: a feedback resistor (182, 282); and a first n-type transistor in parallel to the feedback resistor, wherein the first n-type transistor is to provide a variable gain of the third inverter unit; a first inverter unit; a second inverter unit coupled to the first inverter unit; and a third inverter unit coupled to the second inverter unit, wherein the third inverter unit comprises: a feedback resistor (182, 282); and a first n-type transistor in parallel to the feedback resistor, wherein the first n-type transistor is to provide a variable gain of the third inverter unit; a feedback resistor (182, 282); and a first n-type transistor in parallel to the feedback resistor, wherein the first n-type transistor is to provide a variable gain of the third inverter unit; a low-pass filter coupled to the transimpedance amplifier unit to provide a direct current component of an output of the transimpedance amplifier unit; at least one current-mode logic buffer to receive an output of the transimpedance amplifier unit and to receive the direct current component of the output of the transimpedance amplifier unit from the low-pass filter; and a continuous time linear equalization unit to receive an output of the current-mode logic buffer, wherein each of the first inverter unit, the second inverter unit, and the third inverter unit comprises a pair of complementary transistors (222, 223, 225, 226, 228, 229), and each of the first inverter unit, the second inverter unit, and the third inverter unit are biased around the trip point of the transistors with an offset control loop that subtracts the average photocurrent from the electrical signal.