data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v
None: at end of input
1: b'%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:85: syntax error, unexpected \'@\'\n     repeat(1) @(posedge clk);\n               ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:87: syntax error, unexpected \'@\'\n     repeat(10) @(posedge clk);\n                ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:91: syntax error, unexpected \'@\'\n     @(negedge clk);\n     ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:97: syntax error, unexpected \'@\'\n            @(negedge clk);\n            ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:107: syntax error, unexpected \'@\'\n       @(negedge clk); \n       ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:116: syntax error, unexpected \'@\'\n     @(negedge clk);\n     ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:121: syntax error, unexpected \'@\'\n              @(negedge clk);\n              ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:129: syntax error, unexpected \'@\'\n     @(negedge clk);\n     ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:134: syntax error, unexpected \'@\'\n              @(negedge clk);\n              ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:142: syntax error, unexpected \'@\'\n            @(negedge clk);\n            ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:147: syntax error, unexpected \'@\'\n              @(negedge clk);\n              ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:155: syntax error, unexpected \'@\'\n            @(negedge clk);\n            ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:159: syntax error, unexpected \'@\'\n              @(negedge clk);\n              ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:167: syntax error, unexpected \'@\'\n            @(negedge clk);\n            ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:172: syntax error, unexpected \'@\'\n              @(negedge clk);\n              ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:180: syntax error, unexpected \'@\'\n            @(negedge clk);\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:188: Unsupported: Ignoring delay on this delayed statement.\n  #7 clk = ~clk;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:217: Unsupported: Ignoring delay on this delayed statement.\n    #5000;\n    ^\n%Error: data/full_repos/permissive/175063152/ip/gcm_aes_1.0/src/tb/test_bench.v:222: Unsupported or unknown PLI call: $monitor\n   $monitor($time,":DNR = %b, Out_data = %h, Out_vld = %b, Tag_vld = %b, Out_data_size=%d, Out_last_word=%d\\n",dii_data_not_ready,Out_data,Out_vld,Tag_vld,Out_data_size,Out_last_word);\n   ^~~~~~~~\n%Error: Exiting due to 17 error(s), 2 warning(s)\n'
module test_bench;


  reg clk;
  reg rst;
  reg [`SIZE-1:0] dii_data;
  reg [3:0]       dii_data_size;
  reg             dii_data_vld;
  reg             dii_data_type;
  reg             dii_last_word;

  reg [`SIZE-1:0] cii_K;
  reg             cii_ctl_vld;
  reg             cii_IV_vld;
  
  

  wire                  dii_data_not_ready;
  wire [`SIZE-1:0]      Out_data;
  wire                  Out_vld;
  wire                  Tag_vld;
  wire [3:0]            Out_data_size;
  wire                  Out_last_word;
  

  	initial 
          begin

	    clk = 0;
	    cii_ctl_vld   = 1'b0;
            cii_IV_vld = 1'b0;
	    dii_data_vld  = 1'b0;
	    dii_last_word = 1'b0;		
	    dii_data_type = 1'b0;
	    dii_data = 0;
	    dii_data_size = 0; 
            cii_K         = 0;
	   	
	    
	    rst = 0;
	    repeat(1) @(posedge clk);
	    rst =  1;
	    repeat(10) @(posedge clk);
	    rst =  0;
		
		
	    @(negedge clk);
            
	    cii_ctl_vld = 1'b1;
	    cii_K       = 128'hfeffe9928665731c6d6a8f9467308308;


            @(negedge clk);
	    cii_ctl_vld = 1'b0;
			
            
            cii_IV_vld = 1'b1;
	    dii_data   = 128'hcafebabefacedbaddecaf888_00000001;

            
	    
	    while(dii_data_not_ready)
	      @(negedge clk);	
	    
	    cii_IV_vld = 1'b0;
            dii_data_size = 4'd15;
	    dii_data_vld  = 1'b1;
	    dii_data      = 128'hfeedfacedeadbeeffeedfacedeadbeef;
	    dii_data_type = 1'b1;
	    dii_last_word = 1'b0;
	    
	    @(negedge clk);
	    dii_data_vld  = 1'b0;	
	    
	    
	    while(dii_data_not_ready)
              @(negedge clk);
	    
	    dii_data_vld  = 1'b1;	
	    dii_data_size = 4'd3;
	    dii_data      = 32'habaddad2;
	    dii_data_type = 1'b1;
	    dii_last_word = 1'b0;
	    
	    @(negedge clk);
	    dii_data_vld  = 1'b0;
	    
	    
        while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd15;
            dii_data      = 128'hd9313225f88406e5a55909c5aff5269a;
            dii_data_type = 1'b0;
            dii_last_word = 1'b0;

            @(negedge clk);
            dii_data_vld  = 1'b0;


           while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd15;
            dii_data      = 128'h86a7a9531534f7da2e4c303d8a318a72;
            dii_data_type = 1'b0;
            dii_last_word = 1'b0;

            @(negedge clk);
            dii_data_vld  = 1'b0;

            while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd15;
            dii_data      = 128'h1c3c0c95956809532fcf0e2449a6b525;
            dii_data_type = 1'b0;
            dii_last_word = 1'b0;

            @(negedge clk);
            dii_data_vld  = 1'b0;


            while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd11;
            dii_data      = 128'hb16aedf5aa0de657ba637b39;
            dii_data_type = 1'b0;
            dii_last_word = 1'b1;

            @(negedge clk);
            dii_data_vld  = 1'b0; 
	    
	  end
  
	
	
	always
		#7 clk = ~clk;
	



	gcm_aes_v0 uut (
		  .clk(clk), 
		  .rst(rst), 
		  .dii_data(dii_data), 
		  .dii_data_size(dii_data_size),
		  .dii_data_vld(dii_data_vld), 
		  .dii_data_type(dii_data_type), 
		  .dii_data_not_ready(dii_data_not_ready), 
		  .dii_last_word(dii_last_word),
                  .cii_K(cii_K),
		  .cii_ctl_vld(cii_ctl_vld), 
		  .cii_IV_vld(cii_IV_vld), 
		  .Out_data(Out_data), 
		  .Out_vld(Out_vld), 
		  .Tag_vld(Tag_vld),
                  .Out_data_size(Out_data_size),
                  .Out_last_word(Out_last_word)
	          );



	initial
          begin

				#5000;
            $stop;
          end
	
	initial
   $monitor($time,":DNR = %b, Out_data = %h, Out_vld = %b, Tag_vld = %b, Out_data_size=%d, Out_last_word=%d\n",dii_data_not_ready,Out_data,Out_vld,Tag_vld,Out_data_size,Out_last_word);

   
endmodule
module test_bench;



  reg clk;
  reg rst;
  reg [`SIZE-1:0] dii_data;
  reg [3:0]       dii_data_size;
  reg             dii_data_vld;
  reg             dii_data_type;
  reg             dii_last_word;

  reg [`SIZE-1:0] cii_K;
  reg             cii_ctl_vld;
  reg             cii_IV_vld;
  
  

  wire                  dii_data_not_ready;
  wire [`SIZE-1:0]      Out_data;
  wire                  Out_vld;
  wire                  Tag_vld;
  wire [3:0]            Out_data_size;
  wire                  Out_last_word;
  

  	initial 
          begin

	    clk = 0;
	    cii_ctl_vld   = 1'b0;
            cii_IV_vld = 1'b0;
	    dii_data_vld  = 1'b0;
	    dii_last_word = 1'b0;		
	    dii_data_type = 1'b0;
	    dii_data = 0;
	    dii_data_size = 0; 
            cii_K         = 0;
	   	
	    
	    rst = 0;
	    repeat(1) @(posedge clk);
	    rst =  1;
	    repeat(10) @(posedge clk);
	    rst =  0;
		
		
	    @(negedge clk);
            
	    cii_ctl_vld = 1'b1;
	    cii_K       = 128'hfeffe9928665731c6d6a8f9467308308;


            @(negedge clk);
	    cii_ctl_vld = 1'b0;
			
            
            cii_IV_vld = 1'b1;
	    dii_data   = 128'hcafebabefacedbaddecaf888_00000001;

            
	    
	    while(dii_data_not_ready)
	      @(negedge clk);	
	    
	    cii_IV_vld = 1'b0;
            dii_data_size = 4'd15;
	    dii_data_vld  = 1'b1;
	    dii_data      = 128'hfeedfacedeadbeeffeedfacedeadbeef;
	    dii_data_type = 1'b1;
	    dii_last_word = 1'b0;
	    
	    @(negedge clk);
	    dii_data_vld  = 1'b0;	
	    
	    
	    while(dii_data_not_ready)
              @(negedge clk);
	    
	    dii_data_vld  = 1'b1;	
	    dii_data_size = 4'd3;
	    dii_data      = 32'habaddad2;
	    dii_data_type = 1'b1;
	    dii_last_word = 1'b0;
	    
	    @(negedge clk);
	    dii_data_vld  = 1'b0;
	    
	    
        while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd15;
            dii_data      = 128'hd9313225f88406e5a55909c5aff5269a;
            dii_data_type = 1'b0;
            dii_last_word = 1'b0;

            @(negedge clk);
            dii_data_vld  = 1'b0;


           while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd15;
            dii_data      = 128'h86a7a9531534f7da2e4c303d8a318a72;
            dii_data_type = 1'b0;
            dii_last_word = 1'b0;

            @(negedge clk);
            dii_data_vld  = 1'b0;

            while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd15;
            dii_data      = 128'h1c3c0c95956809532fcf0e2449a6b525;
            dii_data_type = 1'b0;
            dii_last_word = 1'b0;

            @(negedge clk);
            dii_data_vld  = 1'b0;


            while(dii_data_not_ready)
              @(negedge clk);

            dii_data_vld  = 1'b1;
            dii_data_size = 4'd11;
            dii_data      = 128'hb16aedf5aa0de657ba637b39;
            dii_data_type = 1'b0;
            dii_last_word = 1'b1;

            @(negedge clk);
            dii_data_vld  = 1'b0; 
	    
	  end
  
	
	
	always
		#7 clk = ~clk;
	



	gcm_aes_v0 uut (
		  .clk(clk), 
		  .rst(rst), 
		  .dii_data(dii_data), 
		  .dii_data_size(dii_data_size),
		  .dii_data_vld(dii_data_vld), 
		  .dii_data_type(dii_data_type), 
		  .dii_data_not_ready(dii_data_not_ready), 
		  .dii_last_word(dii_last_word),
                  .cii_K(cii_K),
		  .cii_ctl_vld(cii_ctl_vld), 
		  .cii_IV_vld(cii_IV_vld), 
		  .Out_data(Out_data), 
		  .Out_vld(Out_vld), 
		  .Tag_vld(Tag_vld),
                  .Out_data_size(Out_data_size),
                  .Out_last_word(Out_last_word)
	          );



	initial
          begin

				#5000;
            $stop;
          end
	
	initial
   $monitor($time,":DNR = %b, Out_data = %h, Out_vld = %b, Tag_vld = %b, Out_data_size=%d, Out_last_word=%d\n",dii_data_not_ready,Out_data,Out_vld,Tag_vld,Out_data_size,Out_last_word);

   
endmodule