Method and apparatus for generating a test program for a programmable
logic device having an embedded processor. Predetermined code is obtained
to exercise at least one speed limiting path identified. To the
predetermined code is added wrapper code to provide the test program, the
wrapper code in part for loading the predetermined code into cache of the
embedded processor for testing the at least one speed limiting path of
the embedded processor identified.