data/full_repos/permissive/212897440/effect_module.v
1: b"%Error: data/full_repos/permissive/212897440/effect_module.v:42: Cannot find file containing module: 'no_effect'\nno_effect #(\n^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/212897440,data/full_repos/permissive/212897440/no_effect\n             data/full_repos/permissive/212897440,data/full_repos/permissive/212897440/no_effect.v\n             data/full_repos/permissive/212897440,data/full_repos/permissive/212897440/no_effect.sv\n             no_effect\n             no_effect.v\n             no_effect.sv\n             obj_dir/no_effect\n             obj_dir/no_effect.v\n             obj_dir/no_effect.sv\n%Error: data/full_repos/permissive/212897440/effect_module.v:58: Cannot find file containing module: 'clipping_effect'\nclipping_effect #(\n^~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module effect_module #( parameter
    d_width = 16
)(
    input                               clk,
    input                               reset,
    input               [1:0]           sw,
    input               [13:0]          i_treshhold,
    input                               i_data_ready,
    input   signed      [d_width-1: 0]  i_data,
    input                               i_read_done,

    output                              o_data_valid,
    output                              o_read_enable,

    output  signed      [d_width-1: 0]  o_data_sw0,

    output  signed      [d_width-1: 0]  o_data_sw1


    );


wire  signed      [d_width-1: 0]        w_data_sw0;
wire                                    w_read_enable_sw0;
wire                                    w_data_valid_sw0;

wire  signed      [d_width-1: 0]        w_data_sw1;
wire                                    w_read_enable_sw1;
wire                                    w_data_valid_sw1;



assign o_data_sw0 = w_data_sw0;
assign o_data_sw1 = w_data_sw1;

assign o_read_enable = w_read_enable_sw0 & w_read_enable_sw1;
assign o_data_valid = w_data_valid_sw0 & w_data_valid_sw1;




no_effect #(
    .data_width(d_width)
) no_effect (
    .clk(clk),
    .reset(reset),
    .i_data(i_data),
    .i_read_done(i_read_done),
    .i_data_ready(i_data_ready),
    .o_data(w_data_sw0),
    .o_read_enable(w_read_enable_sw0),
    .o_data_valid(w_data_valid_sw0)    
);




clipping_effect #(
    .data_width(d_width)
) clipping_effect (
    .clk(clk),
    .reset(reset),
    .i_treshhold( {2'b00, i_treshhold } ),
    .i_data(i_data),
    .i_read_done(i_read_done),
    .i_data_ready(i_data_ready),
    .o_data(w_data_sw1),
    .o_read_enable(w_read_enable_sw1),
    .o_data_valid(w_data_valid_sw1)   
);


endmodule
module effect_module #( parameter
    d_width = 16
)(
    input                               clk,
    input                               reset,
    input               [1:0]           sw,
    input               [13:0]          i_treshhold,
    input                               i_data_ready,
    input   signed      [d_width-1: 0]  i_data,
    input                               i_read_done,

    output                              o_data_valid,
    output                              o_read_enable,

    output  signed      [d_width-1: 0]  o_data_sw0,

    output  signed      [d_width-1: 0]  o_data_sw1


    );



wire  signed      [d_width-1: 0]        w_data_sw0;
wire                                    w_read_enable_sw0;
wire                                    w_data_valid_sw0;

wire  signed      [d_width-1: 0]        w_data_sw1;
wire                                    w_read_enable_sw1;
wire                                    w_data_valid_sw1;



assign o_data_sw0 = w_data_sw0;
assign o_data_sw1 = w_data_sw1;

assign o_read_enable = w_read_enable_sw0 & w_read_enable_sw1;
assign o_data_valid = w_data_valid_sw0 & w_data_valid_sw1;




no_effect #(
    .data_width(d_width)
) no_effect (
    .clk(clk),
    .reset(reset),
    .i_data(i_data),
    .i_read_done(i_read_done),
    .i_data_ready(i_data_ready),
    .o_data(w_data_sw0),
    .o_read_enable(w_read_enable_sw0),
    .o_data_valid(w_data_valid_sw0)    
);




clipping_effect #(
    .data_width(d_width)
) clipping_effect (
    .clk(clk),
    .reset(reset),
    .i_treshhold( {2'b00, i_treshhold } ),
    .i_data(i_data),
    .i_read_done(i_read_done),
    .i_data_ready(i_data_ready),
    .o_data(w_data_sw1),
    .o_read_enable(w_read_enable_sw1),
    .o_data_valid(w_data_valid_sw1)   
);


endmodule