Altera_Forum
Honored Contributor
13 years agocompilation Error: Port "..." does not exist in macrofunction "DE0_nano_sopc_inst"
i compile the project in quartus, it gives me [ Error: Port "SPI_IN_to_the_adc_spi_read" does not exist in macrofunction "DE0_nano_sopc_inst" ]
Detailed description of my situation:: im using Quartus 11sp1 i have a top level "DE0_nano.bdf", using file > create/Update > create hdl design file, to create "DE0_nano.v" from the .bdf. this compiles well. I generate SOPC using SOPC builder. it compiles well and generates "DE0_nano_SOPC_inst.v" now when i compile the project in quartus, it gives me [ Error: Port "SPI_IN_to_the_adc_spi_read" does not exist in macrofunction "DE0_nano_sopc_inst" ] i look in "DE0_nano_SOPC_inst.v" where the "DE0_nano_sopc_inst" resides ----start file---- ... DE0_Nano_SOPC DE0_Nano_SOPC_inst ( .MISO_to_the_adc_spi_read (MISO_to_the_adc_spi_read), ... ); ----end file----- sure enough its not in this file. Looking in "DE0_nano.v" ----start file---- ... DE0_Nano_SOPC b2v_DE0_nano_sopc_inst( ... .SPI_IN_to_the_adc_spi_read(GPIO_1[11]), //here it is .... ----end file----- it seems that SOPC builder generation doesnt want to update "DE0_nano_SOPC_inst.v" to include the variable "SPI_IN_to_the_adc_spi_read". but its obvious in my DE0_nano.bdf and DE0_nano.v, that the variable "SPI_IN_to_the_adc_spi_read" is there. how do i solve this error?