Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Error (12002): Port "X" does not exist in macrofunction "Y"

I added i2c_opencores IP to Qsys like I did before.

The scl and sda are exported as conduits.

However, now I get this message in Quartus (similar for sda):

Error (12002): Port "i2c_opencores_0_export_scl_pad_io" does not exist in macrofunction "q_sys_inst"

The error is caused by this line in the Qsys instantiation in the Verlog file:

.i2c_opencores_0_export_scl_pad_io (PMODA_IO[2]),

I checked:

- Qsys instantiation template: .i2c_opencores_0_export_scl_pad_io is there

- bsf-file: no i2c_opencores_0_export_scl_pad_io there, while it was in

a previous version.

Any clues?

Thanks,

Jos

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I will answer my own question. Because I used a previous project

    as basis for the project in which the error occurred I got two

    Qsys output folders with different names. This confused Quartus,

    apparently. Removing the oldest folder solved the problem.