data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new/tb_countdown.v
'utf-8' codec can't decode byte 0xd6 in position 521: invalid continuation byte
1: b'%Warning-STMTDLY: data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new/tb_countdown.v:48: Unsupported: Ignoring delay on this delayed statement.\n    #(T/2);\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new/tb_countdown.v:50: Unsupported: Ignoring delay on this delayed statement.\n    #(T/2);\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new/tb_countdown.v:58: Unsupported: Ignoring delay on this delayed statement.\n    #(5.1*T);\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new/tb_countdown.v:60: Unsupported: Ignoring delay on this delayed statement.\n    #(T);\n    ^\n%Error: data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new/tb_countdown.v:31: Cannot find file containing module: \'countdown_double\'\ncountdown_double #(.DVSR(5))\n^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new,data/full_repos/permissive/116473298/countdown_double\n             data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new,data/full_repos/permissive/116473298/countdown_double.v\n             data/full_repos/permissive/116473298/Traffic_lights_comprehensive_experiment.srcs/sim_1/new,data/full_repos/permissive/116473298/countdown_double.sv\n             countdown_double\n             countdown_double.v\n             countdown_double.sv\n             obj_dir/countdown_double\n             obj_dir/countdown_double.v\n             obj_dir/countdown_double.sv\n%Error: Exiting due to 1 error(s), 4 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tb_countdown();
reg clk,clr,en;
reg [3:0] dh;
reg [3:0] dl;
wire tick; 
wire [3:0] qh;
wire [3:0] ql;

countdown_double #(.DVSR(5))
tb_countdown_double
(
.clk(clk),
.clr(clr),
.en(en),
.dh(dh),
.dl(dl),
.tick(tick),
.qh(qh),
.ql(ql)
);

parameter T = 4;

always begin
    clk = 1'b1;
    #(T/2);
    clk = 1'b0;
    #(T/2);
end

initial begin
    clr = 1'b1;
    en = 1'b0;
    dh = 4'h5;
    dl = 4'h0;
    #(5.1*T);
    en = 1'b1;
    #(T);
    clr = 1'b0;
    
end


endmodule
module tb_countdown();

reg clk,clr,en;
reg [3:0] dh;
reg [3:0] dl;
wire tick; 
wire [3:0] qh;
wire [3:0] ql;

countdown_double #(.DVSR(5))
tb_countdown_double
(
.clk(clk),
.clr(clr),
.en(en),
.dh(dh),
.dl(dl),
.tick(tick),
.qh(qh),
.ql(ql)
);

parameter T = 4;

always begin
    clk = 1'b1;
    #(T/2);
    clk = 1'b0;
    #(T/2);
end

initial begin
    clr = 1'b1;
    en = 1'b0;
    dh = 4'h5;
    dl = 4'h0;
    #(5.1*T);
    en = 1'b1;
    #(T);
    clr = 1'b0;
    
end


endmodule