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

Subversion Repositories csa

[/] [csa/] [trunk/] [bench/] [key_schedule_tb.v] - Blame information for rev 13

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 simon111
// the test bench module for key_schedule
2
`timescale 10ns/1ns
3
 
4
module key_schedule_tb;
5
reg     [8*8-1:0]  ck;
6
wire    [56*8-1:0] kk;
7
        initial
8
        begin
9
 
10
        // read CK
11
        $read_data(
12
                                "../test_dat/key_schedule.in"
13
                               ,ck
14
                  );
15
        #10;
16
 
17
        // output kk
18
        $write_data(
19
                        "../test_dat/key_schedule.out.v"
20
                       ,kk
21
                   );
22
                $finish;
23
        end
24
 
25
        key_schedule ks(
26
                        .i_ck(ck)
27
                       ,.o_kk(kk)
28
                        );
29
endmodule

powered by: WebSVN 2.1.0

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