data/full_repos/permissive/147656480/src/butterfly.v
1: b"%Error: data/full_repos/permissive/147656480/src/butterfly.v:38: Cannot find file containing module: 'cordic'\ncordic c1(clock,x1,y1,0,xtemp1,ytemp1,done1);\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/147656480/src,data/full_repos/permissive/147656480/cordic\n             data/full_repos/permissive/147656480/src,data/full_repos/permissive/147656480/cordic.v\n             data/full_repos/permissive/147656480/src,data/full_repos/permissive/147656480/cordic.sv\n             cordic\n             cordic.v\n             cordic.sv\n             obj_dir/cordic\n             obj_dir/cordic.v\n             obj_dir/cordic.sv\n%Error: data/full_repos/permissive/147656480/src/butterfly.v:39: Cannot find file containing module: 'cordic'\ncordic c2(clock,x2,y2,zangle,xtemp2,ytemp2,done2);\n^~~~~~\n%Error: Exiting due to 2 error(s)\n"
module butterfly(
	input clock,
	input signed [15:0] x1,
	input signed [15:0] y1,
	input signed [15:0] x2,
	input signed [15:0] y2,
	input signed [31:0] zangle,
	output signed [15:0] xout1,
	output signed [15:0] yout1,
	output signed [15:0] xout2,
	output signed [15:0] yout2,
	output done
   );

wire signed [15:0] xtemp1,xtemp2,ytemp1,ytemp2;
wire done1,done2;

cordic c1(clock,x1,y1,0,xtemp1,ytemp1,done1);
cordic c2(clock,x2,y2,zangle,xtemp2,ytemp2,done2);

assign done = done1&done2;

assign xout1 = xtemp1+xtemp2;
assign yout1 = ytemp1+ytemp2;

assign xout2 = xtemp1-xtemp2;
assign yout2 = ytemp1-ytemp2;

endmodule
module butterfly(
	input clock,
	input signed [15:0] x1,
	input signed [15:0] y1,
	input signed [15:0] x2,
	input signed [15:0] y2,
	input signed [31:0] zangle,
	output signed [15:0] xout1,
	output signed [15:0] yout1,
	output signed [15:0] xout2,
	output signed [15:0] yout2,
	output done
   );


wire signed [15:0] xtemp1,xtemp2,ytemp1,ytemp2;
wire done1,done2;

cordic c1(clock,x1,y1,0,xtemp1,ytemp1,done1);
cordic c2(clock,x2,y2,zangle,xtemp2,ytemp2,done2);

assign done = done1&done2;

assign xout1 = xtemp1+xtemp2;
assign yout1 = ytemp1+ytemp2;

assign xout2 = xtemp1-xtemp2;
assign yout2 = ytemp1-ytemp2;

endmodule