data/full_repos/permissive/517918315/sramtest.v
1: b'%Error: data/full_repos/permissive/517918315/sramtest.v:1: Cannot find include file: sram.v\n`include "sram.v" \n         ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/517918315,data/full_repos/permissive/517918315/sram.v\n             data/full_repos/permissive/517918315,data/full_repos/permissive/517918315/sram.v.v\n             data/full_repos/permissive/517918315,data/full_repos/permissive/517918315/sram.v.sv\n             sram.v\n             sram.v.v\n             sram.v.sv\n             obj_dir/sram.v\n             obj_dir/sram.v.v\n             obj_dir/sram.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:17: Unsupported: Ignoring delay on this delayed statement.\nalways #40 clk=~clk;\n       ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/517918315/sramtest.v:20: Unsupported or unknown PLI call: $dumpfile\n    $dumpfile("sramtest.vcd");\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/517918315/sramtest.v:21: Unsupported or unknown PLI call: $dumpvars\n    $dumpvars(0,sramtest);\n    ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:29: Unsupported: Ignoring delay on this delayed statement.\n    #80;wr=1;rd=0;rst=0;addr=2\'b01;uut.data=16\'ha00f;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:30: Unsupported: Ignoring delay on this delayed statement.\n    #80;wr=1;rd=0;rst=0;addr=2\'b10;uut.data=16\'hffff;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:31: Unsupported: Ignoring delay on this delayed statement.\n    #80;wr=1;rd=0;rst=0;addr=2\'b11;uut.data=16\'h000f;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:32: Unsupported: Ignoring delay on this delayed statement.\n    #80;wr=1;rd=0;rst=0;addr=2\'b00;uut.data=16\'h4321;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:36: Unsupported: Ignoring delay on this delayed statement.\n    #80;wr=0;rd=1;rst=0;addr=2\'b01;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:37: Unsupported: Ignoring delay on this delayed statement.\n    #80;wr=0;rd=1;rst=0;addr=2\'b10;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:38: Unsupported: Ignoring delay on this delayed statement.\n    #80;wr=0;rd=1;rst=0;addr=2\'b11;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/517918315/sramtest.v:39: Unsupported: Ignoring delay on this delayed statement.\n    #80;\n    ^\n%Error: Exiting due to 3 error(s), 9 warning(s)\n'
module sramtest;

reg clk,wr,rd,rst;
reg [1:0]addr;




sram uut(
    .clk(clk),
    .wr(wr),
    .rd(rd),
    .rst(rst),
    .addr(addr)
);
always #40 clk=~clk;
initial begin
  
    $dumpfile("sramtest.vcd");
    $dumpvars(0,sramtest);
  

  
    clk=1;wr=0;rd=1;rst=1;
  


    #80;wr=1;rd=0;rst=0;addr=2'b01;uut.data=16'ha00f;
    #80;wr=1;rd=0;rst=0;addr=2'b10;uut.data=16'hffff;
    #80;wr=1;rd=0;rst=0;addr=2'b11;uut.data=16'h000f;
    #80;wr=1;rd=0;rst=0;addr=2'b00;uut.data=16'h4321;


  
    #80;wr=0;rd=1;rst=0;addr=2'b01;
    #80;wr=0;rd=1;rst=0;addr=2'b10;
    #80;wr=0;rd=1;rst=0;addr=2'b11;
    #80;
    $finish;
  

  
end

endmodule
module sramtest;


reg clk,wr,rd,rst;
reg [1:0]addr;




sram uut(
    .clk(clk),
    .wr(wr),
    .rd(rd),
    .rst(rst),
    .addr(addr)
);
always #40 clk=~clk;
initial begin
  
    $dumpfile("sramtest.vcd");
    $dumpvars(0,sramtest);
  

  
    clk=1;wr=0;rd=1;rst=1;
  


    #80;wr=1;rd=0;rst=0;addr=2'b01;uut.data=16'ha00f;
    #80;wr=1;rd=0;rst=0;addr=2'b10;uut.data=16'hffff;
    #80;wr=1;rd=0;rst=0;addr=2'b11;uut.data=16'h000f;
    #80;wr=1;rd=0;rst=0;addr=2'b00;uut.data=16'h4321;


  
    #80;wr=0;rd=1;rst=0;addr=2'b01;
    #80;wr=0;rd=1;rst=0;addr=2'b10;
    #80;wr=0;rd=1;rst=0;addr=2'b11;
    #80;
    $finish;
  

  
end

endmodule