Altera_Forum
Honored Contributor
21 years agoStrange clock cycle delay in Custom instruction
Hi all!!
I implemented a custom instruction with the "Multi-Cycle Custom Instruction" technique. I used: clock, clk_en, reset, start, dataa[31..0], result[31..0]. My custom instruction perform in only 1 clock-cycle, but it isn't a combinatorial logic; I used registers. I simulated it and it works!! I obtain the result in a single clock-cycle. But when I imported it in SOPC Builder, it works only if I write that the operation takes 2 clock-cycle.... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Anyone encountered this problem? Bye! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif