Altera_Forum
Honored Contributor
7 years agoVHDL Port Mismatch Error
Hi Everyone,
I have defined a component in my VHDL Flash file as shown in the Capture 1 attachment. And I have generated a Flash IP. The Flash is instantiated as shown in Capture 2. When I compile the code, it throws in an error saying: Error (12012): Port direction mismatch for entity "Flash_intf:Flash_Interface_Program|Flash:Flash_inst" at port "flash_nwe". Upper entity is expecting "Input" pin while lower entity is using "Output" pin. Can anyone please tell me why am I getting this port mismatch error? Thank you