forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[entropy_src, dv] Move assertion control code out of sequence
This change fixes a build issue seen when trying to run the entropy_src using VCS simulator. The code to disable assertion from within sequences using XMR doesnt compile.This is because VCS prohibits SV class inside a package to have XMRs to code in module outside The solution implemented in this commit moves the functions containing assert_off tasks to the entropy_src_path_if. These functions are then called as appropriate from the sequences using a handle to the virtual interface Signed-off-by: Venkat Krishnan <[email protected]>
- Loading branch information
1 parent
69fb072
commit 8a1401d
Showing
3 changed files
with
77 additions
and
59 deletions.
There are no files selected for viewing
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
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
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