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.

How to implement a divider by VHDL?

Status
Not open for further replies.

vkchau

Member level 4
Joined
Jun 7, 2003
Messages
74
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,288
Activity points
664
vhdl divider

I want to implement a divider in VHDL, operands are std_logic_vector(). How can I do it?
Thanks.
 

divider vhdl

vkchau said:
I want to implement a divider in VHDL, operands are std_logic_vector(). How can I do it?
Thanks.

Try this one.
 

vhdl divide

is not too hard.
You mest create a counter, and take une decode from this counter as output for your clock, if you resamople this whit the master clock is better.
And if you try is also happy.
bye.
G.
 

divide in vhdl

vkchau,

A little more info would be useful.

Are you trying to divide down a single signal, such as a clock, or do you want to divide a value (8-bit, 16-bit, ...)?

What value do you need to divide by? Is the divisor a multiple of 2 or something else?

Radix
 

divide vhdl

do want to implement your logic model by asic/fpga? or just to ask the statement of divide in VHDL?
 

divider in vhdl

Hi,

It is quite simple to implement a divider using a bit iterative algorithm, given that you have the time to do it iterative. I implemented one using a shift-subtract-compare method. The way I did it, it calculated one bit in the quotient in each iteration. This method only works for unsigned operands, so if you need signed operands you have to use some tricks.
It shouln't be too hard to find some info about divider algorithms using google.

Good luck!
/cyberdome
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top