-
Hi Stephan, Would really appreciate your help on this if you get a chance. I am injecting faults into Neorv32 while it is running some various simple algorithms and it is going well so far. But I would now like know if the faults are causing the algorithm to produce errors or cause the Neorv32 to crash etc. Currently the algorithm runs and I extract some data from inside Neorv32 (program counter etc). Now however I need Neorv32 to store the result from a number sorting algorithm for example somewhere where I can access the numbers to check for correctness with my own hardware all on chip. By default this data will be computed and stored in DMEM so should be able to use load/store instructions to move it somewhere else like custom hardware for example. So it seems I could use:
What is your opinion? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 27 replies
-
Hey @DS-567! How much data do you want to store? Is this data access/evaluated by the core itself or by some custom hardware module? From a functional point of view both of the concepts you mentioned would do the job. The CFS, however, can address up to 256 bytes (when not using some FIFO-based / pointer-like access mechanism). Wishbone-coupled devices are not limited and can occupy an address space of up to 4GB. |
Beta Was this translation helpful? Give feedback.
In theory this should work. Just enable the according channel right during the reset pulse:
neorv32/rtl/core/neorv32_xirq.vhd
Line 96 in dc15beb
But beware, this is not the intended functionality and I have never tested that 😅
Where did y…