Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to modify the axi data width but failed #234

Open
hellcer opened this issue Jul 25, 2023 · 0 comments
Open

Try to modify the axi data width but failed #234

hellcer opened this issue Jul 25, 2023 · 0 comments

Comments

@hellcer
Copy link

hellcer commented Jul 25, 2023

In order to analyze the impact of interface bandwidth on the operating efficiency of ara, I modified the param 'AxiWideDataWidth' in the file 'ara_tb.v' from '64 * NrLanes / 2' to '64 * NrLanes * 2'. However, after the modification, the CPU threw an exception at a very early moment and the testbench ended.
The information given by tb is:
image

Compared with trace_hart, I found that the processor PC is running normally between 0x8000_0000-0x8000_0e4a. When it jumps out of the function <_out_char>, the pc is correct (0x80001116) but the wrong instr value is taken out, causing the processor to enter exception handling:
image

The correct instruction at 0x80001116 should be:
image

This error is so weird, I don't know if it's the memory loaded program or the bus or something. But I do need to modify the bandwidth from ara to L2. I wonder if there is a more reasonable method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant