data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:12: Cannot find include file: ../../utils/sim/sim.v\n`include "../../utils/sim/sim.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/190755935/src/image/sim,data/full_repos/permissive/190755935/../../utils/sim/sim.v\n             data/full_repos/permissive/190755935/src/image/sim,data/full_repos/permissive/190755935/../../utils/sim/sim.v.v\n             data/full_repos/permissive/190755935/src/image/sim,data/full_repos/permissive/190755935/../../utils/sim/sim.v.sv\n             ../../utils/sim/sim.v\n             ../../utils/sim/sim.v.v\n             ../../utils/sim/sim.v.sv\n             obj_dir/../../utils/sim/sim.v\n             obj_dir/../../utils/sim/sim.v.v\n             obj_dir/../../utils/sim/sim.v.sv\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:14: Cannot find include file: ../../image/rtl/image_defs.v\n`include "../../image/rtl/image_defs.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:17: Define or directive not defined: \'`IS_w\'\n        parameter [`IS_w-1:0] IS = `IS_DEFAULT\n                   ^~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:17: Define or directive not defined: \'`IS_DEFAULT\'\n        parameter [`IS_w-1:0] IS = `IS_DEFAULT\n                                   ^~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:18: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n    )(\n    ^\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:22: Define or directive not defined: \'`OutputDebug\'\n    parameter Output=`OutputDebug;\n                     ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:22: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    parameter Output=`OutputDebug;\n                                 ^\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:25: Define or directive not defined: \'`Realtime\'\n    `Realtime\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:28: Define or directive not defined: \'`Clock10MHz\'\n    `Clock10MHz\n    ^~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:38: syntax error, unexpected \'@\'\n            @( posedge clock );\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:37: Unsupported: Ignoring delay on this delayed statement.\n            #2\n            ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:40: Unsupported: Ignoring delay on this delayed statement.\n            #2\n            ^\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:50: Define or directive not defined: \'`Info\'\n            `Info( "    Reset");\n            ^~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:50: syntax error, unexpected \';\'\n            `Info( "    Reset");\n                               ^\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:71: Define or directive not defined: \'`I_w\'\n    localparam [7:0] ImageWidth =  `I_w( IS );\n                                   ^~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:73: Define or directive not defined: \'`IS_WIDTH\'\n    localparam [7:0] Width  = `IS_WIDTH( IS );\n                              ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:74: Define or directive not defined: \'`IS_HEIGHT\'\n    localparam [7:0] Height = `IS_HEIGHT( IS );\n                              ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:76: Define or directive not defined: \'`IS_PIXEL_COUNT\'\n    localparam [31:0] PixelCount = `IS_PIXEL_COUNT( IS );\n                                   ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:78: Define or directive not defined: \'`IS_WIDTH_WIDTH\'\n    localparam [7:0] WidthWidth  = `IS_WIDTH_WIDTH( IS );\n                                   ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:79: Define or directive not defined: \'`IS_HEIGHT_WIDTH\'\n    localparam [7:0] HeightWidth = `IS_HEIGHT_WIDTH( IS );\n                                   ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:80: Define or directive not defined: \'`IS_DATA_WIDTH\'\n    localparam [7:0] DataWidth   = `IS_DATA_WIDTH( IS );\n                                   ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:82: Define or directive not defined: \'`IS_C0_WIDTH\'\n    localparam [7:0] C0Width    = `IS_C0_WIDTH( IS );\n                                  ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:83: Define or directive not defined: \'`IS_C1_WIDTH\'\n    localparam [7:0] C1Width    = `IS_C1_WIDTH( IS );\n                                  ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:84: Define or directive not defined: \'`IS_C2_WIDTH\'\n    localparam [7:0] C2Width    = `IS_C2_WIDTH( IS );\n                                  ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:85: Define or directive not defined: \'`IS_ALPHA_WIDTH\'\n    localparam [7:0] AlphaWidth = `IS_ALPHA_WIDTH( IS );\n                                  ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:86: Define or directive not defined: \'`IS_Z_WIDTH\'\n    localparam [7:0] ZWidth     = `IS_Z_WIDTH( IS );\n                                  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:103: Define or directive not defined: \'`IS_w\'\n    localparam [`IS_w-1:0] IS_RGB8 = `IS( 0, 0, 32, 32, 0, 1, `IS_FORMAT_RGB, 8,  8,  8, 0, 0 );\n                ^~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:103: Define or directive not defined: \'`IS\'\n    localparam [`IS_w-1:0] IS_RGB8 = `IS( 0, 0, 32, 32, 0, 1, `IS_FORMAT_RGB, 8,  8,  8, 0, 0 );\n                                     ^~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:103: syntax error, unexpected \',\'\n    localparam [`IS_w-1:0] IS_RGB8 = `IS( 0, 0, 32, 32, 0, 1, `IS_FORMAT_RGB, 8,  8,  8, 0, 0 );\n                                           ^\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:103: Define or directive not defined: \'`IS_FORMAT_RGB\'\n    localparam [`IS_w-1:0] IS_RGB8 = `IS( 0, 0, 32, 32, 0, 1, `IS_FORMAT_RGB, 8,  8,  8, 0, 0 );\n                                                              ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:105: Define or directive not defined: \'`IS_DATA_WIDTH\'\n    localparam ColorDataWidth = `IS_DATA_WIDTH( IS_RGB8 );\n                                ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:109: syntax error, unexpected IDENTIFIER\n    image_background #(\n    ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:135: syntax error, unexpected assign\n    assign background_out_start   = `I_Start(   IS, image_background2debayer );\n    ^~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:135: Define or directive not defined: \'`I_Start\'\n    assign background_out_start   = `I_Start(   IS, image_background2debayer );\n                                    ^~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:136: Define or directive not defined: \'`I_Stop\'\n    assign background_out_stop    = `I_Stop(    IS, image_background2debayer );\n                                    ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:137: Define or directive not defined: \'`I_Data\'\n    assign background_out_data    = `I_Data(    IS, image_background2debayer );\n                                    ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:138: Define or directive not defined: \'`I_Error\'\n                                                                                 : ... Suggested alternative: \'`error\'\n    assign background_out_error   = `I_Error(   IS, image_background2debayer );\n                                    ^~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:139: Define or directive not defined: \'`I_Valid\'\n    assign background_out_valid   = `I_Valid(   IS, image_background2debayer );\n                                    ^~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:140: Define or directive not defined: \'`I_Request\'\n    assign background_out_request = `I_Request( IS, image_background2debayer );\n                                    ^~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:141: Define or directive not defined: \'`I_Cancel\'\n    assign background_out_cancel  = `I_Cancel(  IS, image_background2debayer );\n                                    ^~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:142: Define or directive not defined: \'`I_Ready\'\n    assign background_out_ready   = `I_Ready(   IS, image_background2debayer );\n                                    ^~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:148: Define or directive not defined: \'`IS_w\'\n    localparam [`IS_w-1:0] IS_DB = `IS( 0, 0, Width, Height, 0, 1, `IS_FORMAT_RGB, 5, 6, 5, 0, 0 );\n                ^~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:148: Define or directive not defined: \'`IS\'\n    localparam [`IS_w-1:0] IS_DB = `IS( 0, 0, Width, Height, 0, 1, `IS_FORMAT_RGB, 5, 6, 5, 0, 0 );\n                                   ^~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:148: syntax error, unexpected \',\'\n    localparam [`IS_w-1:0] IS_DB = `IS( 0, 0, Width, Height, 0, 1, `IS_FORMAT_RGB, 5, 6, 5, 0, 0 );\n                                         ^\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:148: Define or directive not defined: \'`IS_FORMAT_RGB\'\n    localparam [`IS_w-1:0] IS_DB = `IS( 0, 0, Width, Height, 0, 1, `IS_FORMAT_RGB, 5, 6, 5, 0, 0 );\n                                                                   ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:150: Define or directive not defined: \'`I_w\'\n    localparam DBImageWidth     = `I_w( IS_DB );\n                                  ^~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:151: Define or directive not defined: \'`IS_DATA_WIDTH\'\n    localparam DBImageDataWidth = `IS_DATA_WIDTH( IS_DB );\n                                  ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:165: syntax error, unexpected assign\n    assign debayer_out_start = `I_Start( IS_DB, debayer_image_out );\n    ^~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:165: Define or directive not defined: \'`I_Start\'\n    assign debayer_out_start = `I_Start( IS_DB, debayer_image_out );\n                               ^~~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:166: Define or directive not defined: \'`I_Stop\'\n    assign debayer_out_stop = `I_Stop( IS_DB, debayer_image_out );\n                              ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:167: Define or directive not defined: \'`I_Data\'\n    assign debayer_out_data = `I_Data( IS_DB, debayer_image_out );\n                              ^~~~~~~\n%Error: data/full_repos/permissive/190755935/src/image/sim/image_debayer_tb.v:168: Define or directive not defined: \'`I_Error\'\n                                                                                 : ... Suggested alternative: \'`error\'\n    assign debayer_out_error = `I_Error( IS_DB, debayer_image_out );\n                               ^~~~~~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
function [2:0] out_c1( input reg[ OutDataWidth-1:0 ] pixel ); begin
            out_c1 = ( OutC1Width == 0 ) ? 0 :
                            ( `I_C1( IS_DB, pixel ) == 0 ) ? 0 :
                                  ( ( `I_C1( IS_DB, pixel ) <= ( OutC1Max / 4 ) ? 1 :
                                       ( `I_C1( IS_DB, pixel ) <= ( OutC1Max / 2 ) ? 2 : 3 ) ) );
        end
    endfunction
function [2:0] out_c1( input reg[ OutDataWidth-1:0 ] pixel );
 begin
            out_c1 = ( OutC1Width == 0 ) ? 0 :
                            ( `I_C1( IS_DB, pixel ) == 0 ) ? 0 :
                                  ( ( `I_C1( IS_DB, pixel ) <= ( OutC1Max / 4 ) ? 1 :
                                       ( `I_C1( IS_DB, pixel ) <= ( OutC1Max / 2 ) ? 2 : 3 ) ) );
        end
    endfunction