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.

Dividing large bit numbers in verilog (spartan 3e)

Status
Not open for further replies.

user_asic

Advanced Member level 4
Full Member level 1
Joined
Nov 13, 2009
Messages
100
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,298
Location
Canada
Activity points
1,836
Division is not one of the easiest functions to implement in digital systems. However I have a system which will be dividing very large bit numbers in excess of100 bits. The cores provided by chipscope cannot handle this sort of large scale division. How to tackle this issue?
 

u must read more about division - the successive methods in FPGA are not so much. i develop my own full pipelined divider (non-restoring algorithm), but if u want to use more than 16/8 bits the delay between carry in-carry out of SLICEs is too big and the speed decrease (may be under 150Mhz). If u want to divide big numbers - look around for some other decision of your basic alogrithm without division (or something based on >> ) or think for z = x . (1/y) , where 1/y is from look-up table with some error of coarse. the task is realy hard. u was posted your questions about some code in forums.xilinx.com (synthesis board), or i'm wrong?
 

Well I need to approximate the golden ratio by using fibonacci numbers. As you now, these numbers get extremely large. I know of no other way to do this. And yea, I also asked a few questions over at Xilinx.
 

100 bits seems like an extremely large number. But, if this is required for your application I am guessing you are going to have design your own divider circuit. I am guessing any of the standard divider circuits can be scaled up.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top