OpenCores
URL https://opencores.org/ocsvn/rc4-prbs/rc4-prbs/trunk

Subversion Repositories rc4-prbs

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 8 to Rev 9
    Reverse comparison

Rev 8 → Rev 9

/rc4-prbs/trunk/rc4.inc
18,4 → 18,4
*/
 
 
`define KEY_SIZE 8
`define KEY_SIZE 6
/rc4-prbs/trunk/rc4_tb.v
70,7 → 70,13
/* Simulation */
integer q;
initial begin
for (q=0; q<`KEY_SIZE; q=q+1) password[q] = 8'h42; // initialize Key
password[0] = 8'h53; // 'S'
password[1] = 8'h65; // 'e'
password[2] = 8'h63; // 'c'
password[3] = 8'h72; // 'r'
password[4] = 8'h65; // 'e'
password[5] = 8'h74; // 't'
// Test vector: "Secret" --> "04 d4 6b 05 3c a8 7b 59"
$display ("Start...");
clk = 0;
rst = 1;

powered by: WebSVN 2.1.0

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