Simulation of FeFET-based basic logic circuits and current sense amplifier