Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17258 Discussions

generating a pulse pattern in VHDL

Altera_Forum
Honored Contributor II
1,692 Views

Hi, 

I am trying to generate a pulse using DE2 developement board. 

I need to set the output high and create a delay and low again - again a different delay and high again. 

I did this using a counters, which is very ineficient and prone to delays. 

 

Is there any other way of doing this and synthesis in DE2 board using Quartus2? 

 

Thanks in advance!
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
831 Views

counters or state machines can do that readily. Delay units will be in clk periods. You can also use the two clk edges then combine the results allowing you half clk period units. 

 

If you want other delay units unrelated to clk then that technlogy is not available yet in fpgas. For example you can use Tco of registers or combinatorial delays but all are unpredictable.
0 Kudos
Altera_Forum
Honored Contributor II
831 Views

I don't understand the meaning of ineficient in your post.

0 Kudos
Altera_Forum
Honored Contributor II
831 Views

inefficient:- methods like using counters make errors due to gate delays. 

 

In fact, what I am trying to do is to create the signals as in attached image.
0 Kudos
Altera_Forum
Honored Contributor II
831 Views

 

--- Quote Start ---  

inefficient:- methods like using counters make errors due to gate delays. 

 

In fact, what I am trying to do is to create the signals as in attached image. 

--- Quote End ---  

 

 

But gate delays are innevitable when using a clock, down to a minimum period of 1 clock. If you're having problems with gate delays, increase the clock frequency.
0 Kudos
Altera_Forum
Honored Contributor II
831 Views

What are you trying to achieve? A test signal generator? Multple phase shifted clocks can be a solution. But you have to care for correct synchronisation when crossing the clock domain boundaries.

0 Kudos
Reply