Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Signed Integer Division VHDL

Status
Not open for further replies.

ranbi

Newbie level 5
Joined
Nov 23, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,358
I wrote non-restoring parallel divider for 10 by 10. However i didnt get the speed i required. My main concern is speed. I didnt use the serialized divider coz of tht but I really need a fast signed division in vhdl. A code would be excellent but if any architecture available will be helpful too. I'm using modelsim. I'm designing my whole design in VHDL to implement an ASIC design. The divider is part of it and I think its the only reason why the entire design is slow. So plz any help in speeding up my divider

Thanks
 

I wrote non-restoring parallel divider for 10 by 10. However i didnt get the speed i required. My main concern is speed. I didnt use the serialized divider coz of tht but I really need a fast signed division in vhdl. A code would be excellent but if any architecture available will be helpful too. I'm using modelsim. I'm designing my whole design in VHDL to implement an ASIC design. The divider is part of it and I think its the only reason why the entire design is slow. So plz any help in speeding up my divider

Thanks

Google for lpm_divide. This will get you a pipelined divider. The clock frequency will be very good, and you can input new numbers to divide on every clock cycle, but you have to wait a number of clock cycles for the results to propogate through the pipeline.

Kevin Jennings
 
  • Like
Reactions: ranbi

    ranbi

    Points: 2
    Helpful Answer Positive Rating
I googled lpm_divide but it seems i need to use altera to implement it. I'm using modelsim

---------- Post added at 08:09 ---------- Previous post was at 08:05 ----------

Thanks KJ i did more googling and found the lpm_divide package
 

I googled lpm_divide but it seems i need to use altera to implement it. I'm using modelsim

---------- Post added at 08:09 ---------- Previous post was at 08:05 ----------

Thanks KJ i did more googling and found the lpm_divide package

Hi Ranbi,

I googled, but could not find lpm_divide package. Can you tell me the link
 

Also, in the event you are dividing by a constant, you should instead use a multiplier by 1/x.

eg, compute x*(1024/k) and then keep the 10 msb's.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top