data/full_repos/permissive/165514176/tb_serial.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:68: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:71: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:76: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:78: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:82: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:84: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:87: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:89: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:92: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:94: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:96: Unsupported: Ignoring delay on this delayed statement.\n    #8000;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:100: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:103: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:107: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:109: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:112: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:114: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:117: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:119: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:122: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:124: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:126: Unsupported: Ignoring delay on this delayed statement.\n    #delay;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/165514176/tb_serial.v:250: Unsupported: Ignoring delay on this delayed statement.\n      #5  clk =  ! clk; \n      ^\n%Error: data/full_repos/permissive/165514176/tb_serial.v:49: Cannot find file containing module: \'message_printer\'\n  message_printer helloWorldPrinter (\n  ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/165514176,data/full_repos/permissive/165514176/message_printer\n             data/full_repos/permissive/165514176,data/full_repos/permissive/165514176/message_printer.v\n             data/full_repos/permissive/165514176,data/full_repos/permissive/165514176/message_printer.sv\n             message_printer\n             message_printer.v\n             message_printer.sv\n             obj_dir/message_printer\n             obj_dir/message_printer.v\n             obj_dir/message_printer.sv\n%Error: Exiting due to 1 error(s), 23 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tb_Serial;


parameter delay =10;








	
	reg clk = 0;
	reg rst = 0;
	reg new_rx_data =0; 
    wire signed[7:0] tx_data;
    wire new_tx_data;
    reg tx_busy;
    reg signed [7:0] rx_data;
	 reg new_tx_data_reg;
    assign new_tx_data = new_tx_data_reg;

	 wire [7:0]ledout;
	 
  message_printer helloWorldPrinter (
    .clk(clk),
    .rst(rst),
    .tx_data(tx_data),
    .new_tx_data(new_tx_data),
    .tx_busy(tx_busy),
    .rx_data(rx_data),
    .new_rx_data(new_rx_data),
	 .ledout(ledout)
  );
	 
   
    initial begin

		  new_tx_data_reg = 1'b0; 
		  tx_busy = 1'b0;
		  rst = 1'b0;
		  new_rx_data = 1'b0;
		  rx_data = "h";
		  #delay;
		  
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;

		  rx_data = 8'hB1;

		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;

		  rx_data = 8'h0;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = 8'h0;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		   rx_data = 8'h0;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		    new_rx_data = 1'b0;
		  #8000;
		  
		   new_rx_data = 1'b0;
		  rx_data = "h";
		  #delay;
		  
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = "9";
		  rx_data = 8'h01;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = 8'hFF;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = 8'hFF;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		   rx_data = 8'hFF;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		    new_rx_data = 1'b0;
		  #delay;
		  

		  
		  		  

		  

		  

		  

    end

	  always 
      #5  clk =  ! clk; 
endmodule
module tb_Serial;



parameter delay =10;








	
	reg clk = 0;
	reg rst = 0;
	reg new_rx_data =0; 
    wire signed[7:0] tx_data;
    wire new_tx_data;
    reg tx_busy;
    reg signed [7:0] rx_data;
	 reg new_tx_data_reg;
    assign new_tx_data = new_tx_data_reg;

	 wire [7:0]ledout;
	 
  message_printer helloWorldPrinter (
    .clk(clk),
    .rst(rst),
    .tx_data(tx_data),
    .new_tx_data(new_tx_data),
    .tx_busy(tx_busy),
    .rx_data(rx_data),
    .new_rx_data(new_rx_data),
	 .ledout(ledout)
  );
	 
   
    initial begin

		  new_tx_data_reg = 1'b0; 
		  tx_busy = 1'b0;
		  rst = 1'b0;
		  new_rx_data = 1'b0;
		  rx_data = "h";
		  #delay;
		  
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;

		  rx_data = 8'hB1;

		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;

		  rx_data = 8'h0;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = 8'h0;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		   rx_data = 8'h0;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		    new_rx_data = 1'b0;
		  #8000;
		  
		   new_rx_data = 1'b0;
		  rx_data = "h";
		  #delay;
		  
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = "9";
		  rx_data = 8'h01;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = 8'hFF;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		  rx_data = 8'hFF;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		  new_rx_data = 1'b0;
		   rx_data = 8'hFF;
		  #delay;
		  new_rx_data = 1'b1;
		  #delay;
		    new_rx_data = 1'b0;
		  #delay;
		  

		  
		  		  

		  

		  

		  

    end

	  always 
      #5  clk =  ! clk; 
endmodule