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

Subversion Repositories pairing

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /pairing
    from Rev 24 to Rev 25
    Reverse comparison

Rev 24 → Rev 25

/trunk/testbench/simulation.do
0,0 → 1,15
vlib work
vlog ../rtl/*.v +incdir+../rtl
vlog *.v
vsim -novopt test_tate_pairing
add wave -noupdate -format Logic -radix unsigned /test_tate_pairing/clk
add wave -noupdate -format Logic -radix unsigned /test_tate_pairing/reset
add wave -noupdate -divider input
add wave -noupdate -format Literal -radix hexadecimal /test_tate_pairing/x1
add wave -noupdate -format Literal -radix hexadecimal /test_tate_pairing/y1
add wave -noupdate -format Literal -radix hexadecimal /test_tate_pairing/x2
add wave -noupdate -format Literal -radix hexadecimal /test_tate_pairing/y2
add wave -noupdate -divider output
add wave -noupdate -format Logic -radix unsigned /test_tate_pairing/done
add wave -noupdate -format Literal -radix hexadecimal /test_tate_pairing/out
run -all
/trunk/testbench/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_tate_pairing.v
----------------------
This file is the main test bench for the Tate Bilinear Pairing core. The test bench 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.