-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_iostream: refactor SDR input sample test so it can be reused
This change makes the SDR input sample test parametrizable. The previous test relied on i_en having to toggle every clock cycle, so to remove that requirement we are now toggling the clk_out output every time i_en is on, and as such the `save_expected_sample_values_tb` testbench must also look at both edges of clk_out in order to determine when we're supposed to sample the signal. Docstrings have also been improved.
- Loading branch information
1 parent
d8a1cd4
commit 87118c2
Showing
1 changed file
with
127 additions
and
22 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