data/full_repos/permissive/504478691/FFT/fft.v
1: b'%Error: data/full_repos/permissive/504478691/FFT/fft.v:1: Cannot find include file: top.vh\n`include "top.vh" \n         ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/504478691/FFT,data/full_repos/permissive/504478691/top.vh\n             data/full_repos/permissive/504478691/FFT,data/full_repos/permissive/504478691/top.vh.v\n             data/full_repos/permissive/504478691/FFT,data/full_repos/permissive/504478691/top.vh.sv\n             top.vh\n             top.vh.v\n             top.vh.sv\n             obj_dir/top.vh\n             obj_dir/top.vh.v\n             obj_dir/top.vh.sv\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:5: Define or directive not defined: \'`logN\'\ninput [`logN-1:0] addr;\n       ^~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:6: Define or directive not defined: \'`CW\'\ninput [`CW-1:0] din;\n       ^~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:7: Define or directive not defined: \'`CW\'\noutput [`CW-1:0] dout;\n        ^~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:11: Define or directive not defined: \'`logS\'\nreg [`logS-1:0] stage;\n     ^~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:12: Define or directive not defined: \'`logN\'\nwire [`logN-1:0] addr_rev;\n      ^~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:13: Define or directive not defined: \'`logN\'\nwire [`logN-1:0] addr_phy;\n      ^~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:14: Define or directive not defined: \'`logN\'\nreg [`logN-1:0] rnd;  \n     ^~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:15: Define or directive not defined: \'`logNpM\'\nreg [`logNpM-2:0] iter;\n     ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:16: Define or directive not defined: \'`logCyc\'\nreg [`logCyc-1:0] cycle;\n     ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:19: Define or directive not defined: \'`logNpM\'\nreg [`logNpM-1:0] addra_calc[0:`M], addrb_calc[0:`M];  \n     ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:19: Define or directive not defined: \'`M\'\nreg [`logNpM-1:0] addra_calc[0:`M], addrb_calc[0:`M];  \n                               ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:19: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nreg [`logNpM-1:0] addra_calc[0:`M], addrb_calc[0:`M];  \n                                 ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:19: Define or directive not defined: \'`M\'\nreg [`logNpM-1:0] addra_calc[0:`M], addrb_calc[0:`M];  \n                                                 ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:20: Define or directive not defined: \'`logM\'\nwire [`logM-1:0] grpa[0:`M], grpb[0:`M];  \n      ^~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:20: Define or directive not defined: \'`M\'\nwire [`logM-1:0] grpa[0:`M], grpb[0:`M];  \n                        ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:20: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nwire [`logM-1:0] grpa[0:`M], grpb[0:`M];  \n                          ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:20: Define or directive not defined: \'`M\'\nwire [`logM-1:0] grpa[0:`M], grpb[0:`M];  \n                                    ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:21: Define or directive not defined: \'`logNpM\'\nwire [`logNpM-1:0] idxa[0:`M], idxb[0:`M];  \n      ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:21: Define or directive not defined: \'`M\'\nwire [`logNpM-1:0] idxa[0:`M], idxb[0:`M];  \n                          ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:21: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nwire [`logNpM-1:0] idxa[0:`M], idxb[0:`M];  \n                            ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:21: Define or directive not defined: \'`M\'\nwire [`logNpM-1:0] idxa[0:`M], idxb[0:`M];  \n                                      ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:22: Define or directive not defined: \'`CW\'\nreg [`CW-1:0] dina_calc[0:`M], dinb_calc[0:`M];  \n     ^~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:22: Define or directive not defined: \'`M\'\nreg [`CW-1:0] dina_calc[0:`M], dinb_calc[0:`M];  \n                          ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:22: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nreg [`CW-1:0] dina_calc[0:`M], dinb_calc[0:`M];  \n                            ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:22: Define or directive not defined: \'`M\'\nreg [`CW-1:0] dina_calc[0:`M], dinb_calc[0:`M];  \n                                           ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:23: Define or directive not defined: \'`CW\'\nwire [`CW-1:0] douta_calc[0:`M], doutb_calc[0:`M];  \n      ^~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:23: Define or directive not defined: \'`M\'\nwire [`CW-1:0] douta_calc[0:`M], doutb_calc[0:`M];  \n                            ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:23: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nwire [`CW-1:0] douta_calc[0:`M], doutb_calc[0:`M];  \n                              ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:23: Define or directive not defined: \'`M\'\nwire [`CW-1:0] douta_calc[0:`M], doutb_calc[0:`M];  \n                                              ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:24: Define or directive not defined: \'`CW\'\nreg [`CW-1:0] opa[0:`M], opb[0:`M];  \n     ^~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:24: Define or directive not defined: \'`M\'\nreg [`CW-1:0] opa[0:`M], opb[0:`M];  \n                    ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:24: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nreg [`CW-1:0] opa[0:`M], opb[0:`M];  \n                      ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:24: Define or directive not defined: \'`M\'\nreg [`CW-1:0] opa[0:`M], opb[0:`M];  \n                               ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:25: Define or directive not defined: \'`CW\'\nwire [`CW-1:0] opc[0:`M], opd[0:`M];  \n      ^~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:25: Define or directive not defined: \'`M\'\nwire [`CW-1:0] opc[0:`M], opd[0:`M];  \n                     ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:25: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nwire [`CW-1:0] opc[0:`M], opd[0:`M];  \n                       ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:25: Define or directive not defined: \'`M\'\nwire [`CW-1:0] opc[0:`M], opd[0:`M];  \n                                ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:26: Define or directive not defined: \'`logM\'\nreg [`logM:0] k;  \n     ^~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:26: syntax error, unexpected \':\', expecting TYPE-IDENTIFIER\nreg [`logM:0] k;  \n          ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:31: Define or directive not defined: \'`logCyc\'\nassign we_calc = cycle == `logCyc\'d4 | cycle == `logCyc\'d5;\n                          ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:31: Define or directive not defined: \'`logCyc\'\nassign we_calc = cycle == `logCyc\'d4 | cycle == `logCyc\'d5;\n                                                ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:32: Define or directive not defined: \'`M\'\nfor (igen = 0; igen < `M; igen = igen + 1) begin : mem_units  \n                      ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:32: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nfor (igen = 0; igen < `M; igen = igen + 1) begin : mem_units  \n                        ^\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:34: Define or directive not defined: \'`logNpM\'\n    wire [`logNpM-1:0] addra, addrb;  \n          ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:35: Define or directive not defined: \'`CW\'\n    wire [`CW-1:0] dina, dinb, douta, doutb;  \n          ^~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:37: Define or directive not defined: \'`logNpM\'\n        .wea(wea), .addra({`logNpM\'d0, addra}), .dina(`r(dina)), .douta(`r(douta)), .clka(clk),\n                           ^~~~~~~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:37: Define or directive not defined: \'`r\'\n        .wea(wea), .addra({`logNpM\'d0, addra}), .dina(`r(dina)), .douta(`r(douta)), .clka(clk),\n                                                      ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:37: Define or directive not defined: \'`r\'\n        .wea(wea), .addra({`logNpM\'d0, addra}), .dina(`r(dina)), .douta(`r(douta)), .clka(clk),\n                                                                        ^~\n%Error: data/full_repos/permissive/504478691/FFT/fft.v:38: Define or directive not defined: \'`logNpM\'\n        .web(web), .addrb({`logNpM\'d0, addrb}), .dinb(`r(dinb)), .doutb(`r(doutb)), .clkb(clk));  \n                           ^~~~~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
module fft_op_unit(ar, ai, br, bi, cr, ci, dr, di, wr, wi);
input [`FW-1:0] ar, ai, br, bi;
output [`FW-1:0] cr, ci, dr, di;
input [`FW-1:0] wr, wi;
wire [`FW-1:0] tr, ti, t1, t2, t3, t4;
floating_point_multiplier mul1(
    .s_axis_a_tdata(br), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t1));
floating_point_multiplier mul2(
    .s_axis_a_tdata(bi), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wi), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t2));
floating_point_multiplier mul3(
    .s_axis_a_tdata(bi), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t3));
floating_point_multiplier mul4(
    .s_axis_a_tdata(br), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wi), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t4));
floating_point_adder adder(
    .s_axis_a_tdata(t1), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(t2), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(tr));
floating_point_subtracter subtracter(
    .s_axis_a_tdata(t3), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(t4), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(ti));
floating_point_adder adder_r(
    .s_axis_a_tdata(ar), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(tr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(cr));
floating_point_adder adder_i(
    .s_axis_a_tdata(ai), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(ti), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(ci));
floating_point_subtracter subtracter_r(
    .s_axis_a_tdata(ar), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(tr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(dr));
floating_point_subtracter subtracter_i(
    .s_axis_a_tdata(ai), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(ti), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(di));
endmodule
module fft_op_unit(ar, ai, br, bi, cr, ci, dr, di, wr, wi);

input [`FW-1:0] ar, ai, br, bi;
output [`FW-1:0] cr, ci, dr, di;
input [`FW-1:0] wr, wi;
wire [`FW-1:0] tr, ti, t1, t2, t3, t4;
floating_point_multiplier mul1(
    .s_axis_a_tdata(br), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t1));
floating_point_multiplier mul2(
    .s_axis_a_tdata(bi), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wi), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t2));
floating_point_multiplier mul3(
    .s_axis_a_tdata(bi), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t3));
floating_point_multiplier mul4(
    .s_axis_a_tdata(br), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(wi), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(t4));
floating_point_adder adder(
    .s_axis_a_tdata(t1), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(t2), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(tr));
floating_point_subtracter subtracter(
    .s_axis_a_tdata(t3), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(t4), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(ti));
floating_point_adder adder_r(
    .s_axis_a_tdata(ar), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(tr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(cr));
floating_point_adder adder_i(
    .s_axis_a_tdata(ai), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(ti), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(ci));
floating_point_subtracter subtracter_r(
    .s_axis_a_tdata(ar), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(tr), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(dr));
floating_point_subtracter subtracter_i(
    .s_axis_a_tdata(ai), .s_axis_a_tvalid(1'd1),
    .s_axis_b_tdata(ti), .s_axis_b_tvalid(1'd1),
    .m_axis_result_tdata(di));
endmodule