ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer:...

14
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Usage of Workstation Lecturer: Yu-Hao( 陳陳陳 ) Date: 2011.03.02

Transcript of ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer:...

ACCESS IC LAB

Graduate Institute of Electronics Engineering, NTU

Usage of WorkstationUsage of Workstation

Lecturer: Yu-Hao(陳郁豪 )

Date: 2011.03.02

Graduate Institute of Electronics Engineering, NTU

WorkstationWorkstationA powerful computer for massive tasks by

multiple remote users concurrentlyMulti-user multi-taskingMust be stable and equipped with high-end CPU

and memoryUNIX-like OS is most commonly used

Workstation used in this class: LeopardOwned by Access IC Lab, GIEEIntel Xeon 2.66GHz, 8 Cores, 26G MemoryOS: RedHat Enterprise 5 Linux

p. 2Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

Remote Computing by SSHRemote Computing by SSHSince multiple users log on to the workstation

simultaneously, every user should use their PC as the terminal and run their tasks through a protocol called SSH

In brief, we need two programs to log inPuTTY: The terminal programXming: The window server for running GUI

programs on workstation Both are freeware

p. 3Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

PuTTY DownloadPuTTY DownloadGoogle “putty”

Download “putty.exe”

p. 4Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

PuTTY Setting (1/2)PuTTY Setting (1/2)putty.exe is actually the executable, so we

can run it without installing it!First, fill the host

name and chooseconnection type

p. 5Yu-Hao ChenUsage of Workstation

12

4

3

Graduate Institute of Electronics Engineering, NTU

PuTTY Setting (2/2)PuTTY Setting (2/2)Second, enable X11 and save the setting

p. 6Yu-Hao ChenUsage of Workstation

5

6

7 scroll up

8

9

10

Graduate Institute of Electronics Engineering, NTU

Xming DownloadXming DownloadGoogle “xming”

Download it

p. 7Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

Xming InstallationXming InstallationAll press “OK” & “Next”After installation, Windows may ask for

firewall issue, press “Allow”

p. 8Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

Log into the WorkstationLog into the WorkstationEvery time when logging in …

Launch Xming first, and check theright-bottom status

Execute putty.exe, click “leopard” session and press “open”

p. 9Yu-Hao ChenUsage of Workstation

1

2 3

Graduate Institute of Electronics Engineering, NTU

Basic Linux Commands (1/2)Basic Linux Commands (1/2)man instruction_name: manual pagels: List a directory’s contents

ls –a: List the hidden filesls –aux: List all files with detailed information

cp: Copy files from one directory to anothercp source_file destination_filecp –r source_dir destination_dir: Copy dictionary

from one directory to anothermkdir dir_name: Make a new directorypwd: Display your current pathvim filename: Text editor

p. 10Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

Basic Linux Commands (2/2)Basic Linux Commands (2/2) cd dir_name: Change directory

cd ~: Go to your home directory cd ..: Go to upper directory

ps: Display process status by process identification number and name

kill –9 process_number: Terminate a running process kill -9 1234

rm: delete files rm -r: remove directory

tar: compress files -cvf: for creating compressed file -xvf: for extracting compressed file

mv: move or rename file exit: turn the terminal off

p. 11Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

Tool Usage (1/2)Tool Usage (1/2)Command: tool

p. 12Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

Tool Usage (2/2)Tool Usage (2/2)Waveform viewer: nWave

Type “tool” -> “1” to source the environment settings for nWave

Type “nWave &” to launch

Verilog simulator: ncverilogType “tool” -> “2” to source the environment

settings for ncverilogType “ncverilog +access+r [testbench.v]

[design.v]” to run the simulationNote nWave environment should be sourced

before running the simulator!

p. 13Yu-Hao ChenUsage of Workstation

Graduate Institute of Electronics Engineering, NTU

Other TipsOther TipsFile transfer between workstation

& PCUse FTP software, recommend the

software “filezilla” (freeware)IP: leopard.ee.ntu.edu.tw, port 21Use the workstation account to log in

Text editor for writing Verilog codeRecommend the software

“notepad++” (freeware)

p. 14Yu-Hao ChenUsage of Workstation