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.

[vhdl]how to implement "division" ?thx!!

Status
Not open for further replies.

vvsvv

Full Member level 1
Full Member level 1
Joined
May 26, 2004
Messages
98
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
796
esp. when the divisor is 720,
what shall I do in vhdl?

man I :

.......
if(count/720=2) then
..............................
OR

if(count mod 720 )

.........................
thank u very much!
 

As I know, in almost synthesizers, divisor must be power of 2, e.g. 2, 4, 8, 16,... Therefore, you must write VHDL code to implement divider, or use available code libraries for divider.
 

thanks.
however , is it to say"the divisor must be 2. 4.8 .16....... "?
do you know where I may find the library which include the division?

thanks again!
 

Yes, other divisors is not supported by synthesizers when signals is std_logic_vector. I have this code, I will send to you early.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top