Apr 13, 2011 #1 W watabe112 Member level 2 Joined Feb 14, 2011 Messages 43 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,288 Activity points 1,606 can anyone give me the code in verilog on how to divide two binary number.......i need to divide two 24bit binary number......can anyone help me.....
can anyone give me the code in verilog on how to divide two binary number.......i need to divide two 24bit binary number......can anyone help me.....
Apr 13, 2011 #2 saad Advanced Member level 4 Joined Jun 8, 2005 Messages 101 Helped 10 Reputation 20 Reaction score 7 Trophy points 1,298 Location Pakistan Activity points 2,080 watabe112 said: can anyone give me the code in verilog on how to divide two binary number.......i need to divide two 24bit binary number......can anyone help me..... Click to expand... here is a simple algorithm for division of binary numbers ==> Click here to see the link for Binary Division. I am afraid you will need to make verilog code of this algorithm yourself. I am also making a come back to verilog programming so I will give this binary division algorithm a try as well. Lets see who gets this algorithm complete first Saad Last edited: Apr 13, 2011
watabe112 said: can anyone give me the code in verilog on how to divide two binary number.......i need to divide two 24bit binary number......can anyone help me..... Click to expand... here is a simple algorithm for division of binary numbers ==> Click here to see the link for Binary Division. I am afraid you will need to make verilog code of this algorithm yourself. I am also making a come back to verilog programming so I will give this binary division algorithm a try as well. Lets see who gets this algorithm complete first Saad
Apr 14, 2011 #3 W watabe112 Member level 2 Joined Feb 14, 2011 Messages 43 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,288 Activity points 1,606 can u give me the code....please
Apr 19, 2011 #4 blooz Advanced Member level 2 Joined Dec 29, 2010 Messages 560 Helped 121 Reputation 242 Reaction score 116 Trophy points 1,343 Location India Activity points 4,985 watabe112 said: can u give me the code....please Click to expand... Here are some good links that you can follow to get lots of information about FLoating point "What Every Computer Scientist Should Know About Floating-Point Arithmetic" 1.h**p://download.oracle.com/docs/cd/E19957-01/806-3568/ncg_goldberg.html 2.h**p://www.vhdl.org/fphdl/old_index.html General Material on the Floating Point Arithmetic useful Info
watabe112 said: can u give me the code....please Click to expand... Here are some good links that you can follow to get lots of information about FLoating point "What Every Computer Scientist Should Know About Floating-Point Arithmetic" 1.h**p://download.oracle.com/docs/cd/E19957-01/806-3568/ncg_goldberg.html 2.h**p://www.vhdl.org/fphdl/old_index.html General Material on the Floating Point Arithmetic useful Info