Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Add a custom instruction with only one input - BSP auto generated

I've just created a custom instruction in Qsys that uses only one input. There is only dataa[] in the interface.

However the Eclipse generates a instruction with 2 operands.

#define ALT_CI_WELLPRNG_0(A,B) __builtin_custom_inii(ALT_CI_WELLPRNG_0_N,(A),(B))

Did I do anything wrong? Or should I always fix that by hand?

Thank you.

3 Replies