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 divider by input value

Status
Not open for further replies.

StayFoolish

Newbie level 1
Newbie level 1
Joined
Apr 15, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,286
So i need a DIVIDER that divides the clock by an input value that is given by port clock.png like this where Ptime is the value i want to divide the clock with. Thanks and sorry for my english.
 

So i need a DIVIDER that divides the clock by an input value that is given by port View attachment 89403 like this where Ptime is the value i want to divide the clock with. Thanks and sorry for my english.
I'd suggest that you use a counter preloaded with the port value that counts down to 1 and then resets back. Once the counter reaches the halfway point (i.e. the input port value divided by 2), set the output high, when it reaches 1 set the output back to 0.

Kevin Jennings
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top