Skip to content

Commit

Permalink
xilinx: flow_program/xc95: increase delay and use getClkFreq (issue #104
Browse files Browse the repository at this point in the history
)
  • Loading branch information
trabucayre committed Aug 4, 2022
1 parent be46b2c commit c6d79ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xilinx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c6d79ec

Please sign in to comment.