Skip to content

master_be_o signal in dm_sba.sv is not set correctly during reads #57

@cr8601

Description

@cr8601

Hi,
within lowrisc/opentitan project I came to a problem when accessing the system bus via JTAG. Your documentation (https://github.com/pulp-platform/riscv-dbg/blob/master/doc/debug-system.md) states the following regarding this master_be signal:

be 1 output Byte Enable. Is set for the bytes to write/read, sent together with req

Within dm_sba.sv this signal is always 0 during read transactions. In my opinion this behaviour does not reflect the documentation...

In case of opentitan this signal is used for the a_mask signal of the TLUL bus. I was suggested to raise this topic here in order to fix it at the root, if possible.

For my case simply inserting "be = '1;" into line 92 solved the problem.

Can someone please comment whether this could be changed here?

For reference here's the issue I raised within opentitan:
lowRISC/opentitan#2126

Best regards
cr8601

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions