Digital inverter or analog? Actually as you know, a transistor by itself is already an inverter however you can use resistive load inverter for digital circuits by having two mosfets, pmos at the top and nmos at the bottom. Their gates shall be connected and that connection should have a pulse signal in order to switch the mosfets.