svf: implement sleep for RUNTEST min_time
commitd356034f03eb60fd4e8b3537bd979d9e7e5e25f8
authorJon Povey <jon.povey@racelogic.co.uk>
Sun, 2 Jan 2011 14:52:48 +0000 (2 23:52 +0900)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 2 Jan 2011 19:02:16 +0000 (2 20:02 +0100)
treefea0d9809e30d584cb26c89a1f412346fc771f93
parent18a5a46bd94f6e224151ba62c0b9094a96b7387a
svf: implement sleep for RUNTEST min_time

Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
min_time was effectively ignored, I needed it to program a Lattice MachXO
which uses a RUNTEST to wait for an erase operation, amongst other things.

With this patch pauses happen and I can program the device with an SVF
generated in LSC ispVM (with "Rev D Standard" checked to suppress
nonstandard LOOP statements)
src/svf/svf.c