Replies: 2 comments 1 reply
-
Hi @nickg, I was wondering if this is something you would be open to. The goals of fault simulation typically are:
Having at least the first one would be a major thing in an open source tool.
When an ASIC is being manufactured, having high fault coverage is important to get small amount of defective parts in the field. The fault coverage can be obtained from ATPG (for automated test patterns), or by fault-simulation. During fault simulation, a tool simulates DUT two times:
In the gold simulation, the simulator applies the stimuly (either test-bench around a DUT, or VCD input),
Then in a faulty simulation, the simulator applies the same stimuli to DUTs input / inout pins, and compares Then the simulator loops through all faults in the device, and fault-simulates each one of them. The There are different fault models, the basic "stuck-at" fault model would be a good place to start. Obviously there are more elaborate options possible, but this simple approach would be a good place |
Beta Was this translation helpful? Give feedback.
-
Yeah, that is a good idea. I think the commercial tools use similar approach, e.g. waveform viewer communicates with simulator via VPI / VHPI to query the design hierarchy. Looking at the VPI definition in System Verilog LRM, there is |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
just capturing an idea. @nickg as you are now working towards
Verilog implementation, it is likely that NVC will be able to parse a verilog
netlist soon (netlists usually contain only structural Verilog, so very small sub-set of the language).
It would be nice to try to simulate an input test pattern (e.g. in VCD or STIL),
and measure fault coverage obtained by such pattern.
Beta Was this translation helpful? Give feedback.
All reactions