Forum: FPGA, VHDL & Verilog Verilog or VHDL code for the attachment

von Nisarg S. (shahnisarg0796)

Attached files:

Rate this post
0 useful
not useful
Hello everyone,

I am new in Verilog or VHDL and I want to make the code for Sc and Sd of 
figure 7 from the attachment which look like the waveform shown in red 
box at the bottom.
I have Spwm1 and Spwm2 with me, so can any one help me out to write the 
code for "FSM set" and "FSM reset" to get Sc and Sd as shown in red Box?
Also the red box is shown for 8 clock pulse, which are repeating after 8 
clock pulse.
The figure 6 is for transition understanding.

So please help me to write the verilog or VHDL code for that.

Thanks in advance.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.