Professional Documents
Culture Documents
Lab 1
Lab 1
Lab 1 - Simulation
Tp Hồ Chí Minh
Tg 3/2023
MỤC LỤC
A. Overview ..............................................................................................................................4
Step 1: Change directory to simulation_env folder. In this Lab 1, we will work at this
place .....................................................................................................................................5
Step 2: Copy Design file and Testbench file into this place ...............................................5
Step 3: Execute below commands to get permission for using Xcelium: The last
command “cd -” use to turn back to simulation_env directory ..........................................5
Step 5: After simulation finish, you can check the simulation result via Log file
“run.log”. ............................................................................................................................ 6
Step 6: Each time you want to execute simulation, you need to perform .......................... 6
Step 1: Add following code lines into the testbench file: ...................................................6
Step 3: After simulation finish, check that the Waveform file has been dumped –
“waves.dsn” and “waves.trn” ..............................................................................................7
Step 1: Execute below commands to get permission for using Xcelium: ..........................8
Step 3: Like above, you can add all command into 1 file ...................................................8
Step 7: Select Design -> Select signals -> Signal’s wave will be displayed ..................... 9
F. Simulation .......................................................................................................................... 10
A. Overview
- This Lab will familiarize you with one of Cadence simulation tool - Xcelium.
B. Getting Started
${Student_ID}
Step 1: Change directory to simulation_env folder. In this Lab 1, we will work at this place
Hình 3: Step 1
Do simulation_env folder nằm trong thư mục MSSV nên trước khi chạy lệnh cd
work/simulation_env phải trỏ vào thư mục MSSV. Ở đâu thư mục sinh viên tên 2011725
Step 2: Copy Design file and Testbench file into this place
Hình 4: Step 2
> cd /home/share_file/cadence/
> cd -
The last command “cd -” use to turn back to simulation_env directory
Hình 5: Step 3
Hình 6: Step 4
Step 5: After simulation finish, you can check the simulation result via Log file “run.log”.
Hình 7: Step 5
Step 6: Each time you want to execute simulation, you need to perform
Hình 8: Step 1
Hình 9: Step 2
Step 3: After simulation finish, check that the Waveform file has been dumped –
“waves.dsn” and “waves.trn”
> cd /home/share_file/cadence/
> cd -
Step 3: Like above, you can add all command into 1 file
Step 7: Select Design -> Select signals -> Signal’s wave will be displayed
F. Simulation
- Sau khi thực hiện các bước ở mục E thì màn hình sẽ xuất hiện cửa sổ như sau:
1. Signal’s wave
Mô tả: When flick = 0 at kickback points (lamp[10]). Khi đó tại thời điểm initial flick
=1. Trường hợp này ta thấy được ban đầu đèn sẽ sáng từ 0 lên 5 sau đó tắt dần từ 5 xuống 0
và sáng từ 0 lên 10 sau đó tắt dần tù 10 xuống 5; từ 5 lên 15 và tắt cả 15 đèn.
Mô tả: When flick = 1 at kickback points (lamp[5]). Khi đó tại thời điểm initial flick
=1. Trường hợp này ta thấy được ban đầu đèn sẽ sáng từ 0 lên 5 sau đó tắt dần từ 5 xuống 0
và sáng từ 0 lên 5 sau đó tắt dần tới 0 sáng lên 10 xuống 5; từ 5 lên 15 và tắt cả 15 đèn.
Mô tả: When flick=1 at kickback points (lamp[10]) Khi đó tại thời điểm initial flick
=1. Trường hợp này ta thấy được ban đầu đèn sẽ sáng từ 0 lên 5 sau đó tắt dần từ 5 xuống 0
và sáng từ 0 lên 10 sau đó tắt dần tù 10 xuống 5; từ 5 lên 10 sau đó lên 15 và tắt cả 15 đèn.
Mô tả: When flick = 1 at kickback points (lamp[5]). Khi đó tại thời điểm initial flick
=1. Trường hợp này ta thấy được ban đầu đèn sẽ sáng từ 0 lên 5 sau đó tắt dần từ 5 xuống 0
và sáng từ 0 lên 10 sau đó tắt dần tới 5 sáng tới 10 xuống 5; từ 5 lên 15 và tắt cả 15 đèn.