Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThe best thing to do is try synthesising it.
But I know its not going to work. First, you dont need the compoenent declaration in your file - its already in the altera_mf_components package you included. If you kept this component here, it wouldnt be able to compile because it wont be able to find a matchin entity instantiation (unless you generated it from the mega-wizard, but if it was a megawizard generated component, it would be called altfp_add_sub). You need to either use the megawizard then copy/paste the component declaration from the file created, then your G1 instance will work, otherwise get rid of the component in your file and do named association on the port map, instead of positional. Use the altera help for information on port names and such.