Altera_Forum
Honored Contributor
11 years agoGate level simulation Custom Instruction
Hello,
I have this problem: I have developed a multicycle custom instruction in vhdl. I have done an RTL simulation in modelsim and all works fine (I simulate the custom instruction only, without the Nios II soft-core). Moreover, I have added the custom instruction to the Nios II soft-core with Nios wizard, and after the compilation i have used my custom instruction in the software using the Macro generated automatically, and all works fine. The problem is that i need to do also a gate level functional simulation and, when i try to do that for the only custom instruction re-using the same testbench stimulus of the RTL simulation, the custom instruction behaviour changes. Is gate level simulation possible to do for the only custion instruction? If yes, there are some particular synthesis setting for quartus? My doubt is that when the custom instruction is added to the Nios in the Nios wizard, automatically the vhdl file are synthesized in a particular way... Anyone can help me?