Altera_Forum
Honored Contributor
14 years agoQuestion about a simple combinationnal custom instruction
I'm trying to build a very simple custom instruction based on this piece of code :
module or_ci ( ncs_test_dataa, ncs_test_datab, ncs_test_result ); input [31:0] ncs_test_dataa; input [31:0] ncs_test_datab; output [31:0] ncs_test_result; assign ncs_test_result = ncs_test_dataa | ncs_test_datab; endmodule I imported this file using Component Editor; it appears in the Customs Instructions of my processor but when I try to generate, i get that error message : Error: cpu_or_ci_inst_0 is not connected to any master. Please connect it to a master of type nios_custom_instruction. I couldn't find any information about the Custom Instruction Master interface and can't understand the utility of it as the custom instruction slave should always be connected to the processor. Any idea ?