Regarding AXI slave error.

106 views
Skip to first unread message

saravanan

unread,
Dec 14, 2017, 2:08:14 AM12/14/17
to RISC-V HW Dev, RISC-V SW Dev (sw-dev@groups.riscv.org), nandhakumar d, HARI G S
Hi ,

I am trying to Read from MMIO mapped slave region from RISCV. Slave
response with slave error. But RISCV hangs in read.

In this do Mcause register has to be updated with Load access fault ? 
Or could please let me know, how to firmware handle this issue ?

Thanks

Saravanan


--
Mobiveil INC., CONFIDENTIALITY NOTICE: This e-mail message, including any
attachments, is for the sole use of the intended recipient(s) and may
contain proprietary confidential or privileged information or otherwise be
protected by law. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please notify the
sender and destroy all copies and the original message.

Megan Wachs

unread,
Dec 14, 2017, 12:52:39 PM12/14/17
to saravanan, RISC-V HW Dev, RISC-V SW Dev (sw-dev@groups.riscv.org), nandhakumar d, HARI G S
This is not  RISC-V architectural issue, this will depend on what implementation you are actually using. So you need to provide more information about the RISC-V implementation you're using (Spike? Rocket-Chip? a specific FPGA?), what memory region you're accessing, and what you expect to happen.

--
You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+un...@groups.riscv.org.
To post to this group, send email to hw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/9b3e0f71-b1e0-549a-0e46-a3701ec560af%40mobiveil.co.in.



--
Megan A. Wachs
Engineer | SiFive, Inc 
1875 South Grant Street
Suite 600
San Mateo, CA 94402

saravanan

unread,
Dec 15, 2017, 12:46:23 AM12/15/17
to Megan Wachs, RISC-V HW Dev, RISC-V SW Dev (sw-dev@groups.riscv.org), nandhakumar d, HARI G S

Hi Megan,

1. We are using rocketchip.

2. I am trying to access axi slave which is mapped in MMIO space. As we are accesing the slave without configuring it it return axi slave error. This is expected behavior.

3. My assumption  is

           i. During write, if we get slave error, then store access fault should be set in mcause register.

           ii. During read, if we get slave error, then Load access fault should be set in mcause register.

           Do my assumption is right ?


Thanks

Saravanan

Reply all
Reply to author
Forward
0 new messages