40 use IEEE.STD_LOGIC_1164.
all;
41 use ieee.numeric_std.
all;
43 use ipbus_lib.ipbus.
all;
44 use ipbus_lib.ipbus_reg_types.
all;
45 library infrastructure_lib;
81 signal ipbw : ipb_wbus_array(N_SLAVES-1 downto 0);
82 signal ipbr : ipb_rbus_array(N_SLAVES-1 downto 0);
86 fabric_common_IDversion :
entity ipbus_lib.ipbus_fabric_sel
87 generic map(NSLV => N_SLAVES,
88 SEL_WIDTH => ipbus_sel_width
)
92 sel => ipbus_sel_efex_common_id_version
(ipb_in.ipb_addr
),
93 ipb_to_slaves => ipbw,
94 ipb_from_slaves => ipbr
97 Moduleid :
entity ipbus_lib.ipbus_ctrlreg_v -- reads the module ID
register
104 ipbus_in => ipbw
(N_SLV_MODULE_ID
),
105 ipbus_out => ipbr
(N_SLV_MODULE_ID
),
111 Xmlversion :
entity ipbus_lib.ipbus_ctrlreg_v -- reads the module ID
register
118 ipbus_in => ipbw
(N_SLV_XML_VERSION
),
119 ipbus_out => ipbr
(N_SLV_XML_VERSION
),
125 buildversion :
entity ipbus_lib.ipbus_ctrlreg_v -- reads the module ID
register
132 ipbus_in => ipbw
(N_SLV_BUILD_TIME_AND_DATE
),
133 ipbus_out => ipbr
(N_SLV_BUILD_TIME_AND_DATE
),
139 firmwareversion :
entity ipbus_lib.ipbus_ctrlreg_v -- reads the module ID
register
146 ipbus_in => ipbw
(N_SLV_FIRMWARE_VERSION
),
147 ipbus_out => ipbr
(N_SLV_FIRMWARE_VERSION
),
in fw_version std_logic_vector( 31 downto 0)
Version of the repository (format: MMmmcccc in hex)
in xml_Gitsha std_logic_vector( 31 downto 0)
Short 7-digit git SHA of the XMLs.
in ipb_rst std_logic
ipbus reset
in fw_Gitsha std_logic_vector( 31 downto 0)
Short 7-digit git SHA of the repository.
in Module_ID std_logic_vector( 31 downto 0)
module id of the eFEX
in build_date std_logic_vector( 31 downto 0)
Date format DDMMYYYY in decimal.
in build_time std_logic_vector( 31 downto 0)
Time format 00HHMMSS in decimal.
in ipb_clk std_logic
ipbus clk of 31.25MHz
out ipb_out ipb_rbus
IPBus output bus going from slaves to m.
in ipb_in ipb_wbus
IPBus input bus going from master to slaves.
in xml_version std_logic_vector( 31 downto 0)
Version of the XMLs.