Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

Help for Simple Coding of 32Bit Fixed-Point Divider in Verilog

$
0
0
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!

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>