Forum Discussion
Altera_Forum
Honored Contributor
8 years agoVHDL Question
- [INDENT]I'm trying to create a square wave and I'm converting code from verilog and im getting the below error. Any help would be great thanks Error (10327): VHDL error at SquareWave.vhd(36): can...
Altera_Forum
Honored Contributor
8 years agoCheck your warnings. You have "count" (a 32-bit integer) going to ten billion. This is not a sensible way to make sawtooth wave in any event.
You seem to want to do this without even a basic understanding of VHDL. Find a good tutorial on VHDL and learn it. Then making a square wave will be trivial. I'm afraid my favorite VHDL books are all out of print, but there are good ones out there.