Skip to content

Commit

Permalink
demote the response queue checker
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Apr 17, 2024
1 parent c7523fd commit 1304812
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions bus_env/bus_seq_lib/bus_seq_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ def __init__(self, name="bus_seq_base"):
self.req = bus_item()
self.rsp = bus_item()
self.tag = name
# disable checking for overflow if the response queue is full
# if respose checking is needed the sequence should take care of it
self.set_response_queue_error_report_disabled(1)
self.response_queue_error_report_disabled = 1

async def body(self):
# get register names/address conversion dict
Expand Down
10 changes: 3 additions & 7 deletions bus_env/bus_seq_lib/write_read_regs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from uvm.seq import UVMSequence
from uvm.macros.uvm_object_defines import uvm_object_utils
from uvm.macros.uvm_message_defines import uvm_info, uvm_fatal
from uvm.macros.uvm_sequence_defines import uvm_do_with, uvm_do
Expand All @@ -7,15 +6,12 @@
from uvm.base.uvm_config_db import UVMConfigDb
from cocotb_coverage.coverage import coverage_db
import os
from EF_UVM.bus_env.bus_seq_lib.bus_seq_base import bus_seq_base


class write_read_regs(UVMSequence):

class write_read_regs(bus_seq_base):
def __init__(self, name="write_read_regs"):
UVMSequence.__init__(self, name)
self.set_automatic_phase_objection(1)
self.req = bus_item()
self.rsp = bus_item()
super().__init__(name)
self.tag = name

async def body(self):
Expand Down

0 comments on commit 1304812

Please sign in to comment.