Skip to content

Commit ccb11ff

Browse files
authored
Merge pull request trabucayre#534 from phdussud/master
Fix incompatibility with Lattice FPGA
2 parents 80dcb6b + 6623cef commit ccb11ff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/svf_jtag.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ void SVF_jtag::parse_runtest(vector<string> const &vstr)
230230
}
231231
_jtag->set_state(_run_state);
232232
_jtag->toggleClk(nb_iter);
233-
if (min_duration > 0) {
233+
_jtag->flush();
234+
if (min_duration > 0)
235+
{
234236
usleep((useconds_t)(min_duration * 1.0E6));
235237
}
236238
_jtag->set_state(_end_state);

0 commit comments

Comments
 (0)