欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: SignalTap II觀測wire型數(shù)據(jù) [打印本頁]

作者: 51黑黑黑    時間: 2016-2-23 03:21
標題: SignalTap II觀測wire型數(shù)據(jù)
  
  
wire型數(shù)據(jù) readdata和writedata,綜合以后不能添加到SignalTap中觀測。   
      

在待觀察的wire信號旁邊加上/*synthesis keep*/;

  

wire [31:0] readdata /* synthesis keep = 1 */;


   
  
  

對于沒有output的reg信號,Quartus在綜合時也采用了最佳方式,因此,在SIgnalTap II中不能觀察該信號。

  

解決方法:

  

對于reg信號則加/*synthesis noprune*/ 或者 /* synthesis preserve */

  

兩者的不同之處在于:

  

/*synthesis noprune*/避免Quartus II優(yōu)化掉沒output的reg。

  

/*synthesis preserve*/避免Quartus II將reg優(yōu)化為常數(shù),或者合并重復的reg。

  
  

若是想觀察整個模塊中的reg信號,則在module之后添加/*synthesis noprune*/

  

module test(clk,rst,data)/*synthesis noprune*/ ;







歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1