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

Subversion Repositories tiny_aes

[/] [tiny_aes/] [trunk/] [testbench/] [test_aes_128.v] - Diff between revs 2 and 9

Show entire file | Details | Blame | View Log

Rev 2 Rev 9
Line 38... Line 38...
                clk = 0;
                clk = 0;
                state = 0;
                state = 0;
                key = 0;
                key = 0;
 
 
                #100;
                #100;
 
        /*
 
         * TIMEGRP "key" OFFSET = IN 6.4 ns VALID 6 ns AFTER "clk" HIGH;
 
         * TIMEGRP "state" OFFSET = IN 6.4 ns VALID 6 ns AFTER "clk" HIGH;
 
         * TIMEGRP "out" OFFSET = OUT 2.2 ns BEFORE "clk" HIGH;
 
         */
        @ (negedge clk);
        @ (negedge clk);
 
        # 2;
        state = 128'h3243f6a8_885a308d_313198a2_e0370734;
        state = 128'h3243f6a8_885a308d_313198a2_e0370734;
        key   = 128'h2b7e1516_28aed2a6_abf71588_09cf4f3c;
        key   = 128'h2b7e1516_28aed2a6_abf71588_09cf4f3c;
        #10;
        #10;
        state = 128'h00112233_44556677_8899aabb_ccddeeff;
        state = 128'h00112233_44556677_8899aabb_ccddeeff;
        key   = 128'h00010203_04050607_08090a0b_0c0d0e0f;
        key   = 128'h00010203_04050607_08090a0b_0c0d0e0f;

powered by: WebSVN 2.1.0

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