data/full_repos/permissive/185301529/BTB_cell.sv
 line:37: before: ":"
1: b"%Error: data/full_repos/permissive/185301529/BTB_cell.sv:21: Cannot find file containing module: 'register'\nregister #(32) addr_reg\n^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/185301529,data/full_repos/permissive/185301529/register\n             data/full_repos/permissive/185301529,data/full_repos/permissive/185301529/register.v\n             data/full_repos/permissive/185301529,data/full_repos/permissive/185301529/register.sv\n             register\n             register.v\n             register.sv\n             obj_dir/register\n             obj_dir/register.v\n             obj_dir/register.sv\n%Error: data/full_repos/permissive/185301529/BTB_cell.sv:29: Cannot find file containing module: 'register'\nregister #(32) target_reg\n^~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module BTB_cell
(
	input clk,
	
	input update,
	input [31:0] cmp_addr,
	input [31:0] update_addr,
	input [31:0] update_target,
	
	output cmp_match,
	output update_match,
	output [31:0] target
);

logic [31:0] internal_addr;
logic [31:0] internal_target;
assign cmp_match = (cmp_addr == internal_addr);
assign update_match = (update_addr == internal_addr);
assign target = internal_target;

register #(32) addr_reg
(
	.clk(clk),
	.load(update),
	.in(update_addr),
	.out(internal_addr)
);

register #(32) target_reg
(
	.clk(clk),
	.load(update),
	.in(update_target),
	.out(internal_target)
);

endmodule
module BTB_cell
(
	input clk,
	
	input update,
	input [31:0] cmp_addr,
	input [31:0] update_addr,
	input [31:0] update_target,
	
	output cmp_match,
	output update_match,
	output [31:0] target
);


logic [31:0] internal_addr;
logic [31:0] internal_target;
assign cmp_match = (cmp_addr == internal_addr);
assign update_match = (update_addr == internal_addr);
assign target = internal_target;

register #(32) addr_reg
(
	.clk(clk),
	.load(update),
	.in(update_addr),
	.out(internal_addr)
);

register #(32) target_reg
(
	.clk(clk),
	.load(update),
	.in(update_target),
	.out(internal_target)
);

endmodule