-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid wide signals in sensitivity lists of immediate assertions
Verilator has decent support for various types of assertions by now but dislikes wide signals (e.g., wider than 64 bits) in sensitivity lists.
- Loading branch information
1 parent
10dac0f
commit a0525f7
Showing
2 changed files
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,7 +146,7 @@ module addr_decode_dync #( | |
// check_start: Enforces a smaller start than end address. | ||
// check_idx: Enforces a valid index in the rule. | ||
// check_overlap: Warns if there are overlapping address regions. | ||
always @(addr_map_i or config_ongoing_i) #0 begin : proc_check_addr_map | ||
always @* begin : proc_check_addr_map | ||
Check warning on line 149 in src/addr_decode_dync.sv GitHub Actions / Verilog Sources
|
||
if (!$isunknown(addr_map_i) && ~config_ongoing_i) begin | ||
for (int unsigned i = 0; i < NoRules; i++) begin | ||
check_start : assume (Napot || addr_map_i[i].start_addr < addr_map_i[i].end_addr || | ||
|
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 |
---|---|---|
|
@@ -133,7 +133,7 @@ module multiaddr_decode #( | |
|
||
// These following assumptions check the validity of the address map. | ||
// check_idx: Enforces a valid index in the rule. | ||
always @(addr_map_i) #0 begin : proc_check_addr_map | ||
always @* begin : proc_check_addr_map | ||
Check warning on line 136 in src/multiaddr_decode.sv GitHub Actions / Verilog Sources
|
||
if (!$isunknown(addr_map_i)) begin | ||
for (int unsigned i = 0; i < NoRules; i++) begin | ||
// check the SLV ids | ||
|