From 0605a0f530cd6905408ce3c91ad3985d40ef5707 Mon Sep 17 00:00:00 2001 From: Anderson Ignacio Date: Mon, 13 Nov 2023 00:58:22 +0000 Subject: [PATCH] Removed wrong assertion at the monitor Signed-off-by: Anderson Ignacio --- cocotbext/ahb/ahb_monitor.py | 5 +---- cocotbext/ahb/version.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cocotbext/ahb/ahb_monitor.py b/cocotbext/ahb/ahb_monitor.py index 3373460..11579f2 100644 --- a/cocotbext/ahb/ahb_monitor.py +++ b/cocotbext/ahb/ahb_monitor.py @@ -4,7 +4,7 @@ # License : MIT license # Author : Anderson I. da Silva (aignacio) # Date : 27.10.2023 -# Last Modified Date: 12.11.2023 +# Last Modified Date: 13.11.2023 import cocotb import logging import random @@ -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 diff --git a/cocotbext/ahb/version.py b/cocotbext/ahb/version.py index d3ec452..3ced358 100644 --- a/cocotbext/ahb/version.py +++ b/cocotbext/ahb/version.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "0.2.1"