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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [logic/] [ip/] [serial_rcvr/] [sim/] [icarus/] [fifo_default/] [test_define] - Rev 131

Compare with Previous | Blame | View Log




initial
 begin
  while(1)
   begin
   test.R_edge_enable = 1'b0;
   test.cg.next(3);
   test.R_edge_enable = 1'b1;
   test.cg.next(1);

   end
 end


initial
 begin
  while(1)
   begin
   test.xmit_edge_enable = 1'b0;
   test.cg.next(63);
   test.xmit_edge_enable = 1'b1;
   test.cg.next(1);

   end
 end






initial
 begin
 $display("              ");
 $display("          ===================================================");
 $display("%t    Start Test  ",$realtime );
 $display("          ===================================================");
 $display("              ");

 test.R_edge_enable          =  1'b0; 
 test.xmit_edge_enable       =  1'b0; 

test.R_parity_enable        =  1'b1; 
test.R_parity_type          =  1'b0; 
test.R_parity_force         =  1'b0; 
test.R_rcv_stb              =  1'b0; 

test.xmit_parity_enable    <= 1'b1;             // 0 = no parity bit sent, 1= parity bit sent
test.xmit_parity_type      <= 1'b1;              // 0= odd,1=even
test.xmit_parity_force     <= 1'b0;              // force parity_type
test.xmit_load             <= 1'b0;              // start transmiting data
test.xmit_start_value      <= 1'b0;            // value out at start bit time
test.xmit_stop_value       <= 1'b1;            // value out for stop bit also used for break
test.xmit_data             <= 8'h00;       



 test.cg.next(12);
 

 test.cg.next(88);
 $display("%t    Test enabled   ",$realtime );

 test.R_parity_enable        =  1'b0; 
 test.xmit_parity_enable    <= 1'b0;             // 0 = no parity bit sent, 1= parity bit sent


test.xmit_data             <= 8'h00;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);






test.xmit_data             <= 8'h01;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h02;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);




test.xmit_data             <= 8'h04;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h08;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);



test.xmit_data             <= 8'h10;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'h20;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h40;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'h80;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'hff;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h11;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h22;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h44;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);



test.xmit_data             <= 8'h88;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);





test.xmit_stop_value       <= 1'b0;            // value out for stop bit also used for break
test.cg.next(4000);
test.cg.next(6000);
test.xmit_stop_value       <= 1'b1;            // value out for stop bit also used for break
test.cg.next(1000);






test.R_parity_enable        =  1'b1; 
test.xmit_parity_enable    <= 1'b1;             // 0 = no parity bit sent, 1= parity bit sent
test.R_parity_type          =  1'b1; 
test.xmit_parity_type      <= 1'b1;              // 0= odd,1=even




test.xmit_data             <= 8'h00;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);






test.xmit_data             <= 8'h01;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h02;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);




test.xmit_data             <= 8'h04;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h08;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);



test.xmit_data             <= 8'h10;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'h20;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h40;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'h80;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'hff;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h11;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h22;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h44;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);



test.xmit_data             <= 8'h88;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);





test.xmit_stop_value       <= 1'b0;            // value out for stop bit also used for break
test.cg.next(4000);
test.cg.next(6000);
test.xmit_stop_value       <= 1'b1;            // value out for stop bit also used for break
test.cg.next(1000);














test.R_parity_enable        =  1'b1; 
test.xmit_parity_enable    <= 1'b1;             // 0 = no parity bit sent, 1= parity bit sent
test.R_parity_type          =  1'b0; 
test.xmit_parity_type      <= 1'b0;              // 0= odd,1=even




test.xmit_data             <= 8'h00;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);






test.xmit_data             <= 8'h01;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h02;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);




test.xmit_data             <= 8'h04;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h08;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);



test.xmit_data             <= 8'h10;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'h20;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h40;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'h80;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'hff;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h11;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h22;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h44;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);



test.xmit_data             <= 8'h88;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);





test.xmit_stop_value       <= 1'b0;            // value out for stop bit also used for break
test.cg.next(4000);
test.cg.next(6000);
test.xmit_stop_value       <= 1'b1;            // value out for stop bit also used for break
test.cg.next(1000);





















test.R_parity_enable        =  1'b1; 
test.xmit_parity_enable    <= 1'b1;             // 0 = no parity bit sent, 1= parity bit sent
test.R_parity_type          =  1'b1; 
test.xmit_parity_type      <= 1'b0;              // 0= odd,1=even




test.xmit_data             <= 8'h00;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);






test.xmit_data             <= 8'h01;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h02;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);




test.xmit_data             <= 8'h04;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h08;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);



test.xmit_data             <= 8'h10;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);

test.xmit_data             <= 8'h20;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.cg.next(1000);


test.xmit_data             <= 8'h40;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);

test.xmit_data             <= 8'h80;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);

test.xmit_data             <= 8'hff;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h11;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h22;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h44;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);



test.xmit_data             <= 8'h88;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);





test.xmit_stop_value       <= 1'b0;            // value out for stop bit also used for break
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(6000);
test.xmit_stop_value       <= 1'b1;            // value out for stop bit also used for break
test.cg.next(1000);






test.R_parity_enable        =  1'b1; 
test.xmit_parity_enable    <= 1'b1;             // 0 = no parity bit sent, 1= parity bit sent
test.R_parity_type          =  1'b0; 
test.xmit_parity_type      <= 1'b1;              // 0= odd,1=even




test.xmit_data             <= 8'h00;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);






test.xmit_data             <= 8'h01;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h02;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);




test.xmit_data             <= 8'h04;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h08;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);



test.xmit_data             <= 8'h10;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);

test.xmit_data             <= 8'h20;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h40;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);

test.xmit_data             <= 8'h80;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);

test.xmit_data             <= 8'hff;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h11;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h22;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);


test.xmit_data             <= 8'h44;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);



test.xmit_data             <= 8'h88;       
test.cg.next(5);
test.xmit_load             <= 1'b1;              // start transmiting data
test.cg.next(1);
test.xmit_load             <= 1'b0;              // start transmiting data
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(1000);





test.xmit_stop_value       <= 1'b0;            // value out for stop bit also used for break
test.cg.next(4000);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(6000);
test.xmit_stop_value       <= 1'b1;            // value out for stop bit also used for break
test.cg.next(1000);




test.R_parity_enable        =  1'b0; 
test.xmit_parity_enable    <= 1'b0;             // 0 = no parity bit sent, 1= parity bit sent
test.R_parity_type          =  1'b0; 
test.xmit_parity_type      <= 1'b0;              // 0= odd,1=even
test.xmit_stop_value       <= 1'b0;            // value out for stop bit also used for break
test.cg.next(29);

test.xmit_stop_value       <= 1'b1;            // value out for stop bit also used for break


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);
test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);

test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);


test.R_rcv_stb              =  1'b1;
test.cg.next(1);
test.R_rcv_stb              =  1'b0;
test.cg.next(200);




test.cg.next(1000);

 test.cg.exit;
end




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.