微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 请教,ChipScope中select Net问题。

请教,ChipScope中select Net问题。

时间:10-02 整理:3721RD 点击:
最近学习ChipScope,在程序中如下
module mycounter(
    input reset,
    input clk,
    output sout
    );
       reg [19:0] cnt;
       reg [10:0] test;
always @(posedge clk) begin
  if ( reset ==0)
        cnt <= 0;
  else begin
       cnt <= cnt + 1;
       test <= test+1;
  end
end
endmodule
在ChipScope的select Net的net name中只有test的信号,而没有cnt的信号,
请问是什么问题,ChipScope不是可以监测内部的所有信号吗?

因为设计没有指定输出,设计逻辑在综合的过程中全被优化掉了
把cnt信号的某一位引到输出,应该就可以观测了的

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top