|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
代码中有下面的带参数的例化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)
请问是怎么回事?子模块spi_prescaler_counter 中是有定义该参数的.我用的201206版本的dc
我把#(COUNT_WIDTH_PP)去掉, 则综合可以过. |
|