data/full_repos/permissive/469509877/source/slug-cross.srcs/sim_1/new/GapVerticalComponent_sim.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/469509877/source/slug-cross.srcs/sim_1/new/GapVerticalComponent_sim.v:40: Unsupported: Ignoring delay on this delayed statement.\n                                  #OFFSET\n                                  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/469509877/source/slug-cross.srcs/sim_1/new/GapVerticalComponent_sim.v:44: Unsupported: Ignoring delay on this delayed statement.\n                                      #(PERIOD-(PERIOD*DUTY_CYCLE)) clk = ~clk;\n                                      ^\n%Error: data/full_repos/permissive/469509877/source/slug-cross.srcs/sim_1/new/GapVerticalComponent_sim.v:31: Cannot find file containing module: \'GapVerticalComponent\'\nGapVerticalComponent UUT (.Vcount(Vcount), .UpStartingPosition(UpStartingPosition), .RedIn(RedIn), .clk(clk), .Up(Up), \n^~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/469509877/source/slug-cross.srcs/sim_1/new,data/full_repos/permissive/469509877/GapVerticalComponent\n             data/full_repos/permissive/469509877/source/slug-cross.srcs/sim_1/new,data/full_repos/permissive/469509877/GapVerticalComponent.v\n             data/full_repos/permissive/469509877/source/slug-cross.srcs/sim_1/new,data/full_repos/permissive/469509877/GapVerticalComponent.sv\n             GapVerticalComponent\n             GapVerticalComponent.v\n             GapVerticalComponent.sv\n             obj_dir/GapVerticalComponent\n             obj_dir/GapVerticalComponent.v\n             obj_dir/GapVerticalComponent.sv\n%Error: Exiting due to 1 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module GapVerticalComponent_sim();

reg[9:0] Vcount, UpStartingPosition;
reg[3:0] RedIn;
reg clk, Up, Dw, frame, reset;
reg[2:0] sw;
wire[3:0] RedOut;

GapVerticalComponent UUT (.Vcount(Vcount), .UpStartingPosition(UpStartingPosition), .RedIn(RedIn), .clk(clk), .Up(Up), 
                          .Dw(Dw), .frame(frame), .reset(reset), .sw(sw), .RedOut(RedOut));
                          
parameter PERIOD = 10;
                              parameter real DUTY_CYCLE = 0.5;
                              parameter OFFSET = 2;
                          
                              initial
                              begin
                                  #OFFSET
                                    clk = 1'b1;
                                  forever
                                  begin
                                      #(PERIOD-(PERIOD*DUTY_CYCLE)) clk = ~clk;
                                  end
                              end
                              
                             initial
                             begin
                             UpStartingPosition = 10'b0000010000;
                             RedIn = 4'b0000;
                             Up = 1'b0;
                             Dw = 1'b0;
                             frame = 1'b0;
                             reset = 1'b1;
                             sw[0] = 1'b0;
                             sw[1] = 1'b0;
                             sw[2] = 1'b0;
                             
                              end                         
endmodule
module GapVerticalComponent_sim();


reg[9:0] Vcount, UpStartingPosition;
reg[3:0] RedIn;
reg clk, Up, Dw, frame, reset;
reg[2:0] sw;
wire[3:0] RedOut;

GapVerticalComponent UUT (.Vcount(Vcount), .UpStartingPosition(UpStartingPosition), .RedIn(RedIn), .clk(clk), .Up(Up), 
                          .Dw(Dw), .frame(frame), .reset(reset), .sw(sw), .RedOut(RedOut));
                          
parameter PERIOD = 10;
                              parameter real DUTY_CYCLE = 0.5;
                              parameter OFFSET = 2;
                          
                              initial
                              begin
                                  #OFFSET
                                    clk = 1'b1;
                                  forever
                                  begin
                                      #(PERIOD-(PERIOD*DUTY_CYCLE)) clk = ~clk;
                                  end
                              end
                              
                             initial
                             begin
                             UpStartingPosition = 10'b0000010000;
                             RedIn = 4'b0000;
                             Up = 1'b0;
                             Dw = 1'b0;
                             frame = 1'b0;
                             reset = 1'b1;
                             sw[0] = 1'b0;
                             sw[1] = 1'b0;
                             sw[2] = 1'b0;
                             
                              end                         
endmodule