data/full_repos/permissive/205229557/new/lab2/airplane_CL/aocl_airplane/device/airplane_cl/iface/ip/temperature/temperature.v
1: b"%Error: data/full_repos/permissive/205229557/new/lab2/airplane_CL/aocl_airplane/device/airplane_cl/iface/ip/temperature/temperature.v:26: Cannot find file containing module: 'temp_sense'\ntemp_sense temp(\n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/205229557/new/lab2/airplane_CL/aocl_airplane/device/airplane_cl/iface/ip/temperature,data/full_repos/permissive/205229557/temp_sense\n             data/full_repos/permissive/205229557/new/lab2/airplane_CL/aocl_airplane/device/airplane_cl/iface/ip/temperature,data/full_repos/permissive/205229557/temp_sense.v\n             data/full_repos/permissive/205229557/new/lab2/airplane_CL/aocl_airplane/device/airplane_cl/iface/ip/temperature,data/full_repos/permissive/205229557/temp_sense.sv\n             temp_sense\n             temp_sense.v\n             temp_sense.sv\n             obj_dir/temp_sense\n             obj_dir/temp_sense.v\n             obj_dir/temp_sense.sv\n%Error: Exiting due to 1 error(s)\n"
module temperature #
(
    parameter WIDTH = 32,
    parameter S_WIDTH_A = 1
)
(
    input clk,
    input resetn,


    input [S_WIDTH_A-1:0] slave_address,
    input [WIDTH-1:0] slave_writedata,
    input slave_read,
    input slave_write,
    input [WIDTH/8-1:0] slave_byteenable,
    output slave_waitrequest,
    output [WIDTH-1:0] slave_readdata,
    output slave_readdatavalid
);

localparam DIVIDER = 80;

wire tsdcaldone;
wire [7:0] tsdcalo;

temp_sense temp(
	.ce(slave_read),
	.clk(clk),
	.clr(!slave_read),
	.tsdcaldone(tsdcaldone),
	.tsdcalo(tsdcalo));


assign slave_waitrequest = slave_read && !tsdcaldone;
assign slave_readdata = {{WIDTH-8{1'b0}},tsdcalo} - 32'h080;
assign slave_readdatavalid = slave_read && tsdcaldone;

endmodule
module temperature #
(
    parameter WIDTH = 32,
    parameter S_WIDTH_A = 1
)
(
    input clk,
    input resetn,


    input [S_WIDTH_A-1:0] slave_address,
    input [WIDTH-1:0] slave_writedata,
    input slave_read,
    input slave_write,
    input [WIDTH/8-1:0] slave_byteenable,
    output slave_waitrequest,
    output [WIDTH-1:0] slave_readdata,
    output slave_readdatavalid
);


localparam DIVIDER = 80;

wire tsdcaldone;
wire [7:0] tsdcalo;

temp_sense temp(
	.ce(slave_read),
	.clk(clk),
	.clr(!slave_read),
	.tsdcaldone(tsdcaldone),
	.tsdcalo(tsdcalo));


assign slave_waitrequest = slave_read && !tsdcaldone;
assign slave_readdata = {{WIDTH-8{1'b0}},tsdcalo} - 32'h080;
assign slave_readdatavalid = slave_read && tsdcaldone;

endmodule