Nonlinear DC equivalent circuits for ferroelectric memristor and Its FSM application