Skip to content

Commit

Permalink
[topgen] Support for multiple rv_dm instances
Browse files Browse the repository at this point in the history
There might be multiple rv_dm instances in the system. Therefore,
use the module type to determine there is no DIF for rv_dm modules
rather than the name

Signed-off-by: Robert Schilling <[email protected]>
  • Loading branch information
Razer6 committed Apr 29, 2024
1 parent ded45ac commit c142652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/topgen/c_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _get_alert_peripherals(self):
continue

# RV_DM module does not have DIF.
if inst_name == "rv_dm":
if entry['type'] == "rv_dm" or entry['type'] == "rv_dm_v1":
continue

for item in self.top['module']:
Expand Down

0 comments on commit c142652

Please sign in to comment.