An overall PWM system by using FPGA

Guest #4562224
Rate this post
• ▲ useful
▼ not useful
Hello,

I need to combine this 3 coding to form one whole PWM system by using 
FPGA. But, I stuck and don't know how to combine it. Please help me.

Thank you.
Guest #4562246
Rate this post
• ▲ useful
▼ not useful
typically the content of the error message will give you a hint, how you 
can avoid the error. So next time please post the error message, which 
gives you trouble.

Regarding your code: you have instantiated your component, but you did 
not declare it. Have a closer look at the examples FPGAKüchle linked. 
Especially the lines between "architecture" and "begin"
Guest #4562276
Rate this post
• ▲ useful
▼ not useful
and this is the only error message you get? Then it looks like your 
development system found the component FreqDivider200Hz in work, but it 
did not find FreqDivider400Hz. If I were in your place I would check, 
why FreqDivider200Hz was addedd successfully but FreqDivider400Hz was 
not.

By the way: if you want plan to use the divided Clocks as real clock 
signal in a real hardware lateron, it will never run reliable. (for 
simulation only it should run fine). Don't misuse logic signals as a 
clock signal. If you want to slow down your PWM, use Clock-Enables 
instead of divided clocks.

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.