代码中有下面的带参数的例化module:
spi_prescaler_counter #(COUNT_WIDTH_PP) u_cnt (
.pre_cnt (pre_cnt),
.scl_brge (scl_brge));
综合时总提示:
Information: Building the design 'spi_prescaler_counter' instantiated from design 'spi_prescaler' with
the parameters "8". (HDL-193)
Warning: Cannot find the design 'spi_prescaler_counter' in the library 'WORK'. (LBR-1)
Warning: Unable to resolve reference 'spi_prescaler_counter' in 'spi_prescaler'. (LINK-5)