Solution:
把 [x : y] 的 range 語法改成 [x +: width] 或 [x -: width]
 
Reason:

bamil 發表在 痞客邦 留言(0) 人氣()

Ctrl G

bamil 發表在 痞客邦 留言(0) 人氣()

copy: 用游標選取要複製的文字
paste: 滑鼠的中間鍵 or 使用 Shift + Ins

bamil 發表在 痞客邦 留言(0) 人氣()

這是因為有些 Verilog module 並沒有指定 timescale. 可以在 ncelab 指令中加入 -timescale 1ns/10ps 來指定預設的timescale, 或是在所有 Verilog module 前都指定 timescale.

bamil 發表在 痞客邦 留言(0) 人氣()

X config --> 
Copy and Paste, and X Selection -->
X Selection Associated With Edit Operations: -->
改成 CLIPBOARD

bamil 發表在 痞客邦 留言(0) 人氣()

make -n
Displays commands, but does not run them. However, lines beginning with a + (plus sign) are executed.
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds3%2Fmake.htm

bamil 發表在 痞客邦 留言(0) 人氣()

在run ncvlog simulation時出現以下錯誤訊息:
ncvlog: *W,UNBINS: Unbound instance found: OOOXXXYYYZZZ
ncvlog: *E,UNBERR: (1) unbound instance(s).
其實是在gen netlist時將某些路徑設錯了 (但gen netlist時沒有錯誤訊息, 而是run simulation時才出現), 

bamil 發表在 痞客邦 留言(0) 人氣()

Visual Studio出現以下warning 
Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
關掉這個warning的方法如下 (VS2005):

bamil 發表在 痞客邦 留言(0) 人氣()

UNIX出現
bad interpreter: No such file or directory
 
這個錯誤訊息.

bamil 發表在 痞客邦 留言(0) 人氣()

1. 首先將要畫的圖畫出來 (此時只有一個y軸)
2. 在想放在另一y軸的資料曲線上按右鍵, 選擇 資料數列格式
3. 將 數列選項 改為 副座標軸

bamil 發表在 痞客邦 留言(1) 人氣()

http://www.cplusplus.com/reference/clibrary/cstdio/printf/
 
http://www.cplusplus.com/reference/clibrary/cstdio/scanf/

bamil 發表在 痞客邦 留言(0) 人氣()




Type NameBytesOther NamesRange of Values



int




4




signed




–2,147,483,648 to 2,147,483,647






unsigned int




4




unsigned




0 to 4,294,967,295






bool




1




none




false or true






char




1




none




–128 to 127 by default


0 to 255 when compiled with /J






signed char




1




none




–128 to 127






unsigned char




1




none




0 to 255






short




2




short int, signed short int




–32,768 to 32,767






unsigned short




2




unsigned short int




0 to 65,535






long




4




long int, signed long int




–2,147,483,648 to 2,147,483,647






unsigned long




4




unsigned long int




0 to 4,294,967,295






long long




8




none (but equivalent to __int64)




–9,223,372,036,854,775,808 to 9,223,372,036,854,775,807






unsigned long long




8




none (but equivalent to unsigned __int64)




0 to 18,446,744,073,709,551,615






enum




varies




none




See Remarks.






float




4




none




3.4E +/- 38 (7 digits)






double




8




none




1.7E +/- 308 (15 digits)






long double




same as double




none




same as double






wchar_t




2




__wchar_t




0 to 65,535





bamil 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。