ee323000 積體電路設計導論 introduction to work station tutor : yuah-shen lee 2014/10/7

26
EE323000 積 積積積積積積 Introduction to work station Tutor Yuah-Shen Lee 2014/10/7

Upload: virgil-chandler

Post on 12-Jan-2016

274 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

EE323000 積體電路設計導論

Introduction to work station

Tutor : Yuah-Shen Lee2014/10/7

Page 2: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Outline

CAD ToolsLogin 、 LogoutEnvironmentTelnet 、 SSHLinux CommandKill ProcessViCAD ToolRemote DesktopFTP

Page 3: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

CAD Tools

HspiceComposerLakerSPICE Explorer

Page 4: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Log In

Select language you likeEnter you username and password to login

Page 5: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Log Out

Click Actions -> Log Out -> OK

Page 6: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Web Browser

Mozilla FirefoxLike Internet Explorer in WindowsClick the Web Browser Button

Page 7: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

File Browser

Open File Browser Click Places (in menu) -> Home Folder Double click XXX’s Home in Desktop

Permissions Use mouse right click directory -> Properties -> Permissions

Page 8: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Terminal

Like DOS in WindowsOpen terminal

Mouse right click (to Desktop) -> Open Terminal Click Applications (in menu) -> Accessories ->

Terminal

Page 9: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Text Editor

Like WordPad in WindowsOpen Text Editor

Click Applications (in menu) -> Accessories -> Text Editor

Type gedit & in terminal

vi, vim, joe, nedit

Page 10: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Telnet 、 SSH

telnet [server] Ex. telnet bbs.ee.nthu.edu.tw Ex. telnet ws33

ssh –X [server] ( 建議 ) Ex. ssh –X ws33 Ex. ssh ws33

Page 11: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Workstation in NTHU EE

Solaris Server(cannot run cadtools anymore) daisy (140.114.24.31) , bigbird (140.114.24.33)

Linux Server ws13 – ws32 (140.114.24.123 – 140.114.24.96) ws35 – ws48 (140.114.24.99 – 140.114.24.93)

Page 12: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Linux command

mkdir directory : make directory Ex. mkdir VLSI

rmdir directory : remove empty directory Ex. rmdir VLSI

cd directory : change directory Ex. cd .. <- 前往上一層資料夾 Ex. cd . <- 在同一層資料夾 Ex. cd VLSI <- 前往下一層,叫做 test 的資料夾 ( 資料夾必須存在 ) Ex. cd ~ <- 往主層

ls : show directory ( 可用來看目前路徑有那些資料夾和檔案 ) Ex. ls –l list with detail Ex. ls –a list all

touch filename : create an empty file Ex. touch hw1.sp

rm filename : remove file Ex. rm hw1.sp

Page 13: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Linux command

mv filename directory : move file to dircetory Ex. mv hw1.sp ..

cp filename1 filename2 : copy file1 to file2 Ex. cp hw1.sp hw2.sp

mv filename1 filename2 : rename file1 as file2 Ex. mv hw1.sp hw1_1.sp

pwd : show current path Ex. pwd

yppasswd : chahge password ( 一定要記得改 )

Page 14: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Linux command

mv filename directory : move file to dircetory Ex. mv hw1.sp ..

cp filename1 filename2 : copy file1 to file2 Ex. cp hw1.sp hw2.sp

mv filename1 filename2 : rename file1 as file2 Ex. mv hw1.sp hw1_1.sp

pwd : show current path Ex. pwd

yppasswd : chahge password ( 一定要記得改 )

Page 15: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Linux command

quota : quota of disk Ex. quota

du directory : size of directory Ex. du Ex. du –h VLSI

tar : create tape archives and add or extract files -cvf <- package directory to tar file

Ex.tar cvf directory.tar directory -xvf <- reverse tar file to directory

- Ex.tar xvf directory.tar -zcvf <- package and compress directory

Ex.tar zcvf directory.tgz directory Ex.tar zcvf directory.tar.gz directory

-zxvf <- decompress Ex.tar zxvf directory.tgz

Page 16: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Linux command

top k[pid] #kill process q #exit top

ps : show process Ex. ps Kill -9 [PID] : kill process Ex. Kill -9 31998

logout ( 登出用 ) exit : exit terminal Control + C : stop program ( 簡單好用,推薦 ) Control + Alt + Back Space (twice) : force log out

Page 17: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

vi/vim

Open vi Ex. vi hw1.sp <- edit hw1.sp

Insert mode ( 重要 ! 改寫檔案用 ) Press “ i ” enter insert mode Press “ Esc “ exit insert mode Use vi as text editor in insert mode

Exit vi :wq <- Save & Quit :w <- Save) :q! <- Quit without Save

Command mode yy <- Copy 1 line dd <- Delete 1 line p <- Paste

Page 18: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

CAD Tool

Design Tools: Composer, Hspice, Laker, Explorer

Composer: icfb &

Hspice: hspice -i [input] –o [output] hspice [input] >! [output]

Laker: laker &

Explorer sx &

Page 19: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Remote Desktop

From Linux to Windows rdesktop [ip]

From Windows to Linux ( 重要 ! 回家做作業必學 !) Putty, Pietty …… Xmanager, Xming ……

setenv DISPLAY [ip]:0.0 EX. setenv DISPLAY 140.114.33.22:0.0

Page 20: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Connect to Work Station

GUI Tool ( 圖形介面 ) Xming

Xming 設定參考 http://140.114.94.62/html/download/Others/Putty_Xmi

ng.pdf http://www.cs.nctu.edu.tw/help/xming.html

Xming 載點 ( 必要 ) http://sourceforge.net/projects/xming/

Xming-fonts-7-5-0-34-setup.exe 載點 ( 必要 ) http://sourceforge.net/projects/xming/files/Xming-font

s/7.5.0.34/

Page 21: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Connect to Work Station

Putty 輸入 IP 設定 putty 參數 ( 沒設定沒辦法看圖形化 的介面 )

Pietty 選 PuTTy 模式 其餘如 putty

Page 22: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Connect to Work Station

Putty 設定 Window->selection->xtem Connection->SSH->X11->X11 forwarding

Page 23: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Connect to Work Station

回到 Session 頁面進行連線 點 Open

可用 Save Session 紀錄設定

Page 24: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Connect to Work Station

輸入帳號密碼 ( 進入 Solaris Server)連結到 Linux Server( 才能使用 CAD Tool)

ssh –X [server] Ex. ssh –X ws34

其他如在工作站用 terminal

Page 25: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

Connect to Work Station

Xming 設定 : 開啟 XLaunch 進行設定 勾選 No Access Control 其他 : 按下一步或是完成

Page 26: EE323000 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7

FTP

FileZilla主機 : 140.114.24.33 , port:22 更新設定以

SFTP 連線UserPassword上傳、下載 資料用