# Compile of tb.v failed with 4 errors.
# Compile of tb.v failed with 2 errors.
# Compile of tb.v was successful.
vsim work.tb
# vsim work.tb 
# Start time: 14:25:26 on Jun 08,2022
# Loading work.tb
# Loading work.mstate
# ** Warning: (vsim-3015) [PCDPC] - Port size (3) does not match connection size (4) for port 'out'. The port definition is at: /home/ir/Documents/codelib/Quartus/v7/mstate.v(1).
#    Time: 0 ns  Iteration: 0  Instance: /tb/M1 File: /home/ir/Documents/codelib/Quartus/v7/tb.v Line: 21
add wave -position end  sim:/tb/clk
add wave -position end  sim:/tb/key
add wave -position end  sim:/tb/out
run
run
run
run
run
run
run
# Compile of mstate.v was successful.
# End time: 16:19:51 on Jun 13,2022, Elapsed time: 121:54:25
# Errors: 0, Warnings: 6
