目前分類:Linux (11)

瀏覽方式: 標題列表 簡短摘要

void *memcpy( void *dest, const void *src, size_t count );
從src copy count bytes到dest
example : 從board1的位址 copy 64*sizeof(int) bytes到board2的位址

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

1. syn_setup_rc.tcl     -> techlib, BUFF
2. gck.v                    -> gated clock
3. read_design.tcl       -> memory path

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

debuger
ddd -debugger nds32le-elf-gdb

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

a.file
b.file
$> cat a.file > c.file

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

 

有關Makefile的用法可參考此網頁

http://blog.blueshop.com.tw/phpman/archive/2005/07/17/10314.aspx

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

  • Oct 06 Mon 2008 16:57
  • grep

grep -h

表示同時搜尋多個檔案, 並且不要加註檔名出處, 因為default會加上出處。

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

  • Oct 05 Sun 2008 23:46
  • sed

sed -e 's/old/new/g' file1 > file2

sed 後接 -e 代表之後的敘述是段命令

此命令是說搜尋old字串並取代成new字串,並把這道命令應用在輸入檔file1,  最後的結果輸出到file2

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

  • Sep 25 Thu 2008 08:49
  • bash

1. 設定變數值

變數=值

====================================

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

  • Sep 14 Sun 2008 23:27
  • Linux

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

1. crtl-z
暫停, 可跳出應用程式回到os
============================

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

常用vi 編輯的指令
:0 頁首
:$ 頁尾

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