Xcelium Tutorial.pdf
Xcelium Tutorial.pdf
Xcelium Tutorial
September 2019
This study source was downloaded by 100000862518582 from CourseHero.com on 02-19-2023 23:52:18 GMT -06:00
https://www.coursehero.com/file/90992450/Xcelium-Tutorialpdf/
2
Xcelium Tutorial
Before going to next steps, please note that those lines that start with ‘#’ are explanation, lines that follow
with ‘$’ are commands and you need to copy and then paste in your terminal and press enter.
1. RTL simulation
In this part, you only need the verilog code (RTL) “alu_conv.v” and its testbench “alu_conv_test.v”.
1) # Go into the directory “Lab1”. This is the directory you create in Genus_Tutorial. And copy alu_conv_test.v to this folder.
$ cd ./Lab1
$ cp /vol/ece303/genus_tutorial/alu_conv_test.v .
Lab1 folder should contain: alu_conv.v , alu_conv_test.v. You could type “ls” to see files in the directory.
(If you have not done Genus_Tutorial, you can simply run the following command to copy the files so you can still follow this
tutorial to learn Xcelium.
$ mkdir Lab1
$ cd ./Lab1
$ cp /vol/ece303/genus_tutorial/alu_conv.v .
)
3) # Type the following command to run the cadence tool. In this case you will see a new open window like this:
$ xrun -64bit -gui -access r alu_conv.v alu_conv_test.v
This study source was downloaded by 100000862518582 from CourseHero.com on 02-19-2023 23:52:18 GMT -06:00
https://www.coursehero.com/file/90992450/Xcelium-Tutorialpdf/
3
Important: the terminal should show no error, or the new window will not pop-up.
4) # In this window you can select the signal you want to send to the Waveform Window (right click a signal -> Send to
Waveform Window)
5) # In the Waveform SimVison window you can simulate your design. Simulation->Run.
Note: You need to use zoom in/out function to pick the expected observation time period.
This study source was downloaded by 100000862518582 from CourseHero.com on 02-19-2023 23:52:18 GMT -06:00
https://www.coursehero.com/file/90992450/Xcelium-Tutorialpdf/
4
Important: if you see error bellow, click “Reset the simulation back to time 0”. Then run simulation again.
This study source was downloaded by 100000862518582 from CourseHero.com on 02-19-2023 23:52:18 GMT -06:00
https://www.coursehero.com/file/90992450/Xcelium-Tutorialpdf/
5
After modification, save change and quit, then go back to setp 3 to type the same command.
4) After last command, there will be a SimVison window pop-up, in this window you can select the signal you want to send to
the Waveform Window (right click a signal -> Send to Waveform Window). Scroll down to the bottom and send signals in
alu_conv_test to waveform window.
In the Waveform SimVison window you can simulate your design. Simulation->Run.
This study source was downloaded by 100000862518582 from CourseHero.com on 02-19-2023 23:52:18 GMT -06:00
https://www.coursehero.com/file/90992450/Xcelium-Tutorialpdf/
6
The result of the gate level simulations should match with the RTL simulations. But simulation is based on
gate level netlist this time.
Note in this tutorial, we did not give timing information to each gate, which means each gate has zero delay.
We can perform simulation with real delay of gate, which is called “back-annotated” simulation. This
operation needs to modify the xrun command. We skip this operation in this tutorial.
This study source was downloaded by 100000862518582 from CourseHero.com on 02-19-2023 23:52:18 GMT -06:00
https://www.coursehero.com/file/90992450/Xcelium-Tutorialpdf/
Powered by TCPDF (www.tcpdf.org)