**Before trying to follow these instructions make sure that you have vhdl installed for your account,  by following the previous

steps.

 

Instructions to compile the vhdl code.


1. vhdlan filename eg: vhdlan and_gate.vhd
2. vhdlsim filename eg: vhdlsim AND_ENT

then in vhdlsim remember the commands are the ones you need to enter at the # sign as shown below. For description refer to the booklet.

# ls
AND_ENT STANDARD ATTRIBUTES STD_LOGIC_1164 _KERNEL
# cd AND_ENT
# ls
X Y F _P0
# assign '1' X
# assign '1' Y
# run 30
60 NS
# evaluate F
F '1'
# assign '0' X
# assign '1' Y
# evaluate F
F '1'
# run 20
80 NS
# evaluate F
F '0'
#