Skip to content

BACKEND WIDTH 64 and N_WAY 2 in WRITE_BACK mode ERROR #257

@spzeno

Description

@spzeno
          Hi,I've fonud a testcase you mentioned above:

the iob-cache's parameter set is:
image
image

It's backend is 64 bit AXI interface and it is connected with a AXI-bus-matrix's master port.
A 64 bit memory with AXI interface is connected with AXI-bus-matrix's slave port.

if the software is this:

*(volatile int *)(0xf0088000) = 0x2;
if (*(volatile int *)(0xf0088000) != 0x2)
  uart0_putline("0xf0088000 fail\n");

then no fail msg uart will put.

However, if the software is this:

*(volatile int *)(0xf0088000) = 0x2;
*(volatile int *)(0xf0090000) = 0x3;
*(volatile int *)(0xf0098000) = 0x4;
if (*(volatile int *)(0xf0088000) != 0x2)
  uart0_putline("0xf0088000 fail\n");

error will happen:
image

the waveform:
image

I think that the errors may because of these signals
image

EDIT: I found that if I set cache's N_WAYS to 1, there will be no error

Originally posted by @spzeno in #241 (comment)

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