Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHello,
Since I am a beginner in Altera and FPGAs I did not understand some of the points you made here. I quote what I did not understand below: --- Quote Start --- Knowing what a particular custom instruction actually does is something that you (as a system designer) need to know. If you build with the altera IDE scripts (etc) then the relevant constants are propagated through the system for you. Otherwise you have to make sure that the values match. --- Quote End --- What do you mean by propagating the relevant constants with altera IDE scripts build? My requirement here, is to implement an arbitrary precision integer logic on Altera DE2 FPGA. So I was wondering with the help of NIOS ii to add some custom instructions which can operate on multi clock cycles. Example usage: RSA algorithm implementation, where the key size can even go to 1024 bits. Since the register size is 32 bits, we can select 32 * 32 bit data chunks. So, is it the hardware engineer who implements the custom instructions on a NIOS ii? If so, on which layer I can see those instructions? (on a C language or a hardware verilog/vhdl). Can I be the one who can write a custom instruction on the NIOS ii core? Kindly excuse me here if I am asking dumb questions, still a learner. Thank You, Akhil