Forum Discussion
Altera_Forum
Honored Contributor
10 years agoCoding
hello, i doing a mass energy calculator (E = MC^2) for my Embedded systems project. since i am very new with FPGA and the ATLYS software. so can anyone give codes as to how i can save the const...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- hello, i doing a mass energy calculator (E = MC^2) for my Embedded systems project. since i am very new with FPGA and the ATLYS software. so can anyone give codes as to how i can save the constant for the value of "c" and later call it after user input and thus display on the FPGA board. --- Quote End --- First, you need do floating point to fix point number transform, then define a constant C*C, use this constant to multiply M.