@@ -296,17 +296,17 @@ architecture rtl of cosmo_seq_top is
296
296
signal reset_fmc : std_logic ;
297
297
alias fmc_clk : std_logic is fmc_sp_to_fpga1_clk;
298
298
constant INFO_RESP_IDX : integer := 0 ;
299
- constant BRD_RESP_IDX : integer := 1 ;
300
- constant SPINOR_RESP_IDX : integer := 2 ;
301
- constant ESPI_RESP_IDX : integer := 3 ;
302
- constant SEQ_RESP_IDX : integer := 4 ;
299
+ constant SPINOR_RESP_IDX : integer := 1 ;
300
+ constant ESPI_RESP_IDX : integer := 2 ;
301
+ constant SEQ_RESP_IDX : integer := 3 ;
302
+ constant SP_I2C_RESP_IDX : integer := 4 ;
303
303
304
304
constant config_array : axil_responder_cfg_array_t :=
305
305
(INFO_RESP_IDX => (base_addr => x"00000000" , addr_span_bits => 8 ),
306
- BRD_RESP_IDX => (base_addr => x"00000100" , addr_span_bits => 8 ),
307
- SPINOR_RESP_IDX => (base_addr => x"00000200" , addr_span_bits => 8 ),
308
- ESPI_RESP_IDX => (base_addr => x"00000300" , addr_span_bits => 8 ),
309
- SEQ_RESP_IDX => (base_addr => x"00000400" , addr_span_bits => 8 )
306
+ SPINOR_RESP_IDX => (base_addr => x"00000100" , addr_span_bits => 8 ),
307
+ ESPI_RESP_IDX => (base_addr => x"00000200" , addr_span_bits => 8 ),
308
+ SEQ_RESP_IDX => (base_addr => x"00000300" , addr_span_bits => 8 ),
309
+ SP_I2C_RESP_IDX => (base_addr => x"00000400" , addr_span_bits => 8 )
310
310
);
311
311
signal fmc_axi_if : axil26x32_pkg.axil_t;
312
312
signal responders : axil8x32_pkg.axil_array_t(config_array'range );
@@ -339,6 +339,9 @@ architecture rtl of cosmo_seq_top is
339
339
signal sp5_sda_o : std_logic ;
340
340
signal sp5_sda_oe : std_logic ;
341
341
342
+ signal sp5_t6_power_en : std_logic ;
343
+ signal sp5_t6_perst_l : std_logic ;
344
+
342
345
begin
343
346
344
347
fpga1_spare_v3p3(7 downto 1 ) <= (others => 'Z' );
@@ -353,11 +356,6 @@ begin
353
356
fpga1_uart1_buff_oe_en_l <= '0' when a0_ok else '1' ; -- not used but why not enable anyway?
354
357
uart1_fpga1_to_sp5_dat_buff <= '1' ; -- Make this idle generally, buffer protects from cross-drive
355
358
356
- -- TODO: need to sort out what to do about backplane/sidecar
357
- fpga1_to_bp_buff_output_en_l <= 'Z' ;
358
- pcie_aux_fpga1_to_rsw_perst_l <= '0' ;
359
- fpga1_to_pcie_clk_buff_rsw_oe_l <= 'Z' ;
360
-
361
359
362
360
-- -------------------------------------------
363
361
-- FMC to AXI Inteface from the SP
@@ -486,13 +484,13 @@ begin
486
484
port map (
487
485
clk => clk_125m,
488
486
reset => reset_125m,
487
+ axi_if => responders(SP_I2C_RESP_IDX),
489
488
sp_scl => i2c_sp_to_fpga1_scl,
490
489
sp_scl_o => sp_scl_o,
491
490
sp_scl_oe => sp_scl_oe,
492
491
sp_sda => i2c_sp_to_fpga1_sda,
493
492
sp_sda_o => sp_sda_o,
494
493
sp_sda_oe => sp_sda_oe,
495
- mux_reset => '0' ,
496
494
i2c_mux1_sel => fpga1_to_i2c_mux1_sel,
497
495
i2c_mux2_sel => fpga1_to_i2c_mux2_sel,
498
496
i2c_mux3_sel => fpga1_to_i2c_mux3_sel
@@ -523,8 +521,16 @@ begin
523
521
m2b_prsnt_l => m2b_to_fpga1_prsnt_l,
524
522
m2b_hsc_en => fpga1_to_m2b_hsc_en,
525
523
m2b_perst_l => fpga1_to_m2b_perst_l,
526
- pcie_clk_buff_m2b_oe_l => fpga1_to_pcie_clk_buff_m2b_oe_l
524
+ pcie_clk_buff_m2b_oe_l => fpga1_to_pcie_clk_buff_m2b_oe_l,
525
+ t6_power_en => sp5_t6_power_en,
526
+ t6_perst_l => sp5_t6_perst_l,
527
+ pcie_aux_rsw_perst_l => pcie_aux_fpga1_to_rsw_perst_l,
528
+ pcie_aux_rsw_prsnt_buff_l => pcie_aux_rsw_to_fpga1_prsnt_buff_l,
529
+ pcie_aux_rsw_pwrflt_buff_l=> pcie_aux_rsw_to_fpga1_pwrflt_buff_l,
530
+ pcie_clk_buff_rsw_oe_l => fpga1_to_pcie_clk_buff_rsw_oe_l,
531
+ rsw_sp5_pcie_attached_buff_l => rsw_to_sp5_pcie_attached_buff_l
527
532
);
533
+
528
534
-- Tristates for spi-nor flash pins and espi
529
535
i2c_sp5_to_fpgax_hp_scl <= sp5_scl_o when sp5_scl_oe = '1' else 'Z' ;
530
536
i2c_sp5_to_fpgax_hp_sda <= sp5_sda_o when sp5_sda_oe = '1' else 'Z' ;
@@ -548,7 +554,9 @@ begin
548
554
group_c_pins => sp5_group_c,
549
555
sp5_seq_pins => sp5_seq_pins,
550
556
nic_rails_pins => nic_rails,
551
- nic_seq_pins => nic_seq_pins
557
+ nic_seq_pins => nic_seq_pins,
558
+ sp5_t6_power_en => sp5_t6_power_en,
559
+ sp5_t6_perst_l => sp5_t6_perst_l
552
560
);
553
561
554
562
-- early power related pins
0 commit comments