-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Macro Support + TV Generation Cleanup #43
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add two flags to `main` to output metadata related to coverage, one for all fault points and one for fault points that are covered by the output test vectors.
* Generation reworked: Each test vector is generated entirely ahead of time then cut into bits instead of generated segment by segment * Added new TVGenerator, `PatternGenerator`, that is not random and uses the following pattern(s) depending on the iteration count: * All 0 * All 1 * Half 0, Half 1 * Half 1, Half 0 * Alternating 0s and 1s * Alternating 1s and 0s * Moving `max(1, min(32, bits/4))` window of 1s (even) and the complement of that (odd) * TVGenerators now take a seed, fixed default seed but can be changed over CLI * Fixed test * Incorporated `ARC4RandomNumberGenerator`from Swift TensorFlow sources (takes a seed)
donn
changed the title
Add support for multiple black-boxed macros
Multiple Macro Support + TV Generation Cleanup
Jan 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fault jtag
simulations--blackbox
names of modules (not instances) inside the design to be blackboxed (i.e. connections treated as outputs or inputs to the circuit): Added tochain
,cut
--blackboxModels
: Verilog files containing behavioral models for black-boxed instances for simulation: Added tochain
,jtag
and must be readable by Pyverilog (sorry)--output-fault-points
: Outputs all detected fault points: Added tomain
--output-covered
: Outputs coverage metadata: Added tomain
Module
, which captures and stores metadata about modulesmodels
instead of separatecells
andincludes
fault chain
to support multiple macros (and general code quality)RNG
intoTVGenerator
(the previous kind was renamedExternalTVGenerator
, should eventually be the same class when I have the time)TVGenerator
,PatternGenerator
, that is not random and uses the following pattern(s) depending on the iteration count:max(1, min(32, bits/4))
window of 1s (even) and the complement of that (odd)TVGenerators
now take a seed, fixed default seed but can be changed over CLIARC4RandomNumberGenerator
from Swift TensorFlow sources, which is seededfault asm
did not load some input names correctlyTesting
TripleDelay
, to test the use of macros