overhaul resetting logic in Process.java, it now works with the fpga!