forked from VUnit/vunit
-
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.
Improved log_active preprocessor for wait statements.
- Loading branch information
1 parent
bb07896
commit 5a374f4
Showing
8 changed files
with
131 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="highlight"><pre><span></span><span class="n">vu</span> <span class="o">=</span> <span class="n">VUnit</span><span class="o">.</span><span class="n">from_argv</span><span class="p">()</span> | ||
<span class="n">vu</span><span class="o">.</span><span class="n">enable_location_preprocessing</span><span class="p">()</span> <span class="c1"># order = 1000 if no other value is provided</span> | ||
<span class="n">vu</span><span class="o">.</span><span class="n">add_preprocessor</span><span class="p">(</span><span class="n">WaitStatementPreprocessor</span><span class="p">(</span><span class="n">order</span><span class="o">=</span><span class="mi">1001</span><span class="p">))</span> | ||
<span class="n">vu</span><span class="o">.</span><span class="n">enable_location_preprocessing</span><span class="p">()</span> <span class="c1"># order = 100 if no other value is provided</span> | ||
<span class="n">vu</span><span class="o">.</span><span class="n">add_preprocessor</span><span class="p">(</span><span class="n">WaitStatementPreprocessor</span><span class="p">(</span><span class="n">order</span><span class="o">=</span><span class="mi">99</span><span class="p">))</span> | ||
</pre></div> |
2 changes: 1 addition & 1 deletion
2
docs/blog/img/vunit_events/log_for_check_latency_with_vunit_error.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="highlight" style="background: #002b36; color: #eee8d5;"><pre style="line-height: 125%; background: #002b36; color: #eee8d5;"><span style="color: #2aa198; ">178000000 fs</span> - <span style="font_weight: bold; color: #eee8d5; ">vunit_lib</span><span style="font_weight: bold; color: #2aa198; ">:</span><span style="font_weight: bold; color: #eee8d5; ">event_pkg</span> - <span style="font_weight: bold; color: #eee8d5; ">INFO</span> - Event vunit_lib:vunit_error activated while waiting on "wait until is_active(new_data_set);" | ||
<div class="highlight" style="background: #002b36; color: #eee8d5;"><pre style="line-height: 125%; background: #002b36; color: #eee8d5;"><span style="color: #2aa198; ">178000000 fs</span> - <span style="font_weight: bold; color: #eee8d5; ">vunit_lib</span><span style="font_weight: bold; color: #2aa198; ">:</span><span style="font_weight: bold; color: #eee8d5; ">event_pkg</span> - <span style="font_weight: bold; color: #eee8d5; ">INFO</span> - Event vunit_lib:vunit_error activated while waiting on "wait until is_active(new_data_set);" (tb_event.vhd:417) | ||
<span style="color: #2aa198; ">178000000 fs</span> - <span style="font_weight: bold; color: #eee8d5; ">check</span> - <span style="font_weight: bold; color: #cb4b16; ">ERROR</span> - Equality check failed for #processed samples - Got 0000_0101 (5). Expected 10 (0000_1010). (tb_event.vhd:265) | ||
</pre></div> |
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
Oops, something went wrong.