OpenCores
URL https://opencores.org/ocsvn/tiny_aes/tiny_aes/trunk

Subversion Repositories tiny_aes

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /tiny_aes/trunk/testbench
    from Rev 2 to Rev 3
    Reverse comparison

Rev 2 → Rev 3

/simulation.do
0,0 → 1,11
vlib work
vlog ../rtl/*.v
vlog *.v
vsim -novopt test_aes_128
add wave -noupdate -format Logic -radix unsigned /test_aes_128/clk
add wave -noupdate -divider input
add wave -noupdate -format Literal -radix hexadecimal /test_aes_128/state
add wave -noupdate -format Literal -radix hexadecimal /test_aes_128/key
add wave -noupdate -divider output
add wave -noupdate -format Literal -radix hexadecimal /test_aes_128/out
run -all
/Read_Me.txt
0,0 → 1,9
How to start the simulation
 
1. simulation.do
----------------
This file is a batch file for Modelsim to compile the HDL files, setup the wave file, and begin function simulation. The working directory of Modelsim must be the same directory of the batch file.
 
2. test_aes_128.v
----------------------
This file is the main test bench. It is self-checked. It feeds input data to the core and compare the correct result with the output of the core. If the output is wrong, the test bench will display an error message.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.