1. A computer comprising: a memory including instructions stored thereon; and a processor communicatively coupled to the memory, wherein the instructions, when executed by the processor, causes the processor to: convert source code into an automaton comprising states and transitions between the states, wherein the states in the automaton include a special purpose state that corresponds to a special purpose hardware element; convert the automaton into a netlist; and place and route the netlist to provide machine code for configuring a target device.