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

Subversion Repositories csa

[/] [csa/] [trunk/] [rtl/] [stream_cypher.v] - Diff between revs 40 and 44

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 40 Rev 44
Line 62... Line 62...
begin
begin
        if(rst)
        if(rst)
        begin
        begin
                A<= 40'h0000000000;
                A<= 40'h0000000000;
                B<= 40'h0000000000;
                B<= 40'h0000000000;
                X<=  8'h00;
                X<=  4'h0;
                Y<=  8'h00;
                Y<=  4'h0;
                Z<=  8'h00;
                Z<=  4'h0;
                D<=  8'h00;
                D<=  4'h0;
                E<=  8'h00;
                E<=  4'h0;
                F<=  8'h00;
                F<=  4'h0;
                p<=  8'h00;
                p<=  1'h0;
                q<=  8'h00;
                q<=  1'h0;
                r<=  8'h00;
                r<=  1'h0;
        end
        end
        else
        else
        begin
        begin
                if(en)
                if(en)
                begin
                begin
Line 93... Line 93...
                end
                end
        end
        end
end
end
 
 
 
 
stream_8bytes b(
stream_8bytes stream_8bytes(
                        .init(init)
                        .init(init)
                       ,.sb(sb)
                       ,.sb(sb)
                       ,.Ai((init)?Ainit:A)
                       ,.Ai((init)?Ainit:A)
                       ,.Bi((init)?Binit:B)
                       ,.Bi((init)?Binit:B)
                       ,.Di((init)?4'b0 :D)
                       ,.Di((init)?4'b0 :D)

powered by: WebSVN 2.1.0

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