fpga系列 HDL:verilog 常见错误 注意警告 created implicit net for “***“

  • 仿真结果与预期高度一致,在将模块代码汇总并进行在线调试时,发现时钟信号呈现为一条平直的直线。

在这里插入图片描述

  • 经过多次对比分析,最终定位到以下错误代码内容:
// 边沿检测逻辑
wire btn_pressed = ~btn_sync_2 && btn_prev;
reg[15+1:0] data_reg;

 // 更新按钮的前一状态
 always @(posedge clk) begin
	  btn_prev <= btn_sync_2;
 end

// wire clk;
// assign clk = CLKIN; // 将这两个注释取消才能得到正确结果
  • 原来在多次的调试与修改中,注释掉了原来应有的变量clk,但是在进行综合时没有报错,只有如下警告:

  • Warning (10236): Verilog HDL Implicit Net warning at ***.v(590): created implicit net for “clk”
    在这里插入图片描述

Warning (10236): Verilog HDL Implicit Net warning at UART_GPS_tb.v(75): created implicit net for "po_data" Info (12127): Elaborating entity "UART_GPS" for the top level hierarchy Info (12128): Elaborating entity "DISPLAY" for hierarchy "DISPLAY:DISPLAY" Warning (10036): Verilog HDL or VHDL warning at DISPLAY.v(98): object "data_in" assigned a value but never read Info (12128): Elaborating entity "xin_74H595" for hierarchy "DISPLAY:DISPLAY|xin_74H595:xin_74H595" Warning (12125): Using design file select.v, which is not specified as a design file for the current project, but contains definitions for 1 design units and 1 entities in project Info (12023): Found entity 1: select Info (12128): Elaborating entity "select" for hierarchy "select:select" Critical Warning (10237): Verilog HDL warning at select.v(98): can't infer register for assignment in edge-triggered always construct because the clock isn't obvious. Generated combinational logic instead Critical Warning (10237): Verilog HDL warning at select.v(99): can't infer register for assignment in edge-triggered always construct because the clock isn't obvious. Generated combinational logic instead Critical Warning (10237): Verilog HDL warning at select.v(100): can't infer register for assignment in edge-triggered always construct because the clock isn't obvious. Generated combinational logic instead Critical Warning (10237): Verilog HDL warning at select.v(101): can't infer register for assignment in edge-triggered always construct because the clock isn't obvious. Generated combinational logic instead Critical Warning (10237): Verilog HDL warning at select.v(102): can't infer register for assignment in edge-triggered always construct because the clock isn't obvious. Generated combinational logic instead Warning (10034): Output port "ascii_s_up" at select.v(7) has no driver Warning (10034): Output port "ascii_m_low" at select.v(8) has no driver Warning (10034): Output port "ascii_m_up" at select.v(9) has no driver Warning (10034): Output port "ascii_h_low" at select.v(10) has no driver Warning (10034): Output port "ascii_h_up" at select.v(11) has no driver
最新发布
10-30
Warning (10034): Output port "ascii_d_b" at IRIG.v(19) has no driver Warning (10034): Output port "ascii_s_up" at IRIG.v(12) has no driver Warning (10036): Verilog HDL or VHDL warning at IRIG.v(325): object "date_d" assigned a value but never read Warning (10036): Verilog HDL or VHDL warning at IRIG.v(326): object "date_y" assigned a value but never read Warning (10230): Verilog HDL assignment warning at ascii.v(7): truncated value with size 32 to match size of target (8) Warning (10230): Verilog HDL assignment warning at IRIG.v(333): truncated value with size 32 to match size of target (9) Warning (10230): Verilog HDL assignment warning at IRIG.v(339): truncated value with size 32 to match size of target (9) Warning (10236): Verilog HDL Implicit Net warning at IRIG.v(385): created implicit net for "date__s_up" Warning (10236): Verilog HDL Implicit Net warning at IRIG.v(386): created implicit net for "ascii__s_up" Warning (10236): Verilog HDL Implicit Net warning at IRIG.v(428): created implicit net for "ascii_s_b" Warning (12241): 11 hierarchies have connectivity warnings - see the Connectivity Checks report folder Warning (13024): Output pins are stuck at VCC or GND Warning (13410): Pin "ascii_s_low[1]" is stuck at GND Warning (13410): Pin "ascii_s_low[2]" is stuck at GND Warning (13410): Pin "ascii_s_low[3]" is stuck at GND Warning (13410): Pin "ascii_s_low[4]" is stuck at VCC Warning (13410): Pin "ascii_s_low[5]" is stuck at VCC Warning (13410): Pin "ascii_s_low[6]" is stuck at GND Warning (13410): Pin "ascii_s_low[7]" is stuck at GND Warning (13410): Pin "ascii_s_up[0]" is stuck at GND Warning (13410): Pin "ascii_s_up[1]" is stuck at GND Warning (13410): Pin "ascii_s_up[2]" is stuck at GND Warning (13410): Pin "ascii_s_up[3]" is stuck at GND Warning (13410): Pin "ascii_s_up[4]" is stuck at GND Warning (13410): Pin "ascii_s_up[5]" is stuck at GND Warning (13410): Pin "ascii_s_up[6]" is stuck at GND Warning (13410): Pin "ascii_s_up[7]" is stuck at GND Warning (13410): Pin "ascii_m_low[1]" is stuck at GND Warning (13410): Pin "ascii_m_low[2]" is stuck at GND Warning (13410): Pin "ascii_m_low[3]" is stuck at GND Warning (13410): Pin "ascii_m_low[4]" is stuck at VCC Warning (13410): Pin "ascii_m_low[5]" is stuck at VCC Warning (13410): Pin "ascii_m_low[6]" is stuck at GND Warning (13410): Pin "ascii_m_low[7]" is stuck at GND Warning (13410): Pin "ascii_m_up[1]" is stuck at GND Warning (13410): Pin "ascii_m_up[2]" is stuck at GND Warning (13410): Pin "ascii_m_up[3]" is stuck at GND Warning (13410): Pin "ascii_m_up[4]" is stuck at VCC Warning (13410): Pin "ascii_m_up[5]" is stuck at VCC Warning (13410): Pin "ascii_m_up[6]" is stuck at GND Warning (13410): Pin "ascii_m_up[7]" is stuck at GND Warning (13410): Pin "ascii_h_low[1]" is stuck at GND Warning (13410): Pin "ascii_h_low[2]" is stuck at GND Warning (13410): Pin "ascii_h_low[3]" is stuck at GND Warning (13410): Pin "ascii_h_low[4]" is stuck at VCC Warning (13410): Pin "ascii_h_low[5]" is stuck at VCC Warning (13410): Pin "ascii_h_low[6]" is stuck at GND Warning (13410): Pin "ascii_h_low[7]" is stuck at GND Warning (13410): Pin "ascii_h_up[1]" is stuck at GND Warning (13410): Pin "ascii_h_up[2]" is stuck at GND Warning (13410): Pin "ascii_h_up[3]" is stuck at GND Warning (13410): Pin "ascii_h_up[4]" is stuck at VCC Warning (13410): Pin "ascii_h_up[5]" is stuck at VCC Warning (13410): Pin "ascii_h_up[6]" is stuck at GND Warning (13410): Pin "ascii_h_up[7]" is stuck at GND Warning (13410): Pin "ascii_d_low[1]" is stuck at GND Warning (13410): Pin "ascii_d_low[2]" is stuck at GND Warning (13410): Pin "ascii_d_low[3]" is stuck at GND Warning (13410): Pin "ascii_d_low[4]" is stuck at VCC Warning (13410): Pin "ascii_d_low[5]" is stuck at VCC Warning (13410): Pin "ascii_d_low[6]" is stuck at GND Warning (13410): Pin "ascii_d_low[7]" is stuck at GND Warning (13410): Pin "ascii_d_up[1]" is stuck at GND Warning (13410): Pin "ascii_d_up[2]" is stuck at GND Warning (13410): Pin "ascii_d_up[3]" is stuck at GND Warning (13410): Pin "ascii_d_up[4]" is stuck at VCC Warning (13410): Pin "ascii_d_up[5]" is stuck at VCC Warning (13410): Pin "ascii_d_up[6]" is stuck at GND Warning (13410): Pin "ascii_d_up[7]" is stuck at GND Warning (13410): Pin "ascii_d_b[0]" is stuck at GND Warning (13410): Pin "ascii_d_b[1]" is stuck at GND Warning (13410): Pin "ascii_d_b[2]" is stuck at GND Warning (13410): Pin "ascii_d_b[3]" is stuck at GND Warning (13410): Pin "ascii_d_b[4]" is stuck at GND Warning (13410): Pin "ascii_d_b[5]" is stuck at GND Warning (13410): Pin "ascii_d_b[6]" is stuck at GND Warning (13410): Pin "ascii_d_b[7]" is stuck at GND Warning (13410): Pin "ascii_y_low[1]" is stuck at GND Warning (13410): Pin "ascii_y_low[2]" is stuck at GND Warning (13410): Pin "ascii_y_low[3]" is stuck at GND Warning (13410): Pin "ascii_y_low[4]" is stuck at VCC Warning (13410): Pin "ascii_y_low[5]" is stuck at VCC Warning (13410): Pin "ascii_y_low[6]" is stuck at GND Warning (13410): Pin "ascii_y_low[7]" is stuck at GND Warning (13410): Pin "ascii_y_up[1]" is stuck at GND Warning (13410): Pin "ascii_y_up[2]" is stuck at GND Warning (13410): Pin "ascii_y_up[3]" is stuck at GND Warning (13410): Pin "ascii_y_up[4]" is stuck at VCC Warning (13410): Pin "ascii_y_up[5]" is stuck at VCC Warning (13410): Pin "ascii_y_up[6]" is stuck at GND Warning (13410): Pin "ascii_y_up[7]" is stuck at GND
09-21
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值