data/full_repos/permissive/518460376/verilog/rtl/rtl/sp_ram_wrap.v
1: b"%Error: data/full_repos/permissive/518460376/verilog/rtl/rtl/sp_ram_wrap.v:42: Cannot find file containing module: 'sky130_sram_2kbyte_1rw1r_32x512_8'\n sky130_sram_2kbyte_1rw1r_32x512_8 open_ram_2k(\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/518460376/verilog/rtl/rtl,data/full_repos/permissive/518460376/sky130_sram_2kbyte_1rw1r_32x512_8\n             data/full_repos/permissive/518460376/verilog/rtl/rtl,data/full_repos/permissive/518460376/sky130_sram_2kbyte_1rw1r_32x512_8.v\n             data/full_repos/permissive/518460376/verilog/rtl/rtl,data/full_repos/permissive/518460376/sky130_sram_2kbyte_1rw1r_32x512_8.sv\n             sky130_sram_2kbyte_1rw1r_32x512_8\n             sky130_sram_2kbyte_1rw1r_32x512_8.v\n             sky130_sram_2kbyte_1rw1r_32x512_8.sv\n             obj_dir/sky130_sram_2kbyte_1rw1r_32x512_8\n             obj_dir/sky130_sram_2kbyte_1rw1r_32x512_8.v\n             obj_dir/sky130_sram_2kbyte_1rw1r_32x512_8.sv\n%Error: Exiting due to 1 error(s)\n"
module sp_ram_wrap 
#(
    parameter RAM_SIZE   = 32768,
    parameter ADDR_WIDTH = $clog2(RAM_SIZE),
    parameter DATA_WIDTH = 32
  )
(
`ifdef USE_POWER_PINS
	vccd1,
	vssd1,
`endif
	clk,
	rstn_i,
	en_i,
	addr_i,
	wdata_i,
	rdata_o,
	we_i,
	be_i,
	bypass_en_i
);



`ifdef USE_POWER_PINS
inout wire vccd1;
inout wire vssd1;
`endif
	input wire clk;
	input wire rstn_i;
	input wire en_i;
	input wire [ADDR_WIDTH - 1:0] addr_i;
	input wire [DATA_WIDTH - 1:0] wdata_i;
	output wire [DATA_WIDTH - 1:0] rdata_o;
	input wire we_i;
	input wire [(DATA_WIDTH / 8) - 1:0] be_i;
	input wire bypass_en_i;
	wire [31:0] ram_out_int;
	assign rdata_o = ram_out_int;
	sky130_sram_2kbyte_1rw1r_32x512_8 open_ram_2k(
	`ifdef USE_POWER_PINS
		.vccd1(vccd1),
		.vssd1(vssd1),
	`endif
		.clk0(clk),
		.csb0(1'b0),
		.web0(~(we_i & ~bypass_en_i)),
		.wmask0(be_i),
		.addr0(addr_i[10:2]),
		.din0(wdata_i),
		.dout0(ram_out_int),
		.clk1(1'b0),
		.csb1(1'b1),
		.addr1(9'b000000000),
		.dout1()
	);
endmodule
module sp_ram_wrap 
#(
    parameter RAM_SIZE   = 32768,
    parameter ADDR_WIDTH = $clog2(RAM_SIZE),
    parameter DATA_WIDTH = 32
  )
(
`ifdef USE_POWER_PINS
	vccd1,
	vssd1,
`endif
	clk,
	rstn_i,
	en_i,
	addr_i,
	wdata_i,
	rdata_o,
	we_i,
	be_i,
	bypass_en_i
);




`ifdef USE_POWER_PINS
inout wire vccd1;
inout wire vssd1;
`endif
	input wire clk;
	input wire rstn_i;
	input wire en_i;
	input wire [ADDR_WIDTH - 1:0] addr_i;
	input wire [DATA_WIDTH - 1:0] wdata_i;
	output wire [DATA_WIDTH - 1:0] rdata_o;
	input wire we_i;
	input wire [(DATA_WIDTH / 8) - 1:0] be_i;
	input wire bypass_en_i;
	wire [31:0] ram_out_int;
	assign rdata_o = ram_out_int;
	sky130_sram_2kbyte_1rw1r_32x512_8 open_ram_2k(
	`ifdef USE_POWER_PINS
		.vccd1(vccd1),
		.vssd1(vssd1),
	`endif
		.clk0(clk),
		.csb0(1'b0),
		.web0(~(we_i & ~bypass_en_i)),
		.wmask0(be_i),
		.addr0(addr_i[10:2]),
		.din0(wdata_i),
		.dout0(ram_out_int),
		.clk1(1'b0),
		.csb1(1'b1),
		.addr1(9'b000000000),
		.dout1()
	);
endmodule