1 / 18

VLSI Design Lab0 - Setup Working Environment

Get guidance on setting up the working environment for VLSI Design Lab from Prof. An-Yeu Wu. Learn about workstation limitations, Unix OS, Shell scripting, X-Window setup, and useful commands.

Download Presentation

VLSI Design Lab0 - Setup Working Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. VLSI Design Lab0 -Setup Working Environment Advisor : Prof.An-Yeu Wu Speaker : Pei-Ling Shen ACCESS IC LAB Pei-Ling Shen

  2. Root USER USER USER limitations What’s Workstation • Multiple User • Stable Operation • High throughput rate • Popular OS- Unix Pei-Ling Shen

  3. Abstraction of Unix • Shell - Command Interpreter - Language : “Shell Script” - Noted Symbol : % (C-Shell) - path=/usr/bin (.cshrc) Pei-Ling Shen

  4. Rule • License A. 申請帳號 - WS Manager B. 開/關機 - WS Manager (no way for users) • Basic instruction 1. 更改密碼 : passwd 2. 登 出 : logout (not shut down power) 3. 查看程序: ps (process) 4. 刪除程序: kill –9 PID Pei-Ling Shen

  5. Getting Start • 申請一個rm231的帳號 • 至rm231拿申請單,填寫完畢交回rm231 • 下載x-window • http://www.starnet.com/products/(試用版) • 安裝x-window • MS-Windows 本身並不提供遠程的圖形或視窗交換。需要另外安裝一個 MS-Windows 環境中的 X 伺服軟體 Pei-Ling Shen

  6. X-Window setup(I) • 開啟 X-config,按下 Add... Pei-Ling Shen

  7. X-Window setup(II) • step(2):填入 Session name (可隨意命名), connecting using 選擇 XDMCP Pei-Ling Shen

  8. X-Window setup(III) • step(3):XDMCP欄選Query,Hostname填入cadXX.ee.ntu.edu.tw,(xx=16~39),按下save Pei-Ling Shen

  9. Open X-window • 開啟 X-Win32 ,隨即就會常駐在螢幕右下方 Pei-Ling Shen

  10. Use Workstation from PC • Connecting from your PC • Step1.Open the X-Window software in your pc. • Step2.Right click the little icon,choose “sessions”. • Step3.Login with your account and password • Step4.Execute below command in the prompt. • setenv DISPLAY your_PC_IP:0 • e.g setenv DISPLAY 140.112.xxx.xxx:0 Pei-Ling Shen

  11. Login Key in your username Key in your password You can choose CDE mode (actually, OpenWindow environment is more like to MS-Windows environment. You can try it by yourself. Open a terminal Use Workstations in R231(I) Pei-Ling Shen

  12. Use Workstations in R231(II) • If you want to login another WS (ex: cad27) • xhost + • telnet cad27.ee.ntu.edu.tw • setenv DISPLAY your_PC_IP:0 Pei-Ling Shen

  13. Use Workstations in R231(III) • Logout • We recommend you that • PC environment is more friendly • Telnet to cad27 or cad29 (they are much faster!) Pei-Ling Shen

  14. Useful Commands(I) • ls • List a directory’s contents • ls –a :list the hidden files • cp • Copy files from one directory to another • e.g cp filename1 filename2 • mkdir • Make a new directory Pei-Ling Shen

  15. Useful Commands(II) • cd • Change directory • ps • Display process status by process identification number and name • kill –9 process_number • Terminate a running process, when it crash • rm -r • quota • tar • e.g tar xvf sample.tar Pei-Ling Shen

  16. Edit your cshell file • The shell is an interface between unix operating system and users. • %cp /home/cad28_1/public/.cshrc . • %textedit & ,check those sources and alias’ • You can also link to http://cad.ee.ntu.edu.twto find more info Pei-Ling Shen

  17. Summary • 開/關機 : WS Manager • 使用完畢,利用ps指令來查看process • 不使用或暫時離開請logout • 不可存無關研究資料在WS 上 Pei-Ling Shen

  18. Assignment • Due on Friday March 21,2003 • 1.申請一個工作站的帳號 • 2.灌好x-window,確定可連上工作站 • 3.設定.cshrc Pei-Ling Shen

More Related