Altera_Forum
Honored Contributor
13 years agoHelp for Simple Coding of 32Bit Fixed-Point Divider in Verilog
Sorry if this post might be repeating questions asked in earlier posts (most I checked didn't really help). I am using Verilog to program.
My simple question is as following (it would be nice if the coding is as simple as possible):given two 32bit fixed-point integers ([31] = signed, [30:10] = integer value, [10:0] = fractional part), divide both inputs (a/b) and return a variable c with the same format. note: i want the divider to be able to output fractional values (i.e. 1 / 4 = .25)
Thanks!