-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use DPIC-function to return deferred result (#250)
Before this commit, we fetch simv_result at 5000 cycles. Only when the result is not zero, it works and stop simulation. Now we use DPIC function to implement the return of simv_result when not zero, so only one DPIC function will be used to stop simulation. That will reduce the cost of fetch and get result return faster.
- Loading branch information
Showing
2 changed files
with
44 additions
and
29 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