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.

Pulse signal with variable working cycle controlled by a rotary control!

Status
Not open for further replies.

symba05

Newbie level 2
Joined
Nov 26, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Hello good people of this forum!

I don't have a lot of experience with VHDL and I need some help to create a VHDL code for this situation:


Draw a control circuit that generates a pulse signal with:

fixed working frequency (100 KHz)
variable working cycle
The phase difference should be increased or decreased by the direction of the spin of a rotary control of 8 bits.

Additional info: D = t (on) / T

D = working cycle
t (on) = Time the activated signal lasts
T = signal period (constant)

(see the signal in the image attached)

OriginalSignal_DesiredSignal.png
 

Pulse widths and periods are usually generated in units of system clock period. So the first question is about the available system clock. A 25.6 MHz clock (or a multiply of it) would e.g correspond to an exact 8-Bit 0-100 % pulse width range control.
 

Thanks for the answer.

The board I'm using is the Spartan-3E Starter Kit. In the manual of the board it says that "there are 50,000 clock cycles at 50MHz in the duration of one of these 1ms chatter events".
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top