SpinalHDL / VexRiscv

A FPGA friendly 32 bit RISC-V CPU implementation
MIT License
2.41k stars 407 forks source link

VexRiscv for custom processing in memory instructions #420

Open neha2351 opened 1 month ago

neha2351 commented 1 month ago

Hi ,

I am planning to customise the VexRiscv core and implement new plugin for processing in memory capabilities using one basic instruction lets say PIM_MEM_CPY which will copy the contents from the memory and paste it in the memory itself. Can this be done in a RISC way on this core?

Thanks

neha2351 commented 1 month ago

I plan to have a co-processor (PIM processor) in/near the memory for memory-intensive tasks. So the main task for this custom instruction will be to establish a communication between the CPU and the PIM processor to divide the memory-intensive tasks and establish a handshake. Any suggestions / relevant resources will be useful.

Dolu1990 commented 3 weeks ago

the CfuPlugin is kinda similar, probably a good one to look at as it fork/join instruction to streams