data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:9: Unsupported: Ignoring delay on this delayed statement.\n#1 clk=1;\n^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:10: Unsupported: Ignoring delay on this delayed statement.\n#1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:73: Unsupported: Ignoring delay on this delayed statement.\n#3 t_rst = 1\'b1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:74: Unsupported: Ignoring delay on this delayed statement.\n#2 t_rst = 1\'b0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:76: Unsupported: Ignoring delay on this delayed statement.\n#10000 mmul_en = 1\'b1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:77: Unsupported: Ignoring delay on this delayed statement.\n#10000;\n^\n%Warning-STMTDLY: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:78: Unsupported: Ignoring delay on this delayed statement.\n#100;\n^\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:90: Unsupported or unknown PLI call: $shm_open\n$shm_open ("my_waves");\n^~~~~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:91: Unsupported or unknown PLI call: $shm_probe\n$shm_probe (tb_aluwrap,"AC");\n^~~~~~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:92: Unsupported or unknown PLI call: $recordfile\n$recordfile("testsample.trn");\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/FixingMontScar/corexxx/tb_aluwrap.v:93: Unsupported or unknown PLI call: $recordvars\n$recordvars();\n^~~~~~~~~~~\n%Error: Exiting due to 4 error(s), 7 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tb_aluwrap;

reg clk;
reg t_rst;

always begin
clk = 0;
#1 clk=1;
#1;
end

parameter OPWID = 4;
parameter WID = 256;
parameter AWID = 5;



reg     mmul_en;


wire [WID-1:0] mmul_audat;
wire           mmul_auvld;


wire          mmul_done;


wire [OPWID-1:0] mmul_opcode;
wire             mmul_auen;
wire             mmul_carry;
wire             mmul_swapop;
wire             mmul_swapvl;


wire [AWID-1:0]  mmul_ra;
wire [AWID-1:0]  mmul_wa;
wire             mmul_we;
wire [WID-1:0]   mmul_wd;


auc_mmul iauc_mmul
    (
     .clk(clk),
     .rst(rst),
     

     .mmul_en(mmul_en),


     .mmul_auvld(mmul_auvld),
     .mmul_audat(mmul_audat),
     .mmul_aurswap(mmul_aurswap),

     .mmul_done(mmul_done),


     .mmul_opcode(mmul_opcode),
     .mmul_auen(mmul_auen),
     .mmul_carry(mmul_carry),
     .mmul_swapvl(mmul_swapvl),
     .mmul_swapop(mmul_swapop),
     

     .mmul_ra(mmul_ra),
     .mmul_wa(mmul_wa),
     .mmul_we(mmul_we),
     .mmul_wd(mmul_wd)
     );


initial begin
#3 t_rst = 1'b1;
#2 t_rst = 1'b0;
mmul_en = 1'b0;
#10000 mmul_en = 1'b1;
#10000;
#100;
$finish;
end

initial begin
$display ("==========OUTPUT==========");
end




initial begin
$shm_open ("my_waves");
$shm_probe (tb_aluwrap,"AC");
$recordfile("testsample.trn");
$recordvars();
end

endmodule
module tb_aluwrap;


reg clk;
reg t_rst;

always begin
clk = 0;
#1 clk=1;
#1;
end

parameter OPWID = 4;
parameter WID = 256;
parameter AWID = 5;



reg     mmul_en;


wire [WID-1:0] mmul_audat;
wire           mmul_auvld;


wire          mmul_done;


wire [OPWID-1:0] mmul_opcode;
wire             mmul_auen;
wire             mmul_carry;
wire             mmul_swapop;
wire             mmul_swapvl;


wire [AWID-1:0]  mmul_ra;
wire [AWID-1:0]  mmul_wa;
wire             mmul_we;
wire [WID-1:0]   mmul_wd;


auc_mmul iauc_mmul
    (
     .clk(clk),
     .rst(rst),
     

     .mmul_en(mmul_en),


     .mmul_auvld(mmul_auvld),
     .mmul_audat(mmul_audat),
     .mmul_aurswap(mmul_aurswap),

     .mmul_done(mmul_done),


     .mmul_opcode(mmul_opcode),
     .mmul_auen(mmul_auen),
     .mmul_carry(mmul_carry),
     .mmul_swapvl(mmul_swapvl),
     .mmul_swapop(mmul_swapop),
     

     .mmul_ra(mmul_ra),
     .mmul_wa(mmul_wa),
     .mmul_we(mmul_we),
     .mmul_wd(mmul_wd)
     );


initial begin
#3 t_rst = 1'b1;
#2 t_rst = 1'b0;
mmul_en = 1'b0;
#10000 mmul_en = 1'b1;
#10000;
#100;
$finish;
end

initial begin
$display ("==========OUTPUT==========");
end




initial begin
$shm_open ("my_waves");
$shm_probe (tb_aluwrap,"AC");
$recordfile("testsample.trn");
$recordvars();
end

endmodule