input wire i2c_sda_i,
output wire i2c_sda_o,
output wire i2c_sda_oe,
- input wire ref_clk,
+ input wire sys_clk,
input wire sys_rst,
input wire [1:0] sys_clksel_i,
output wire sys_pll_testout_o,
input wire [35:0] nc
);
-wire sys_clk;
+wire sys_clk_0;
(* ram_style = "distributed" *) reg libresocsim_reset_storage = 1'd0;
reg libresocsim_reset_re = 1'd0;
(* ram_style = "distributed" *) reg [31:0] libresocsim_scratch_storage = 32'd305419896;
assign ram_adr = ram_bus_ram_bus_adr[4:0];
assign ram_bus_ram_bus_dat_r = ram_dat_r;
assign ram_dat_w = ram_bus_ram_bus_dat_w;
-assign sys_clk_1 = sys_clk;
-assign por_clk = sys_clk;
+assign sys_clk_1 = sys_clk_0;
+assign por_clk = sys_clk_0;
assign sys_rst_1 = int_rst;
assign dfi_p0_address = sdram_master_p0_address;
assign dfi_p0_bank = sdram_master_p0_bank;
.TAP_bus__tdi(libresocsim_libresoc_jtag_tdi),
.TAP_bus__tms(libresocsim_libresoc_jtag_tms),
.clk(sys_clk_1),
- .ref_clk(ref_clk),
+ .ref_clk(sys_clk),
.clk_sel_i(libresocsim_libresoc_clk_sel),
.core_bigendian_i(1'd0),
.dbus__ack(libresocsim_libresoc_dbus_ack),
.pc_o(libresocsim_libresoc3),
.pll_test_o(libresocsim_libresoc_pll_test_o),
.pll_vco_o(libresocsim_libresoc_pll_vco_o),
- .pllclk_clk(sys_clk),
+ .pllclk_clk(sys_clk_0),
.sdr_a_0__pad__o(sdram_a[0]),
.sdr_a_10__pad__o(sdram_a[10]),
.sdr_a_11__pad__o(sdram_a[11]),