data/full_repos/permissive/434187796/testbench/SEG_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:21: Unsupported: Ignoring delay on this delayed statement.\n                #100 flash = 1\'b1;\n                ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:22: Unsupported: Ignoring delay on this delayed statement.\n                #100 flash = 1\'b0;\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:23: Unsupported: Ignoring delay on this delayed statement.\n                #10 $stop;\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:26: Unsupported: Ignoring delay on this delayed statement.\n        always #10 flash_clk = ~flash_clk;\n               ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:44: Unsupported: Ignoring delay on this delayed statement.\n                #320 $stop;\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:47: Unsupported: Ignoring delay on this delayed statement.\n        always #10 bin_data = bin_data + 1;\n               ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:48: Unsupported: Ignoring delay on this delayed statement.\n        always #160 dot = ~dot;\n               ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:85: Unsupported: Ignoring delay on this delayed statement.\n                #10_831_000 rst = 1\'b0;\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:86: Unsupported: Ignoring delay on this delayed statement.\n                #5_000_000 $stop;\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/434187796/testbench/SEG_tb.v:89: Unsupported: Ignoring delay on this delayed statement.\n        always #10 clk = ~clk;\n               ^\n%Warning-MULTITOP: data/full_repos/permissive/434187796/testbench/SEG_tb.v:29: Multiple top level modules\n                                                                             : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                                                                             : ... Top module \'FLASH_SEG_tb\'\nmodule FLASH_SEG_tb;\n       ^~~~~~~~~~~~\n                                                                             : ... Top module \'SEG_DECODER_tb\'\nmodule SEG_DECODER_tb;\n       ^~~~~~~~~~~~~~\n                                                                             : ... Top module \'SEG_SCAN_tb\'\nmodule SEG_SCAN_tb;\n       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/434187796/testbench/SEG_tb.v:63: Cannot find file containing module: \'SEG_SCAN\'\n        SEG_SCAN seg_scan_ (\n        ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/434187796/testbench,data/full_repos/permissive/434187796/SEG_SCAN\n             data/full_repos/permissive/434187796/testbench,data/full_repos/permissive/434187796/SEG_SCAN.v\n             data/full_repos/permissive/434187796/testbench,data/full_repos/permissive/434187796/SEG_SCAN.sv\n             SEG_SCAN\n             SEG_SCAN.v\n             SEG_SCAN.sv\n             obj_dir/SEG_SCAN\n             obj_dir/SEG_SCAN.v\n             obj_dir/SEG_SCAN.sv\n%Error: data/full_repos/permissive/434187796/testbench/SEG_tb.v:34: Cannot find file containing module: \'SEG_DECODER\'\n        SEG_DECODER seg_decoder_ (\n        ^~~~~~~~~~~\n%Error: data/full_repos/permissive/434187796/testbench/SEG_tb.v:9: Cannot find file containing module: \'FLASH_SEG\'\n        FLASH_SEG flash_seg_ (\n        ^~~~~~~~~\n%Error: Exiting due to 3 error(s), 11 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module FLASH_SEG_tb;
        reg flash_clk;
        reg flash;
        reg [7:0] time_seg_data_in;
        wire [7:0] time_seg_data_out;

        FLASH_SEG flash_seg_ (
                .flash_clk(flash_clk),
                .flash(flash),
                .time_seg_data_in(time_seg_data_in),
                .time_seg_data_out(time_seg_data_out)
        );

        initial begin
                flash_clk = 1'b0;
                flash = 1'b0;
                time_seg_data_in = 8'b0000_0000;

                #100 flash = 1'b1;
                #100 flash = 1'b0;
                #10 $stop;
        end

        always #10 flash_clk = ~flash_clk;
endmodule
module FLASH_SEG_tb;

        reg flash_clk;
        reg flash;
        reg [7:0] time_seg_data_in;
        wire [7:0] time_seg_data_out;

        FLASH_SEG flash_seg_ (
                .flash_clk(flash_clk),
                .flash(flash),
                .time_seg_data_in(time_seg_data_in),
                .time_seg_data_out(time_seg_data_out)
        );

        initial begin
                flash_clk = 1'b0;
                flash = 1'b0;
                time_seg_data_in = 8'b0000_0000;

                #100 flash = 1'b1;
                #100 flash = 1'b0;
                #10 $stop;
        end

        always #10 flash_clk = ~flash_clk;
endmodule