Skip to content

Commit

Permalink
Removed wrong assertion at the monitor
Browse files Browse the repository at this point in the history
Signed-off-by: Anderson Ignacio <anderson@aignacio.com>
  • Loading branch information
aignacio committed Nov 13, 2023
1 parent b931306 commit 0605a0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions cocotbext/ahb/ahb_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# License : MIT license <Check LICENSE>
# Author : Anderson I. da Silva (aignacio) <anderson@aignacio.com>
# Date : 27.10.2023
# Last Modified Date: 12.11.2023
# Last Modified Date: 13.11.2023
import cocotb
import logging
import random
Expand Down Expand Up @@ -52,9 +52,6 @@ async def _mon_master_txn(self):

while True:
await FallingEdge(self.clk)
if self.bus.htrans.value.is_resolvable and self.bus.hready.value.is_resolvable:
if self.bus.htrans.value == 0 and self.bus.hready == 0:
raise AssertionError("AHB PROTOCOL VIOLATION - TEST")

# print(f"pending: {pending}")
# Ensure master does not change its qualifiers before hready
Expand Down
2 changes: 1 addition & 1 deletion cocotbext/ahb/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.2.1"

0 comments on commit 0605a0f

Please sign in to comment.