[Solution] 

This warning happens when the upper module instantiates this sub module and defines its parameters by defparam at the same time:

defparam u_XXX.param_A = 126;

XXX  u_XXX {

....

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

0 : jump to beginning of current line

shift i : jump to beginning of current line and switch to insert mode

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

Our situation

1.  use Vivado 2017 for whole flow

2. Xilinx 7-series or UltraScale+ FPGA without Xilinx embedded processors

Solution:

Step 0. Generate suitable ROM module to be used in design

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

ssh -X username@server.ip

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

use mxGetData

ex 1.  char array pointer

in Matlab code (caller):

use data type int8 for the passed array AA

in MEX C code (callee):

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

Error Message:

Error using  * 
MTIMES is not fully supported for integer classes. At least one input must be scalar.

Solution: cast to data type single/double 

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

cp -t /home/myid/dst/ file1 file2 file3 ...

file1 file2 file3 ... will be copied to the directory /home/myid/dst/

可以先指定好目的資料夾,再在原始資料夾中用 auto complete 一個一個把要複製的檔案加上去.

The command

   cp -t DIRECTORY SOURCE 

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

grep KEYWORD *.log

shows all lines with KEYWORD in *.log

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

:%s/string//gn

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

To solve this problem caused by large memory consumption in Windows, the following command can be used to increase the user-mode virtual address space:

BCDEDIT /set increaseuserva <Megabytes> 

EX. ( increase virtual memory to 3GB )

BCDEDIT /set increaseuserva 3072.

Ref:

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

To jump to 18th row (跳到第18列):

Step 1.  click F5

Step 2.  enter 18:18

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

min(find(A == -1)) can be replaced byfind(A == -1, 1)

max(find(A == -1))  can be replaced by  find(A == -1, 1, 'last' )

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

Blog Stats
⚠️

成人內容提醒

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

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