data/full_repos/permissive/159724743/Digital Osciloscope/sin.v
 line:2: before: ","
1: b'%Error: Cannot find file containing module: Osciloscope,data/full_repos/permissive/159724743\n        ... Looked in:\n             data/full_repos/permissive/159724743/Digital/Osciloscope,data/full_repos/permissive/159724743\n             data/full_repos/permissive/159724743/Digital/Osciloscope,data/full_repos/permissive/159724743.v\n             data/full_repos/permissive/159724743/Digital/Osciloscope,data/full_repos/permissive/159724743.sv\n             Osciloscope,data/full_repos/permissive/159724743\n             Osciloscope,data/full_repos/permissive/159724743.v\n             Osciloscope,data/full_repos/permissive/159724743.sv\n             obj_dir/Osciloscope,data/full_repos/permissive/159724743\n             obj_dir/Osciloscope,data/full_repos/permissive/159724743.v\n             obj_dir/Osciloscope,data/full_repos/permissive/159724743.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/159724743/Digital\n%Error: Cannot find file containing module: Osciloscope/sin.v\n%Error: Exiting due to 3 error(s)\n'
module sin(input clk, output [7:0] out);
reg [15:0] sin1=16'd510, sin2=0, cos1=16'd29700, cos2=16'd30000, sin, cos;
always@(posedge clk)
begin
	sin = sin2+ {cos1[15],cos1[15],cos1[15],cos1[15],cos1[15],cos1[15:5]};
	cos = cos2- {sin1[15],sin1[15],sin1[15],sin1[15],sin1[15],sin1[15:5]};
	sin1= sin2+ {cos1[15],cos1[15],cos1[15],cos1[15],cos1[15],cos1[15:5]};
	cos1= cos2- {sin1[15],sin1[15],sin1[15],sin1[15],sin1[15],sin1[15:5]};
	sin2=sin1;
	cos2=cos1;
end
assign out= sin[15:8] + 127;
endmodule
module sin(input clk, output [7:0] out);

reg [15:0] sin1=16'd510, sin2=0, cos1=16'd29700, cos2=16'd30000, sin, cos;
always@(posedge clk)
begin
	sin = sin2+ {cos1[15],cos1[15],cos1[15],cos1[15],cos1[15],cos1[15:5]};
	cos = cos2- {sin1[15],sin1[15],sin1[15],sin1[15],sin1[15],sin1[15:5]};
	sin1= sin2+ {cos1[15],cos1[15],cos1[15],cos1[15],cos1[15],cos1[15:5]};
	cos1= cos2- {sin1[15],sin1[15],sin1[15],sin1[15],sin1[15],sin1[15:5]};
	sin2=sin1;
	cos2=cos1;
end
assign out= sin[15:8] + 127;
endmodule