Forum Discussion
Altera_Forum
Honored Contributor
8 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. ...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- You don't show the upper-level (or top-level) ports, but usually write enable and the other control signals are outputs to a flash device, not inputs. --- Quote End --- Thank you for your reply. But I am getting the same error for address as well. The Flash_address is input std_logic_vector of 23 bits. But it still says Error (12012): Port direction mismatch for entity "Flash_intf:Flash_Interface_Program|Flash:Flash_inst" at port "flash_addr". Upper entity is expecting "Input" pin while lower entity is using "Output" pin. I don't think address is also output. Can you suggest what might be going wrong with this parameter? Thank you once again.