Skip to content

Commit

Permalink
Add ecppack --xsvf option (enabling XSVF output).
Browse files Browse the repository at this point in the history
The produced XSVF makes use of the Lattice LCOUNT/LDELAY/LSDR extensions.

There are two main advantages to XSVF over SVF: 1) potentially smaller
output files (when the increased density of binary encoding outweighs
the overhead of mandatory TDOs and masks in XSVF); and 2) the LSDR
instruction allows polling until the TAP is ready to accept the next
command.  This is particularly valuable when writing to SPI flash, since
the required delay can vary widely depending on the flash device, and
without repeated polling we are forced to impose a conservative delay
before one check for completion.

Signed-off-by: Gary Wong <[email protected]>
  • Loading branch information
garytwong committed Apr 22, 2020
1 parent c12ff50 commit 2c8809d
Showing 1 changed file with 366 additions and 110 deletions.
Loading

0 comments on commit 2c8809d

Please sign in to comment.