Merge pull request #534 from phdussud/master

Fix incompatibility with Lattice FPGA
This commit is contained in:
Gwenhael Goavec-Merou 2025-03-30 08:56:35 +02:00 committed by GitHub
commit ccb11ffe01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -230,7 +230,9 @@ void SVF_jtag::parse_runtest(vector<string> const &vstr)
}
_jtag->set_state(_run_state);
_jtag->toggleClk(nb_iter);
if (min_duration > 0) {
_jtag->flush();
if (min_duration > 0)
{
usleep((useconds_t)(min_duration * 1.0E6));
}
_jtag->set_state(_end_state);