xilinx: flow_program/xc95: increase delay and use getClkFreq (issue #104)

This commit is contained in:
Gwenhael Goavec-Merou 2022-08-04 08:07:55 +02:00
parent be46b2cfd6
commit c6d79ec2e8
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ bool Xilinx::flow_program(JedParser *jed)
_jtag->shiftDR(wr_buf, NULL, 8 * (_xc95_line_len + 2));
if (ii == 14)
_jtag->toggleClk(20000);
_jtag->toggleClk((_jtag->getClkFreq() * 50) / 1000);
else
_jtag->toggleClk(1);