VIVADOSynth 8-2611 redeclaration of ansi port sm_ctr_word_r is not allowed 这个是什么意思部分代码如下module FD1_sm_control_data input clk_100M input clk_50M input 150 counter_syn_clock input 047 vol_
这个错误信息"redeclaration of ansi port sm_ctr_word_r is not allowed"意味着在代码中重复声明了端口"sm_ctr_word_r",在Vivado中是不允许的。
在你提供的部分代码中,可以看到在模块的端口列表中有两个声明相同的端口名"sm_ctr_word_r",一个是作为输入端口,另一个是作为输出端口。这是不允许的,因为每个端口名应该只在模块中声明一次。
要解决这个问题,你需要更改代码,只保留一个"sm_ctr_word_r"的声明,可以根据你的需求将其声明为输入或输出端口。
原文地址: https://www.cveoy.top/t/topic/hHUh 著作权归作者所有。请勿转载和采集!