Generation of gating signals using VHDL and FPGA

OP (Company: Uvic) #4372662
I have a code to generate gating signals and need help to have a dead 
gap in between the two output signals G1 and G2 of 200 nanoseconds 
through out the operation period.
When i say dead gap there should be no output at that time not in G1 nor 
in G2.
Picture 1 (attached) shows the exact need of the operation.
Code is attached for reference.
Attached files:
Moderator (Company: Titel) #4372728
Two things first:
1. jpeg ist NOT an adequate format for screenshots.
Use png instead (have a look at the artifacts around the letters).
2. a screenshot ist not an adequate format for a VHDL code file.
Use a *.vhd text file instead (its much easier to copy&paste something).

Nirav B. wrote:
> and need help to have a dead gap in between the two output signals G1
> and G2 of 200 nanoseconds through out the operation period.
You are lucky: 200ns are 10*20ns, and 20ns is your clock. But: i cannot 
find that value in the sketch. There the dead gap is 10ns... :-o
Why are there several signal changes on the rising and several on the 
falling edge?
I cannot find the signals (start*) from the sketch in the code.

Why that "phases"-loop inside this module. I would write one PWM and 
instatiante it "phases" times in the upper-level module. In that case 
you only have to proof that this single PWM is running fine.
In your case you will never be able to test the whole range of 
possibilities (becuase there is no range, even a negative number of 
"phases" is allowed as generic...).

All in all it should be fairly easy here: you simply need to crate the 
PWM. After having that you generate the dead time between the outputs.

I'm doing the dead time generation for a H-bridge that way:
http://www.lothar-miller.de/s9y/archives/58-Totzeit-fuer-H-Bruecke.html

Reply

A question of your own? This thread is over 10 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.