Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 2

Do File

1.
2.
3.
4.
5.
6.
7.
8.

######################
vlib work
vmap work work
vcom test.vhd
vsim -novopt top_architecture
add wave *
run all
######################
##

Notes:
1.
2.
3.
4.
5.
6.

7.
8.

9.
10.

Test.vhd is your file name which you want to compile.


Repeat the line for the number of files you want to compile.
Example: vcom test1.vhd
vcom test2.vhd
and so on
In vsim give your top architecture name if it doesnt work give
your top entity name. (only 1 statement..not multiple lines)
In run you can give time or just run all
If you want to add any wave give add wave * command
otherwise remove it.
Save it as filename.do format. Filename can be any name.
Then in your transcript give the following command : do
filename.do

You might also like