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

Subversion Repositories csa

[/] [csa/] [trunk/] [bench/] [key_perm_tb.v] - Rev 24

Compare with Previous | Blame | View Log

 
// this is the testbench file for key_perm module
 
`timescale 10ns/1ns
module key_perm_tb;
 
integer ofile;
 
reg  [63:0]i_key;
wire [63:0]o_key;
 
initial
begin
        // read the input key
        $read_data(
                                "../test_dat/key_perm.in"
                               ,i_key
                  );
        #10;
 
        // output the permated key
        $write_data(
                        "../test_dat/key_perm.out.v"
                       ,"w"
                       ,o_key
                   );
        $finish;
end
 
key_perm k(
                 .i_key(i_key)
                ,.o_key(o_key)
        );
 
endmodule
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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