data/full_repos/permissive/20726090/hw/vlog/amber23/a23_ram_register_bank.v
1: b'%Error: data/full_repos/permissive/20726090/hw/vlog/amber23/a23_ram_register_bank.v:77: Cannot find include file: a23_localparams.v\n`include "a23_localparams.v" \n         ^~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/20726090/hw/vlog/amber23,data/full_repos/permissive/20726090/a23_localparams.v\n             data/full_repos/permissive/20726090/hw/vlog/amber23,data/full_repos/permissive/20726090/a23_localparams.v.v\n             data/full_repos/permissive/20726090/hw/vlog/amber23,data/full_repos/permissive/20726090/a23_localparams.v.sv\n             a23_localparams.v\n             a23_localparams.v.v\n             a23_localparams.v.sv\n             obj_dir/a23_localparams.v\n             obj_dir/a23_localparams.v.v\n             obj_dir/a23_localparams.v.sv\n%Error: data/full_repos/permissive/20726090/hw/vlog/amber23/a23_ram_register_bank.v:78: Cannot find include file: a23_functions.v\n`include "a23_functions.v" \n         ^~~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n'
function [4:0] reg_addr;
input [1:0] mode;
input [3:0] sel;
begin
	casez ({mode, sel})
		6'b??0???:	reg_addr = {1'b0, sel};
		6'b1?1100:	reg_addr = {1'b0, sel};
		6'b001???:	reg_addr = {1'b0, sel};
		6'b011???:	reg_addr = {2'b10, sel[2:0]};
		6'b1?10??:	reg_addr = {1'b0, sel};
		6'b101101:	reg_addr = {3'b110, sel[1:0]};
		6'b101110:	reg_addr = {3'b110, sel[1:0]};
		6'b101111:	reg_addr = {3'b110, sel[1:0]};
		6'b111101:	reg_addr = {3'b111, sel[1:0]};
		6'b111110:	reg_addr = {3'b111, sel[1:0]};
		6'b111111:	reg_addr = {3'b111, sel[1:0]};
	endcase
end
endfunction
function [4:0] reg_addr;

input [1:0] mode;
input [3:0] sel;
begin
	casez ({mode, sel})
		6'b??0???:	reg_addr = {1'b0, sel};
		6'b1?1100:	reg_addr = {1'b0, sel};
		6'b001???:	reg_addr = {1'b0, sel};
		6'b011???:	reg_addr = {2'b10, sel[2:0]};
		6'b1?10??:	reg_addr = {1'b0, sel};
		6'b101101:	reg_addr = {3'b110, sel[1:0]};
		6'b101110:	reg_addr = {3'b110, sel[1:0]};
		6'b101111:	reg_addr = {3'b110, sel[1:0]};
		6'b111101:	reg_addr = {3'b111, sel[1:0]};
		6'b111110:	reg_addr = {3'b111, sel[1:0]};
		6'b111111:	reg_addr = {3'b111, sel[1:0]};
	endcase
end
endfunction