1. A method for implementing a programmable device, the method comprising: receiving a high-level language program, the high-level language program configured to run on a conventional central processing unit; identifying a hardware resource count included in the high-level language program, wherein the hardware resource count is associated with a code sequence in the high-level language program; generating hardware acceleration logic for implementing the code sequence using the hardware resource count, wherein the hardware resource count specifies the number of resources to use to implement the code sequence on the programmable device; and connecting the hardware acceleration logic to memory on the programmable device.
1. A method for implementing a programmable device, the method comprising: receiving a high-level language program, the high-level language program configured to run on a conventional central processing unit; identifying a hardware resource count included in the high-level language program, wherein the hardware resource count is associated with a code sequence in the high-level language program; generating hardware acceleration logic for implementing the code sequence using the hardware resource count, wherein the hardware resource count specifies the number of resources to use to implement the code sequence on the programmable device; and connecting the hardware acceleration logic to memory on the programmable device. 5. The method of claim 1 , wherein the hardware resource count is associated with a maximum resource count.