Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

vyges-dft — scan insertion

Installed with the physical engines. Install it with vyges install physical, then run vyges physical dft. It is also a standalone vyges-dft binary on your PATH (the integration contract for flow authors). Source: vyges-tools/dft.

A chip has to be testable once it is made. Scan chains turn every flip-flop into a point a tester can set and read; vyges-dft builds them in the design database.

commanddoes
replaceeach flip-flop replaced by its closest scan equivalent in the library
reportthe scan chains as they would be built, by clock domain and edge
runthe planned chains stitched (scan out to scan in, enables and ports added) and recorded

Run it

vyges install physical                                                  # one-time
vyges physical dft replace synth.odb --liberty cells.lib -o scan.odb
vyges physical dft report scan.odb --liberty cells.lib --sdc top.sdc --max-length 100
vyges physical dft run scan.odb --liberty cells.lib --sdc top.sdc --max-length 100 -o stitched.odb

--max-length and --max-chains bound the chains; --clock-mixing no_mix keeps every chain in one clock domain, clock_mix lets a chain cross them. replace refuses a library where two scan cells are equally close in drive to a flop, rather than pick one arbitrarily.