Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Binary Divider Question 2010
#1
I am designing a digital divider with and 8 bit number divided by a four bit number. I have a specific question relating to the number of subtractions required.

I could be mistaken, but I believe it takes 5 clock cycles to divide a 8 bit by a four bit number. My question is, if I input a 3 bit number as the divisor into the same divider circuit, would the divisor require a left shift to match up with the 8 bit number and an extra clock cycle to divide the number correctly? Is there an easier way to do it?



You shift both the Dividend and the Divisor so the msb of each number is at the MSB of the 8bit number. You need to count the number of shifts: The counter is decremented with each shift of the dividend, and incremented with each shift of the divisor. I can't remember if you initiate the counter with 0 or 1, but I think it is 0.
This is then the counter you use for the actual division.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need LLB part 1 2012 annual question papers AfzalPSP 2 4,136 11-07-2012, 02:57 AM
Last Post: AfzalPSP
  Sta301 3rd question solution with explanations farukh.javed 3 2,557 11-17-2011, 05:08 PM
Last Post: stacy
  MTH401 Assignment, Question no2 solution mary444 6 3,101 11-14-2011, 04:06 AM
Last Post: Vuhelper
  Make your Vu final term fall 2010 paper request starting from 11 Feb, 2011 MBA 72 Crd Xpert 9 4,275 02-25-2011, 01:59 AM
Last Post: Xpert
  Now make request and 100% garnette fresh paper of vu final term fall 2010 Xpert 11 7,353 02-19-2011, 04:20 AM
Last Post: Xpert
  About Exam difficulty STA 301 fall 2010 Xpert 3 2,244 02-11-2011, 05:15 PM
Last Post: M.Ali
  PAK301 GDB 1 fall 2010 , plz share the solution here ... rehman 9 4,084 02-04-2011, 03:42 AM
Last Post: croooner
  Solution of MTH 101 Assignment #5 fall 2010, plz download here! rehman 0 1,974 01-29-2011, 05:33 AM
Last Post: rehman
  phy101 Assignment 5: (Fall 2010) sungraizfaryad 1 2,736 01-19-2011, 03:56 PM
Last Post: Xpert
  Riquire ISL(201) fall 2010 GDB#2 , solution rehman 0 2,315 01-18-2011, 10:15 PM
Last Post: rehman

Forum Jump:


Users browsing this thread: 1 Guest(s)