Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16642 Discussions

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

Altera_Forum
Honored Contributor II
5,472 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
3,918 Views

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.
0 Kudos
Reply