1. A method for implementing a programmable device, the method comprising: receiving information identifying a functional block count included in a high-level language program, wherein the functional block count is associated with a code sequence in the high-level language program; generating hardware acceleration logic for implementing the code sequence using the functional block count, wherein the functional block count specifies the number of functional blocks to use to implement the code sequence on the programmable device; and implementing the hardware acceleration logic on a programmable device having a processor core.