djstar
Newbie level 3
- Joined
- Aug 5, 2010
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,316
Hi,
I'm an analogue engineer with no expeirnce in VHDL so i've grabbed a couple of books from the library and borrowed a terasic DE0 board to have a play around with.
What I fundamentally want to do at this stage is to have a input pulse which is coming from a de bounced push button switch. On every rising edge of the switch the counter will increase by 1 until it reaches a set number which will be user selectable from the 10 toggle switches. Once the count is equal to this number a 100 ns pulse will be outputted to a output pin and the counter will reset and start again. it is basically scaling down a signal to a user defined ratio such as for every 8 pulse output 1 pulse.
I am not after the answer because i wont learn any thing, but rather a bit of a steer in the right direction, i've tried getting my head around some examples of VHDL counters but at this stage it is getting a bit confusing.
Any help would be greatly appreciated.
liam
I'm an analogue engineer with no expeirnce in VHDL so i've grabbed a couple of books from the library and borrowed a terasic DE0 board to have a play around with.
What I fundamentally want to do at this stage is to have a input pulse which is coming from a de bounced push button switch. On every rising edge of the switch the counter will increase by 1 until it reaches a set number which will be user selectable from the 10 toggle switches. Once the count is equal to this number a 100 ns pulse will be outputted to a output pin and the counter will reset and start again. it is basically scaling down a signal to a user defined ratio such as for every 8 pulse output 1 pulse.
I am not after the answer because i wont learn any thing, but rather a bit of a steer in the right direction, i've tried getting my head around some examples of VHDL counters but at this stage it is getting a bit confusing.
Any help would be greatly appreciated.
liam