Altera_Forum
Honored Contributor
20 years agoMOVI2S, MOVS2I instruction equivalents
The attached file contains the implementation of two (2) custom instructions. The instructions correspond to the MOVI2S and MOVS2I classical DLX instructions. Their purpose is to provide a standard means for transfering registers from the coprocessor register file to the main (integer) register file and vice versa.
Here follows the content list: data_transfer.vhd : The actual implementation of the custom instructions component. data_transfer_ci.c : A simple test application. Feel free to provide any suggestions. Best regards Nikolaos Kavvadias P.S.: The files are provided "AS IS", no warranty whatsoever.