data/full_repos/permissive/42149584/Lab6-Part2/ReadTempI2C.v
1: b"%Error: data/full_repos/permissive/42149584/Lab6-Part2/ReadTempI2C.v:30: Cannot find file containing module: 'ControllerReadTempI2C'\n ControllerReadTempI2C ControlUnit(Clock,SCL,Reset,SDA,Start,BaudEnable,Done,ReadOrWrite,Select,ShiftOrHold,StartStopAck,WriteLoad);\n ^~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/42149584/Lab6-Part2,data/full_repos/permissive/42149584/ControllerReadTempI2C\n             data/full_repos/permissive/42149584/Lab6-Part2,data/full_repos/permissive/42149584/ControllerReadTempI2C.v\n             data/full_repos/permissive/42149584/Lab6-Part2,data/full_repos/permissive/42149584/ControllerReadTempI2C.sv\n             ControllerReadTempI2C\n             ControllerReadTempI2C.v\n             ControllerReadTempI2C.sv\n             obj_dir/ControllerReadTempI2C\n             obj_dir/ControllerReadTempI2C.v\n             obj_dir/ControllerReadTempI2C.sv\n%Error: data/full_repos/permissive/42149584/Lab6-Part2/ReadTempI2C.v:31: Cannot find file containing module: 'MasterDataUnitI2C'\n MasterDataUnitI2C DataUnit(BaudRate,ClockFrequency,FirstByte,BaudEnable,Clock,ReadOrWrite,Reset,Select,ShiftOrHold,StartStopAck,WriteLoad,ReceivedData,SCL,SDA);\n ^~~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module ReadTempI2C(BaudRate,ClockFrequency,FirstByte,Clock,Reset,Start,ReceivedData,Done,SCL,SDA);
	input [19:0] BaudRate;
	input [29:0] ClockFrequency;
	input [7:0] FirstByte;
	input Clock;
	input Reset;
	input Start;
	output [7:0] ReceivedData;
	output Done;
	output SCL;
	output SDA;
	
	wire BaudEnable;
	wire ReadOrWrite;
	wire Select;
	wire ShiftOrHold;
	wire StartStopAck;
	wire WriteLoad;

	ControllerReadTempI2C ControlUnit(Clock,SCL,Reset,SDA,Start,BaudEnable,Done,ReadOrWrite,Select,ShiftOrHold,StartStopAck,WriteLoad);
	MasterDataUnitI2C DataUnit(BaudRate,ClockFrequency,FirstByte,BaudEnable,Clock,ReadOrWrite,Reset,Select,ShiftOrHold,StartStopAck,WriteLoad,ReceivedData,SCL,SDA);
endmodule
module ReadTempI2C(BaudRate,ClockFrequency,FirstByte,Clock,Reset,Start,ReceivedData,Done,SCL,SDA);

	input [19:0] BaudRate;
	input [29:0] ClockFrequency;
	input [7:0] FirstByte;
	input Clock;
	input Reset;
	input Start;
	output [7:0] ReceivedData;
	output Done;
	output SCL;
	output SDA;
	
	wire BaudEnable;
	wire ReadOrWrite;
	wire Select;
	wire ShiftOrHold;
	wire StartStopAck;
	wire WriteLoad;

	ControllerReadTempI2C ControlUnit(Clock,SCL,Reset,SDA,Start,BaudEnable,Done,ReadOrWrite,Select,ShiftOrHold,StartStopAck,WriteLoad);
	MasterDataUnitI2C DataUnit(BaudRate,ClockFrequency,FirstByte,BaudEnable,Clock,ReadOrWrite,Reset,Select,ShiftOrHold,StartStopAck,WriteLoad,ReceivedData,SCL,SDA);
endmodule