Forum Discussion
Altera_Forum
Honored Contributor
15 years agoLooks like you're trying translate a C file - you even called your file main.vhd.
Id say go back to the drawing board. Think about what logic you're trying to implement and draw it out by hand before even touching a keyboard to type in any VHDL code.