Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHelp with verilog code, calculator
Hello, i don't know if this is the correct place to put this post, if not, please move it! I'm a newbie when it comes to programming in Verilog, I'm currently working on a final project for my ...
josila
New Contributor
17 hours agoThe remainder approach is a great way to handle decimal output without using floating-point numbers. For example, 45 / 2 gives a quotient of 22 and a remainder of 1, so multiplying the remainder by 10 and dividing by 2 gives 5 for the first decimal digit. Fixed-point arithmetic is also worth exploring for FPGA calculators. I sometimes use this calculator to verify arithmetic examples: https://calculadora3.com.br/