

在待觀察的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 |