HELP- VHDL model of the PULSE TIMER

OP #6753281
Rate this post
• ▲ useful
▼ not useful
Anyone to help me with this task, please?

Develop a VHDL model of the PULSE TIMER component that will have the 
following interface:

fclk - FPGA clock,
out - timer output,
delay - time delay in µs after which the timer starts to generate 
rectangular pulses,
width - time of generating rectangular pulses in µs,
period - period of rectangular pulses in µs.
sflag - status bit that indicates to the top model that the pulse 
generation process is complete. Bit sets to 1 for a period of 5 µs after 
which it switches to state 0.

Assume that the value of the signal width is an integer product of the 
period.

Test the TIMER component by implementing a testbench program that will 
generate pulses after 105 µs, duration 50 µs and periods 10 µs.

-All models are called top.
-Top model in testbench is called top_tb.
-FPGA clock is 100MHz.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.