Skip to content

vpi_get_str: unhandled property arises when BusMonitor object is created #71

@efedepeo

Description

@efedepeo

Hi,

I'm trying to create a BusMonitor object to be used in a Scoreboard for my testbench. I've just followed the approach of the mean example provided in the repository.

When I try to create the object a lot of vpi_get_str: unhandled property errors appear. Doing some debugging I detected this event arises when the function dir() in _caseInsensGetattr (line 78) of bus.py is called, the call comes from _add_signal in bus.py (line 83). I do not understand what this error means. The signals are called exactly as defined in the top entity.

If I try to create the BusMonitor with the parameter case_insensitive=False, the error disappear.

monitor_outs = MyMonitor(dut, "o", dut.clk, case_insensitive=False)

To complement the information I'm running this on a WSL 22.04, python 3.10.6 with cocotb 1.8.0 and cocotb-bus 0.2.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions