data/full_repos/permissive/11571685/verilog/rfid.v
1: b'%Warning-WIDTH: data/full_repos/permissive/11571685/verilog/rfid.v:21: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS\'s VARREF \'iface_done\' generates 1 bits.\n                                                                     : ... In instance rfid\n  led[7:4] = iface_done;\n           ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/11571685/verilog/rfid.v:22: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS\'s VARREF \'mchester_done\' generates 1 bits.\n                                                                     : ... In instance rfid\n  led[3:0] = mchester_done;\n           ^\n%Error: data/full_repos/permissive/11571685/verilog/rfid.v:25: Cannot find file containing module: \'freq_decode\'\n freq_decode F_DECODE(clk,square_wave,dataIn,manual,freqOut);\n ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/11571685/verilog,data/full_repos/permissive/11571685/freq_decode\n             data/full_repos/permissive/11571685/verilog,data/full_repos/permissive/11571685/freq_decode.v\n             data/full_repos/permissive/11571685/verilog,data/full_repos/permissive/11571685/freq_decode.sv\n             freq_decode\n             freq_decode.v\n             freq_decode.sv\n             obj_dir/freq_decode\n             obj_dir/freq_decode.v\n             obj_dir/freq_decode.sv\n%Error: data/full_repos/permissive/11571685/verilog/rfid.v:26: Cannot find file containing module: \'fsk_iface_mchester\'\n fsk_iface_mchester FSK_IFACE_MCHESTER(square_wave,freqOut,manual,fsk_out,fsk_out_trigger,iface_done);\n ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/11571685/verilog/rfid.v:27: Cannot find file containing module: \'mchester_decode\'\n mchester_decode MCHESTER_DECODE(square_wave,fsk_out_trigger,fsk_out,manual,decoded,mchester_done);\n ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/11571685/verilog/rfid.v:28: Cannot find file containing module: \'getID_4digits\'\n getID_4digits GETID_4DIGITS(square_wave,decoded,iddecimal4);\n ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/11571685/verilog/rfid.v:30: Cannot find file containing module: \'square_wave\'\n square_wave SQ_WV(clk,square_wave);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/11571685/verilog/rfid.v:32: Cannot find file containing module: \'display_data\'\n display_data DISP_DATA(clk,iddecimal4,seg_an_main,seg_cat_main);\n ^~~~~~~~~~~~\n%Error: Exiting due to 6 error(s), 2 warning(s)\n'
module rfid(
    input clk,
	 input dataIn,
	 input manual,
	 output square_wave,
	 output freqOut,
	 output [3:0] seg_an_main,
	 output [7:0] seg_cat_main,
	 output reg [7:0] led,
	 output fsk_out,
	 output fsk_out_trigger
	);
	wire iface_done;
	wire mchester_done;
	wire [44:0] decoded;
	wire [15:0] iddecimal4;
	
	always @(posedge square_wave) begin
		led[7:4] = iface_done;
		led[3:0] = mchester_done;
	end

	freq_decode F_DECODE(clk,square_wave,dataIn,manual,freqOut);
	fsk_iface_mchester FSK_IFACE_MCHESTER(square_wave,freqOut,manual,fsk_out,fsk_out_trigger,iface_done);
	mchester_decode MCHESTER_DECODE(square_wave,fsk_out_trigger,fsk_out,manual,decoded,mchester_done);
	getID_4digits GETID_4DIGITS(square_wave,decoded,iddecimal4);

	square_wave SQ_WV(clk,square_wave);

	display_data DISP_DATA(clk,iddecimal4,seg_an_main,seg_cat_main);

endmodule
module rfid(
    input clk,
	 input dataIn,
	 input manual,
	 output square_wave,
	 output freqOut,
	 output [3:0] seg_an_main,
	 output [7:0] seg_cat_main,
	 output reg [7:0] led,
	 output fsk_out,
	 output fsk_out_trigger
	);

	wire iface_done;
	wire mchester_done;
	wire [44:0] decoded;
	wire [15:0] iddecimal4;
	
	always @(posedge square_wave) begin
		led[7:4] = iface_done;
		led[3:0] = mchester_done;
	end

	freq_decode F_DECODE(clk,square_wave,dataIn,manual,freqOut);
	fsk_iface_mchester FSK_IFACE_MCHESTER(square_wave,freqOut,manual,fsk_out,fsk_out_trigger,iface_done);
	mchester_decode MCHESTER_DECODE(square_wave,fsk_out_trigger,fsk_out,manual,decoded,mchester_done);
	getID_4digits GETID_4DIGITS(square_wave,decoded,iddecimal4);

	square_wave SQ_WV(clk,square_wave);

	display_data DISP_DATA(clk,iddecimal4,seg_an_main,seg_cat_main);

endmodule