Text this: A Model of FPGA-based Direct Torque Controller