verilog程序,ISE 13.4环境下,检查语法和仿真均可,综合出错“ this signal is connected to multiple drivers.”
2013-11-19 13:31
302 查看
背景:Xilinx公司的FPGA ,ISE 13.4 开发环境, verilog HDL语言
问题描述:检查语法没有错误,用modelsim仿真也可以,但综合时出错,错误如下:
ERROR:Xst:528 - Multi-source in Unit <mst_process_format_toSlv> on signal <MeasureFrame<10>>; this signal is connected to multiple drivers.
ERROR:Xst:528 - Multi-source in Unit <mst_process_format_toSlv> on signal <MeasureFrame<0>>; this signal is connected to multiple drivers.
ERROR:Xst:528 - Multi-source in Unit <mst_process_format_toFwd> on signal <MeasureFrame<40>>; this signal is connected to multiple drivers.
此类错误系将某同一个reg变量在多个个always块中进行了赋值操作,此类程序是不可综合的,因此须修改程序。
切记,对于同一个reg型变量只能在一个always块中对其值进行修改,当然在其它块中可以引用其值!
其实这种错误是可又理解的,试想两个always都在时钟的驱动下工作,如果,我说是如果,在同一个时钟时刻,在两个alway块中对同一reg型赋值条件都满足,那么你让FPGA该怎么做呢?让它听谁哪个always块的呢?
verilog最终是要生成电路在FPGA里面,这让FPGA情何又堪?如何生成电路?
问题描述:检查语法没有错误,用modelsim仿真也可以,但综合时出错,错误如下:
ERROR:Xst:528 - Multi-source in Unit <mst_process_format_toSlv> on signal <MeasureFrame<10>>; this signal is connected to multiple drivers.
ERROR:Xst:528 - Multi-source in Unit <mst_process_format_toSlv> on signal <MeasureFrame<0>>; this signal is connected to multiple drivers.
ERROR:Xst:528 - Multi-source in Unit <mst_process_format_toFwd> on signal <MeasureFrame<40>>; this signal is connected to multiple drivers.
此类错误系将某同一个reg变量在多个个always块中进行了赋值操作,此类程序是不可综合的,因此须修改程序。
切记,对于同一个reg型变量只能在一个always块中对其值进行修改,当然在其它块中可以引用其值!
其实这种错误是可又理解的,试想两个always都在时钟的驱动下工作,如果,我说是如果,在同一个时钟时刻,在两个alway块中对同一reg型赋值条件都满足,那么你让FPGA该怎么做呢?让它听谁哪个always块的呢?
verilog最终是要生成电路在FPGA里面,这让FPGA情何又堪?如何生成电路?
相关文章推荐
- verilog程序,ISE 10.1环境下,检查语法和仿真均可,综合出错“ this signal is connected to multiple drivers.”
- verilog程序,ISE 10.1环境下,检查语法和仿真均可,综合出错“ this signal is connected to multiple drivers.”
- verilog程序,ISE 10.1环境下,综合出错“ this signal is connected to multiple drivers.”
- ISE 12.3环境下出错“ this signal is connected to multiple drivers”
- ISE程序编译报错:this signal is connected to multiple drivers
- 求解xilinx ISE使用报错的处理——Port <clk> has illegal connections. This port is connected to an input buffer
- 求大神指导,ISE Verilog程序综合的error不知如何解决,又被虐了。
- 运行Android程序出错:The connection to adb is down, and a severe error has occured
- 解决Navicat 出错:1130-host . is not allowed to connect to this MySql server,MySQL
- Linux环境Tomcat 启动警告This is very likely to create a memory leak.
- 解决mysql Navicat 出错:1130-host . is not allowed to connect to this MySql server
- The action cannot be completed. The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.
- Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_8_apk was defined multiple times. It is possible that this issue is resolved by uninstalling a
- Android程序出错:The connection to adb is down, and a severe error has occured
- 解决Navicat 出错:1130-host . is not allowed to connect to this MySql server
- Navicat连接MySQL 出错:1130 host is not allowed to connect to this MySql server
- Navicat连接MariaDB出错:1130-host . is not allowed to connect to this mysql server,
- 解决Navicat 出错:1130-host . is not allowed to connect to this MySql server,MySQL
- This application is currently offline. To enable the application, remove the app_offline.htm file from the application