diff options
| author | Richard J. Knight <rjknight@us.ibm.com> | 2016-11-29 21:45:18 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-12-12 09:08:31 -0500 |
| commit | 64e16cc576ef36d786d59ebc5ccf58904572673a (patch) | |
| tree | fe9420e03d5aed384be09af31e48baff1ffa0f21 /src | |
| parent | 6f6bb77aeb777271b4e4260f7170e04dcac13f4b (diff) | |
| download | talos-hostboot-64e16cc576ef36d786d59ebc5ccf58904572673a.tar.gz talos-hostboot-64e16cc576ef36d786d59ebc5ccf58904572673a.zip | |
Update code to consolidate writes to same address in same putScom
-When refactoring the code to support iterating over EC levels
the optimization implemented to consolidate writes to the same
scom address was inadvertently removed, this commit restores
that optimization.
Change-Id: I43109b6c1e7ed2d4ed2f84f429f86cbe50553f88
RTC:164881
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33379
Dev-Ready: Joseph J. McGill <jmcgill@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33381
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
21 files changed, 22263 insertions, 49910 deletions
diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_cxa_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_cxa_scom.C index 0a1498916..49640c8e1 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_cxa_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_cxa_scom.C @@ -29,13 +29,13 @@ using namespace fapi2; +constexpr auto literal_0x80031F98D8717 = 0x80031F98D8717; +constexpr auto literal_0x0B1C000104060 = 0x0B1C000104060; +constexpr auto literal_0x2B9C0001240E0 = 0x2B9C0001240E0; constexpr auto literal_0b0000 = 0b0000; constexpr auto literal_0b111 = 0b111; constexpr auto literal_0b0010 = 0b0010; constexpr auto literal_0b0001 = 0b0001; -constexpr auto literal_0x0B1C000104060 = 0x0B1C000104060; -constexpr auto literal_0x2B9C0001240E0 = 0x2B9C0001240E0; -constexpr auto literal_0x80031F98D8717 = 0x80031F98D8717; fapi2::ReturnCode p9_cxa_scom(const fapi2::Target<fapi2::TARGET_TYPE_CAPP>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -53,40 +53,6 @@ fapi2::ReturnCode p9_cxa_scom(const fapi2::Target<fapi2::TARGET_TYPE_CAPP>& TGT0 break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2010818ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2010818ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_ON, 1, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) - { - constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_OFF, 1, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x2010818ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2010818ull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); @@ -96,212 +62,153 @@ fapi2::ReturnCode p9_cxa_scom(const fapi2::Target<fapi2::TARGET_TYPE_CAPP>& TGT0 break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2010818ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2010818ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_ON, 6, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_NODE)) - { - constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_OFF, 6, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x2010818ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2010818ull)"); - break; - } - } - } + l_rc = fapi2::getScom( TGT0, 0x2010803ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2010819ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2010819ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 4, 4, 60 ); - } + FAPI_ERR("ERROR executing: getScom (0x2010803ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x2010819ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x80031F98D8717, 0, 52, 0 ); + l_rc = fapi2::putScom(TGT0, 0x2010803ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2010819ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2010803ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201081bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201081bull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x2010806ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b111, 45, 3, 61 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2010806ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x201081bull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0B1C000104060, 0, 52, 12 ); + l_rc = fapi2::putScom(TGT0, 0x2010806ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201081bull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2010806ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201081bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201081bull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x2010807ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0010, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2010807ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x201081bull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x2B9C0001240E0, 0, 52, 12 ); + l_rc = fapi2::putScom(TGT0, 0x2010807ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201081bull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2010807ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x2010818ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x201081cull, l_scom_buffer ); + FAPI_ERR("ERROR executing: getScom (0x2010818ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201081cull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) + { + constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_ON, 1, 1, 63 ); + } + else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) + { + constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_ADR_BAR_MODE_OFF, 1, 1, 63 ); + } - { - l_scom_buffer.insert<uint64_t> (literal_0b0001, 18, 4, 60 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_ON, 6, 1, 63 ); + } + else if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_NODE)) + { + constexpr auto l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_CAPP0_CXA_TOP_CXA_APC0_APCCTL_SKIP_G_OFF, 6, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x201081cull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x2010818ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201081cull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2010818ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2010806ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2010806ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x2010819ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0B1C000104060, 0, 52, 12 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2010819ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x2010806ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000, 4, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x2010819ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2010806ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2010819ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2010807ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2010807ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x201081bull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x2B9C0001240E0, 0, 52, 12 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x201081bull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x2010807ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b111, 45, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b0010, 48, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x201081bull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2010807ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x201081bull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2010803ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2010803ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x201081cull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x80031F98D8717, 0, 52, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x201081cull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x2010803ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0001, 18, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x201081cull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2010803ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x201081cull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_ddrphy_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_ddrphy_scom.C index 7f069f174..c20030b02 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_ddrphy_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_ddrphy_scom.C @@ -29,21 +29,21 @@ using namespace fapi2; -constexpr auto literal_0xFFFF = 0xFFFF; -constexpr auto literal_0x4040 = 0x4040; -constexpr auto literal_0x5000 = 0x5000; -constexpr auto literal_0xE058 = 0xE058; -constexpr auto literal_0x6000 = 0x6000; constexpr auto literal_0x0120 = 0x0120; -constexpr auto literal_0x4000 = 0x4000; -constexpr auto literal_0x7F7F = 0x7F7F; -constexpr auto literal_0x8000 = 0x8000; constexpr auto literal_0x8100 = 0x8100; +constexpr auto literal_0x8000 = 0x8000; constexpr auto literal_0xffe0 = 0xffe0; -constexpr auto literal_0x2020 = 0x2020; -constexpr auto literal_0x0800 = 0x0800; -constexpr auto literal_0x0402 = 0x0402; constexpr auto literal_0x6740 = 0x6740; +constexpr auto literal_0x0402 = 0x0402; +constexpr auto literal_0x6000 = 0x6000; +constexpr auto literal_0x4000 = 0x4000; +constexpr auto literal_0x7F7F = 0x7F7F; +constexpr auto literal_0x0800 = 0x0800; +constexpr auto literal_0x2020 = 0x2020; +constexpr auto literal_0xFFFF = 0xFFFF; +constexpr auto literal_0x5000 = 0x5000; +constexpr auto literal_0x4040 = 0x4040; +constexpr auto literal_0xE058 = 0xE058; constexpr auto literal_0x0202 = 0x0202; fapi2::ReturnCode p9_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0) @@ -52,3674 +52,3005 @@ fapi2::ReturnCode p9_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TG do { + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800040000701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000030701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800040000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000030701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800040000701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000030701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800040000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000030701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800044000701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000240701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800044000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000240701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800044000701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000240701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800044000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000240701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800048000701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000250701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800048000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000250701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800048000701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000250701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800048000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000250701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80004c000701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000260701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80004c000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000260701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80004c000701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000260701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80004c000701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000260701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800044050701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000270701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800044050701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000270701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x4040, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800044050701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000270701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800044050701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000270701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800044070701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000280701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800044070701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000280701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x4040, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800044070701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000280701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800044070701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000280701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800044010701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000290701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800044010701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000290701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x5000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800044010701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000290701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800044010701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000290701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800080310701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002a0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800080310701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002a0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xE058, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800080310701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000002a0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800080310701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002a0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800084310701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002b0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800084310701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002b0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xE058, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800084310701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000002b0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800084310701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002b0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800080330701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002c0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800080330701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002c0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800080330701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000002c0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800080330701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002c0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800084330701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002d0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800084330701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002d0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800084330701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000002d0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800084330701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002d0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000030701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000740701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000740701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000030701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000740701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000740701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004030701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000750701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000750701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004030701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000750701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000750701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008030701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000780701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000780701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008030701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000780701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000780701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c030701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000a40701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000a40701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c030701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000a40701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000a40701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010030701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000a50701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000a50701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010030701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000a50701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010030701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000a50701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000750701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000a60701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000a60701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000750701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000a60701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000a60701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004750701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000a70701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000a70701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004750701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000a70701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000a70701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008750701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000a80701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000a80701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008750701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000a80701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000a80701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c750701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000a90701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000a90701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c750701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000a90701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000a90701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010750701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000aa0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000aa0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010750701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000aa0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010750701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000aa0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000780701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000ab0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000ab0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000780701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000ab0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000ab0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004780701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000ac0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000ac0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004780701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000ac0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000ac0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008780701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800000ad0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800000ad0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008780701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800000ad0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800000ad0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c780701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004030701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004030701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c780701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004030701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004030701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010780701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004240701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004240701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010780701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004240701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010780701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004240701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000740701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004250701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004250701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000740701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004250701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004250701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004740701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004260701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004260701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004740701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004260701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004260701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008740701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004270701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004270701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008740701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004270701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004270701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c740701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004280701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004280701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c740701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004280701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004280701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010740701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004290701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004290701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010740701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004290701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010740701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004290701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000a40701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000042a0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000042a0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000a40701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000042a0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000042a0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004a40701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000042b0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000042b0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004a40701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000042b0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000042b0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008a40701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000042c0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000042c0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008a40701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000042c0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000042c0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000ca40701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000042d0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000ca40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000042d0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000ca40701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000042d0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000ca40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000042d0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010a40701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004740701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004740701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010a40701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004740701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010a40701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004740701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000a50701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004750701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004750701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000a50701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004750701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004750701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004a50701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004780701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004780701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004a50701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004780701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004780701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008a50701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004a40701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004a40701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008a50701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004a40701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004a40701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000ca50701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004a50701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000ca50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004a50701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000ca50701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004a50701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000ca50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004a50701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010a50701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004a60701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004a60701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010a50701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004a60701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010a50701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004a60701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000240701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004a70701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004a70701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000240701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004a70701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004a70701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004240701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004a80701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004a80701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004240701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004a80701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004a80701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008240701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004a90701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004a90701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008240701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004a90701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004a90701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c240701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004aa0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004aa0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c240701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004aa0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004aa0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010240701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004ab0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004ab0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010240701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004ab0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010240701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004ab0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000250701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004ac0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004ac0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000250701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004ac0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004ac0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004250701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800004ad0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800004ad0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004250701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800004ad0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800004ad0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008250701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008030701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008030701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008250701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008030701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008030701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c250701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008240701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008240701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c250701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008240701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008240701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010250701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008250701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008250701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010250701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008250701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010250701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008250701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000260701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008260701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008260701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000260701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008260701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008260701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004260701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008270701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008270701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004260701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008270701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008270701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008260701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008280701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008280701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008260701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008280701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008280701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c260701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008290701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008290701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c260701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008290701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008290701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010260701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082a0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082a0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010260701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000082a0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010260701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082a0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000270701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082b0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082b0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000270701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000082b0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082b0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004270701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082c0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082c0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004270701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000082c0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082c0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008270701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082d0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082d0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008270701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000082d0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082d0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c270701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008740701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008740701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c270701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008740701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008740701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010270701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008750701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008750701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010270701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008750701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010270701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008750701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000280701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008780701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008780701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000280701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008780701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008780701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004280701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008a40701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008a40701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004280701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008a40701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008a40701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008280701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008a50701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008a50701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008280701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008a50701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008a50701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c280701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008a60701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008a60701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c280701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008a60701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008a60701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010280701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008a70701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008a70701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010280701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008a70701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010280701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008a70701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000290701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008a80701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008a80701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000290701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008a80701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008a80701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004290701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008a90701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008a90701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004290701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008a90701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008a90701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008290701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008aa0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008aa0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008290701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008aa0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008aa0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c290701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008ab0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008ab0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c290701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008ab0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008ab0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010290701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008ac0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008ac0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010290701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008ac0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010290701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008ac0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000ac0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800008ad0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800008ad0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000ac0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800008ad0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800008ad0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004ac0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c030701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c030701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004ac0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c030701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c030701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008ac0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c240701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c240701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008ac0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c240701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c240701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000cac0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c250701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000cac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c250701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000cac0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c250701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000cac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c250701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010ac0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c260701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c260701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010ac0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c260701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010ac0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c260701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000ad0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c270701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c270701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000ad0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c270701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c270701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004ad0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c280701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c280701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004ad0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c280701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c280701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008ad0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c290701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c290701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008ad0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c290701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c290701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000cad0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c2a0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000cad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c2a0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000cad0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c2a0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000cad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c2a0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010ad0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c2b0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c2b0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010ad0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c2b0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010ad0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c2b0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000a80701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c2c0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c2c0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000a80701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c2c0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c2c0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004a80701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c2d0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c2d0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004a80701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c2d0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c2d0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008a80701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c740701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c740701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008a80701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c740701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c740701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000ca80701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c750701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000ca80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c750701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000ca80701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c750701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000ca80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c750701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010a80701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000c780701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000c780701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010a80701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000c780701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010a80701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000c780701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000a90701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000ca40701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000ca40701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000a90701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000ca40701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000ca40701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004a90701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000ca50701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000ca50701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004a90701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000ca50701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000ca50701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008a90701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000ca60701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000ca60701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008a90701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000ca60701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000ca60701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000ca90701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000ca70701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000ca90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000ca70701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000ca90701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000ca70701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000ca90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000ca70701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010a90701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000ca80701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000ca80701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010a90701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000ca80701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010a90701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000ca80701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000aa0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000ca90701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000ca90701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000aa0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000ca90701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000ca90701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004aa0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000caa0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000caa0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004aa0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000caa0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000caa0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008aa0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000cab0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000cab0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008aa0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000cab0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000cab0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000caa0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000cac0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000caa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000cac0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000caa0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000cac0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000caa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000cac0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010aa0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80000cad0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80000cad0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010aa0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80000cad0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010aa0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80000cad0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000ab0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010030701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010030701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0120, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000ab0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010030701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010030701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004ab0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010240701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010240701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004ab0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010240701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010240701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008ab0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010250701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010250701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8100, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008ab0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010250701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010250701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000cab0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010260701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000cab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010260701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000cab0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010260701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000cab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010260701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010ab0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010270701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010270701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010ab0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010270701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010ab0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010270701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000a60701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010280701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010280701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000a60701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010280701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010280701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004a60701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010290701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010290701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004a60701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010290701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010290701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008a60701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000102a0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000102a0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008a60701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000102a0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000102a0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000ca60701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000102b0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000ca60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000102b0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000ca60701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000102b0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000ca60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000102b0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010a60701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000102c0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000102c0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010a60701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000102c0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010a60701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000102c0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800000a70701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000102d0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800000a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000102d0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x800000a70701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000102d0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800000a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000102d0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800004a70701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010740701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800004a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010740701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6000, 49, 7, 49 ); + } - l_rc = fapi2::putScom(TGT0, 0x800004a70701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010740701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800004a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010740701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800008a70701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010750701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800008a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010750701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x4000, 48, 12, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x800008a70701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010750701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800008a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010750701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000ca70701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010780701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000ca70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010780701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x7F7F, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000ca70701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010780701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000ca70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010780701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800010a70701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010a40701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800010a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010a40701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800010a70701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010a40701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800010a70701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010a40701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002c0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010a50701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010a50701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 7, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 56, 2, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0x8000, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002c0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010a50701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010a50701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000042c0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010a60701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000042c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010a60701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000042c0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010a60701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000042c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010a60701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082c0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010a70701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010a70701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0800, 48, 5, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0800, 56, 6, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000082c0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010a70701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010a70701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c2c0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010a80701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c2c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010a80701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c2c0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010a80701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c2c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010a80701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000102c0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010a90701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000102c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010a90701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x8000, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000102c0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010a90701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000102c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010a90701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002d0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010aa0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010aa0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002d0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010aa0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010aa0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000042d0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010ab0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000042d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010ab0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xffe0, 48, 15, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000042d0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010ab0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000042d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010ab0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082d0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010ac0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010ac0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000082d0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010ac0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010ac0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c2d0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800010ad0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c2d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800010ad0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x2020, 48, 11, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c2d0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800010ad0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c2d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800010ad0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000102d0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800040000701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000102d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800040000701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0402, 48, 6, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0402, 56, 7, 56 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000102d0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800040000701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000102d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800040000701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002a0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800044000701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800044000701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002a0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800044000701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800044000701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000042a0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800044010701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000042a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800044010701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x5000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000042a0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800044010701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000042a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800044010701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082a0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800044050701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800044050701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x4040, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000082a0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800044050701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800044050701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c2a0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800044070701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c2a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800044070701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x4040, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c2a0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800044070701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c2a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800044070701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000102a0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800048000701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000102a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800048000701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000102a0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800048000701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000102a0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800048000701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002b0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80004c000701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80004c000701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xFFFF, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002b0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x80004c000701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80004c000701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000042b0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800080310701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000042b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800080310701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xE058, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000042b0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800080310701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000042b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800080310701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082b0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800080330701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800080330701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000082b0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800080330701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800080330701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80000c2b0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000803d0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80000c2b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000803d0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x80000c2b0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000803d0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80000c2b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000803d0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000102b0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800084310701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000102b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800084310701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 62, 2, 62 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0xE058, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000102b0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800084310701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000102b0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800084310701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000803d0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800084330701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000803d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800084330701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6000, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000803d0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800084330701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000803d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800084330701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000843d0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000843d0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000843d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000843d0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x6740, 63, 1, 63 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x6740, 48, 12, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x6740, 63, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000843d0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000843d0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000843d0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000843d0701103full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00c0701103full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00c0701103full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00c0701103full)"); + break; + } - { - if (( true )) - { - l_scom_buffer.insert<uint64_t> (literal_0x0202, 48, 16, 48 ); - } - } + if (( true )) + { + l_scom_buffer.insert<uint64_t> (literal_0x0202, 48, 16, 48 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000c00c0701103full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00c0701103full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00c0701103full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00c0701103full)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ab_hp_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ab_hp_scom.C index bd4120108..d9bb6c85f 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ab_hp_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ab_hp_scom.C @@ -83,164 +83,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) - { - constexpr auto l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF, 0, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) - { - constexpr auto l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF, 0, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) - { - constexpr auto l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF, 0, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) - { - constexpr auto l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF, 1, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) - { - constexpr auto l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF, 1, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) - { - constexpr auto l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF, 1, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_GROUP_MASTER_CHIP_Type l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_GROUP_MASTER_CHIP, TGT0, l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP); @@ -250,164 +92,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON, 2, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON, 2, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON, 2, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON, 3, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON, 3, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON, 3, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_CCSM_MODE_Type l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_CCSM_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE); @@ -417,85 +101,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON, 29, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON, 29, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON, 29, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_SMP_OPTICS_MODE_Type l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_SMP_OPTICS_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE); @@ -505,85 +110,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_SMP_OPTICS_MODE_OPTICS_IS_A_BUS)) - { - constexpr auto l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON, 30, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_SMP_OPTICS_MODE_OPTICS_IS_A_BUS)) - { - constexpr auto l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON, 30, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_SMP_OPTICS_MODE_OPTICS_IS_A_BUS)) - { - constexpr auto l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON, 30, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_CAPI_MODE_Type l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_CAPI_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE); @@ -593,85 +119,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CAPI_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON, 31, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CAPI_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON, 31, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CAPI_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON, 31, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_Type l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE, TGT0, l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE); @@ -681,342 +128,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP, 32, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI, 32, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV, 32, 2, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP, 32, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI, 32, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV, 32, 2, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP, 32, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI, 32, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV, 32, 2, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP, 34, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI, 34, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV, 34, 2, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP, 34, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI, 34, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV, 34, 2, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP, 34, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI, 34, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV, 34, 2, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP, 36, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI, 36, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV, 36, 2, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP, 36, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI, 36, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV, 36, 2, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP, 36, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI, 36, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV, 36, 2, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_CHIP_EC_FEATURE_HW386013_Type l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013; l_rc = FAPI_ATTR_GET(fapi2::ATTR_CHIP_EC_FEATURE_HW386013, TGT0, l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013); @@ -1026,279 +137,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013 != literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI, 38, 2, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV, 38, 2, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013 != literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI, 38, 2, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV, 38, 2, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013 != literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == - fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI = 0x15; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI, 38, 2, 62 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) - { - constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV = 0x2a; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV, 38, 2, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 40, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 40, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 40, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON, 52, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON, 52, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) - { - constexpr auto l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON, 52, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE); @@ -1308,85 +146,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - constexpr auto l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE, 53, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - constexpr auto l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE, 53, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - constexpr auto l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE, 53, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); @@ -1396,155 +155,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - constexpr auto l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP, 54, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - constexpr auto l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP, 54, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - constexpr auto l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP, 54, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - constexpr auto l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF, 55, 1, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - constexpr auto l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF, 55, 1, 62 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - constexpr auto l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_Type l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG, TGT0, l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG); @@ -1554,85 +164,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON, 4, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON, 4, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON, 4, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID_Type l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID, TGT0, l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID); @@ -1642,1459 +173,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14, 12, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15, 12, 4, 52 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14, 12, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15, 12, 4, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14, 12, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15, 12, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON, 5, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON, 5, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON, 5, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14, 16, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15, 16, 4, 52 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14, 16, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15, 16, 4, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14, 16, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15, 16, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON, 6, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON, 6, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON, 6, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14, 20, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15, 20, 4, 52 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14, 20, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15, 20, 4, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14, 20, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15, 20, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON, 7, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON, 7, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON, 7, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14, 24, 4, 52 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15, 24, 4, 52 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14, 24, 4, 56 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15, 24, 4, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1 = 0x111; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2 = 0x222; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3 = 0x333; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4 = 0x444; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5 = 0x555; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6 = 0x666; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7 = 0x777; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_8)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8 = 0x888; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_9)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9 = 0x999; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_10)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10 = 0xaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_11)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11 = 0xbbb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_12)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12 = 0xccc; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_13)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13 = 0xddd; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_14)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14 = 0xeee; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14, 24, 4, 60 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_15)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15 = 0xfff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15, 24, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_A_AGGREGATE_Type l_TGT0_ATTR_PROC_FABRIC_A_AGGREGATE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_A_AGGREGATE, TGT0, l_TGT0_ATTR_PROC_FABRIC_A_AGGREGATE); @@ -3105,84 +183,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ } auto l_def_LINK_A_AGGREGATE_EN = (l_TGT0_ATTR_PROC_FABRIC_A_AGGREGATE == ENUM_ATTR_PROC_FABRIC_A_AGGREGATE_ON); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if (l_def_LINK_A_AGGREGATE_EN) - { - constexpr auto l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON, 28, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if (l_def_LINK_A_AGGREGATE_EN) - { - constexpr auto l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON, 28, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if (l_def_LINK_A_AGGREGATE_EN) - { - constexpr auto l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON, 28, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } fapi2::ATTR_PROC_FABRIC_A_ADDR_DIS_Type l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_A_ADDR_DIS, TGT0, l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS); @@ -3192,334 +192,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON, 8, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON, 8, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON, 8, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON, 9, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON, 9, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON, 9, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON, 10, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON, 10, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON, 10, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON, 11, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON, 11, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) - && l_def_LINK_A_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON, 11, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } - fapi2::ATTR_FREQ_A_MHZ_Type l_TGT1_ATTR_FREQ_A_MHZ; l_rc = FAPI_ATTR_GET(fapi2::ATTR_FREQ_A_MHZ, TGT1, l_TGT1_ATTR_FREQ_A_MHZ); @@ -3560,189 +232,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ auto l_def_A_CMD_RATE_2B_RA = (((literal_10 * l_TGT1_ATTR_FREQ_PB_MHZ) * literal_1611) % (l_TGT1_ATTR_FREQ_A_MHZ * literal_2000)); auto l_def_A_CMD_RATE_2B_NA = ((literal_10 * l_TGT1_ATTR_FREQ_PB_MHZ) * literal_1611); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180bull)"); - break; - } - - { - if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); - break; - } - - { - if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200bull)"); - break; - } - - { - if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) - && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200bull)"); - break; - } - } - } fapi2::ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_Type l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG, TGT0, l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG); @@ -3752,85 +241,6 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON, 0, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON, 0, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON, 0, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } - } - } - fapi2::ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID_Type l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID; l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID, TGT0, l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID); @@ -3840,2787 +250,3126 @@ fapi2::ReturnCode p9_fbc_ab_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } + fapi2::ATTR_PROC_FABRIC_X_AGGREGATE_Type l_TGT0_ATTR_PROC_FABRIC_X_AGGREGATE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_AGGREGATE, TGT0, l_TGT0_ATTR_PROC_FABRIC_X_AGGREGATE); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0, 16, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1, 16, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2, 16, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3, 16, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4, 16, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5, 16, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6, 16, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7, 16, 3, 55 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0, 16, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1, 16, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2, 16, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3, 16, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4, 16, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5, 16, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6, 16, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7, 16, 3, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0, 16, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1, 16, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2, 16, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3, 16, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4, 16, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5, 16, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6, 16, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7, 16, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_X_AGGREGATE)"); + break; } + auto l_def_LINK_X_AGGREGATE_EN = (l_TGT0_ATTR_PROC_FABRIC_X_AGGREGATE == ENUM_ATTR_PROC_FABRIC_X_AGGREGATE_ON); + fapi2::ATTR_PROC_FABRIC_X_ADDR_DIS_Type l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_ADDR_DIS, TGT0, l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON, 1, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON, 1, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON, 1, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_X_ADDR_DIS)"); + break; } + fapi2::ATTR_FREQ_X_MHZ_Type l_TGT1_ATTR_FREQ_X_MHZ; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_FREQ_X_MHZ, TGT1, l_TGT1_ATTR_FREQ_X_MHZ); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0, 19, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1, 19, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2, 19, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3, 19, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4, 19, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5, 19, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6, 19, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7, 19, 3, 55 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0, 19, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1, 19, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2, 19, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3, 19, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4, 19, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5, 19, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6, 19, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7, 19, 3, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0, 19, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1, 19, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2, 19, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3, 19, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4, 19, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5, 19, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6, 19, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7, 19, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_FREQ_X_MHZ)"); + break; } + auto l_def_X_CMD_RATE_4B_R = ((literal_6 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); + fapi2::ATTR_PROC_FABRIC_X_BUS_WIDTH_Type l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_BUS_WIDTH, TGT1, l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON, 2, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON, 2, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON, 2, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_X_BUS_WIDTH)"); + break; } + auto l_def_X_CMD_RATE_D = l_TGT1_ATTR_FREQ_X_MHZ; + auto l_def_X_CMD_RATE_4B_N = (literal_6 * l_TGT1_ATTR_FREQ_PB_MHZ); + auto l_def_X_CMD_RATE_4B_RA = ((literal_5 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); + auto l_def_X_CMD_RATE_4B_NA = (literal_5 * l_TGT1_ATTR_FREQ_PB_MHZ); + auto l_def_X_CMD_RATE_2B_R = ((literal_12 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); + auto l_def_X_CMD_RATE_2B_N = (literal_12 * l_TGT1_ATTR_FREQ_PB_MHZ); + auto l_def_X_CMD_RATE_2B_RA = ((literal_10 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); + auto l_def_X_CMD_RATE_2B_NA = (literal_10 * l_TGT1_ATTR_FREQ_PB_MHZ); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0, 22, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1, 22, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2, 22, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3, 22, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4, 22, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5, 22, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6, 22, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7, 22, 3, 55 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0, 22, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1, 22, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2, 22, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3, 22, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4, 22, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5, 22, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6, 22, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7, 22, 3, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0, 22, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1, 22, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2, 22, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3, 22, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4, 22, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5, 22, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6, 22, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7, 22, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x501180bull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501180bull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON, 3, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON, 3, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON, 3, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) + { + constexpr auto l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF, 0, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0, 25, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1, 25, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2, 25, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3, 25, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4, 25, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5, 25, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6, 25, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7, 25, 3, 55 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0, 25, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1, 25, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2, 25, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3, 25, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4, 25, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5, 25, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6, 25, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7, 25, 3, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0, 25, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1, 25, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2, 25, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3, 25, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4, 25, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5, 25, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6, 25, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7, 25, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) + { + constexpr auto l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF, 1, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON, 4, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON, 4, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON, 4, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON, 2, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0, 28, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1, 28, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2, 28, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3, 28, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4, 28, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5, 28, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6, 28, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7, 28, 3, 55 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0, 28, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1, 28, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2, 28, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3, 28, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4, 28, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5, 28, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6, 28, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7, 28, 3, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0, 28, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1, 28, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2, 28, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3, 28, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4, 28, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5, 28, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6, 28, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7, 28, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON, 3, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON, 5, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON, 5, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON, 5, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON, 29, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0, 31, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1, 31, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2, 31, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3, 31, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4, 31, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5, 31, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6, 31, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7, 31, 3, 55 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0, 31, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1, 31, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2, 31, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3, 31, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4, 31, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5, 31, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6, 31, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7, 31, 3, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0, 31, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1, 31, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2, 31, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3, 31, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4, 31, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5, 31, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6, 31, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7, 31, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_SMP_OPTICS_MODE_OPTICS_IS_A_BUS)) + { + constexpr auto l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON, 30, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON, 6, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON, 6, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON, 6, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CAPI_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON, 31, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0, 34, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1, 34, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2, 34, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3, 34, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4, 34, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5, 34, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6, 34, 3, 55 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7, 34, 3, 55 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0, 34, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1, 34, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2, 34, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3, 34, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4, 34, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5, 34, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6, 34, 3, 58 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7, 34, 3, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_0)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0 = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0, 34, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_1)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1 = 0x49; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1, 34, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_2)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2 = 0x92; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2, 34, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_3)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3 = 0xdb; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3, 34, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_4)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4 = 0x124; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4, 34, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_5)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5 = 0x16d; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5, 34, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_6)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6 = 0x1b6; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6, 34, 3, 61 ); - } - else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_7)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7 = 0x1ff; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7, 34, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP, 32, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI, 32, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV, 32, 2, 58 ); } - } - fapi2::ATTR_PROC_FABRIC_X_AGGREGATE_Type l_TGT0_ATTR_PROC_FABRIC_X_AGGREGATE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_AGGREGATE, TGT0, l_TGT0_ATTR_PROC_FABRIC_X_AGGREGATE); + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP, 34, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI, 34, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV, 34, 2, 58 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_X_AGGREGATE)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP, 36, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI, 36, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV, 36, 2, 58 ); + } - auto l_def_LINK_X_AGGREGATE_EN = (l_TGT0_ATTR_PROC_FABRIC_X_AGGREGATE == ENUM_ATTR_PROC_FABRIC_X_AGGREGATE_ON); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (l_def_LINK_X_AGGREGATE_EN) - { - constexpr auto l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON, 37, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (l_def_LINK_X_AGGREGATE_EN) - { - constexpr auto l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON, 37, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (l_def_LINK_X_AGGREGATE_EN) - { - constexpr auto l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON, 37, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013 != literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI, 38, 2, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV, 38, 2, 58 ); } - } - fapi2::ATTR_PROC_FABRIC_X_ADDR_DIS_Type l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_ADDR_DIS, TGT0, l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS); - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_X_ADDR_DIS)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 40, 7, 57 ); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON, 8, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON, 8, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON, 8, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON, 52, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON, 9, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON, 9, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON, 9, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) + { + constexpr auto l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE, 53, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON, 10, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON, 10, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON, 10, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + constexpr auto l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP, 54, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON, 11, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON, 11, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON, 11, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + constexpr auto l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF, 55, 1, 61 ); + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON, 4, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON, 12, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON, 12, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON, 12, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14, 12, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15, 12, 4, 52 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON, 13, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON, 13, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON, 13, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON, 5, 1, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON, 14, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON, 14, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) - && l_def_LINK_X_AGGREGATE_EN)) - { - constexpr auto l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON, 14, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14, 16, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15, 16, 4, 52 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON, 6, 1, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14, 20, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15, 20, 4, 52 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON, 7, 1, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14, 24, 4, 52 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15, 24, 4, 52 ); + } + + if (l_def_LINK_A_AGGREGATE_EN) + { + constexpr auto l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON, 28, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON, 8, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON, 9, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON, 10, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON, 11, 1, 61 ); } - } + if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + + l_rc = fapi2::putScom(TGT0, 0x501180bull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501180bull)"); + break; + } + } { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); + FAPI_ERR("ERROR executing: getScom (0x501180full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON, 0, 1, 61 ); + } - { - constexpr auto l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON, 49, 1, 61 ); - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0, 16, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1, 16, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2, 16, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3, 16, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4, 16, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5, 16, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6, 16, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7, 16, 3, 55 ); + } - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON, 1, 1, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0, 19, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1, 19, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2, 19, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3, 19, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4, 19, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5, 19, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6, 19, 3, 55 ); } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_7)) { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7, 19, 3, 55 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON, 2, 1, 61 ); + } - { - constexpr auto l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON, 49, 1, 62 ); - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0, 22, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1, 22, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2, 22, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3, 22, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4, 22, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5, 22, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6, 22, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7, 22, 3, 55 ); + } - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON, 3, 1, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0, 25, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1, 25, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2, 25, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3, 25, 3, 55 ); } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_4)) { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4, 25, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5, 25, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6, 25, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7, 25, 3, 55 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON, 4, 1, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0, 28, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1, 28, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2, 28, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3, 28, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4, 28, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5, 28, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6, 28, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7, 28, 3, 55 ); + } - { - constexpr auto l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON, 49, 1, 63 ); - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON, 5, 1, 61 ); + } - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0, 31, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1, 31, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2, 31, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3, 31, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4, 31, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5, 31, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6, 31, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7, 31, 3, 55 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON, 6, 1, 61 ); } - } + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0, 34, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1, 34, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2, 34, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3, 34, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4, 34, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5, 34, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6, 34, 3, 55 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7, 34, 3, 55 ); + } + + if (l_def_LINK_X_AGGREGATE_EN) + { + constexpr auto l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON, 37, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON, 8, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON, 9, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON, 10, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON, 11, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON, 12, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON, 13, 1, 61 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON, 14, 1, 61 ); + } + + constexpr auto l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON, 49, 1, 61 ); + constexpr auto l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON, 50, 1, 61 ); + + if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D) + literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + + l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501180full)"); + break; + } + } { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x5011c0bull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c0bull)"); + break; + } + + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) + { + constexpr auto l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF, 0, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); + constexpr auto l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF, 1, 1, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON, 2, 1, 62 ); + } - { - constexpr auto l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON, 50, 1, 61 ); - } + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON, 3, 1, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); + if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON, 29, 1, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_SMP_OPTICS_MODE_OPTICS_IS_A_BUS)) + { + constexpr auto l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON, 30, 1, 62 ); } + + if ((l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CAPI_MODE_ON)) { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); + constexpr auto l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON, 31, 1, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP, 32, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI, 32, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV, 32, 2, 60 ); + } - { - constexpr auto l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON, 50, 1, 62 ); - } + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP, 34, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI, 34, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV, 34, 2, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP, 36, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI, 36, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV, 36, 2, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } + if ((l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013 != literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 60 ); } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI, 38, 2, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV, 38, 2, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 40, 7, 57 ); - { - constexpr auto l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON, 50, 1, 63 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON, 52, 1, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) + { + constexpr auto l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE, 53, 1, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + constexpr auto l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP, 54, 1, 62 ); } - } - fapi2::ATTR_FREQ_X_MHZ_Type l_TGT1_ATTR_FREQ_X_MHZ; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_FREQ_X_MHZ, TGT1, l_TGT1_ATTR_FREQ_X_MHZ); + constexpr auto l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF, 55, 1, 62 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_FREQ_X_MHZ)"); - break; - } + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON, 4, 1, 62 ); + } - auto l_def_X_CMD_RATE_4B_R = ((literal_6 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); - fapi2::ATTR_PROC_FABRIC_X_BUS_WIDTH_Type l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_X_BUS_WIDTH, TGT1, l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH); + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14, 12, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15, 12, 4, 56 ); + } - if (l_rc) + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON, 5, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14, 16, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15, 16, 4, 56 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON, 6, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14, 20, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15, 20, 4, 56 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON, 7, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14, 24, 4, 56 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15, 24, 4, 56 ); + } + + if (l_def_LINK_A_AGGREGATE_EN) + { + constexpr auto l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON, 28, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON, 8, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON, 9, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON, 10, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON, 11, 1, 62 ); + } + + if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + + l_rc = fapi2::putScom(TGT0, 0x5011c0bull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c0bull)"); + break; + } + } { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_X_BUS_WIDTH)"); - break; + l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); + break; + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON, 0, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0, 16, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1, 16, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2, 16, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3, 16, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4, 16, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5, 16, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6, 16, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7, 16, 3, 58 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON, 1, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0, 19, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1, 19, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2, 19, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3, 19, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4, 19, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5, 19, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6, 19, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7, 19, 3, 58 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON, 2, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0, 22, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1, 22, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2, 22, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3, 22, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4, 22, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5, 22, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6, 22, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7, 22, 3, 58 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON, 3, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0, 25, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1, 25, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2, 25, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3, 25, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4, 25, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5, 25, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6, 25, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7, 25, 3, 58 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON, 4, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0, 28, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1, 28, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2, 28, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3, 28, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4, 28, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5, 28, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6, 28, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7, 28, 3, 58 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON, 5, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0, 31, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1, 31, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2, 31, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3, 31, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4, 31, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5, 31, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6, 31, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7, 31, 3, 58 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON, 6, 1, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0, 34, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1, 34, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2, 34, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3, 34, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4, 34, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5, 34, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6, 34, 3, 58 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7, 34, 3, 58 ); + } + + if (l_def_LINK_X_AGGREGATE_EN) + { + constexpr auto l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON, 37, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON, 8, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON, 9, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON, 10, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON, 11, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON, 12, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON, 13, 1, 62 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON, 14, 1, 62 ); + } + + constexpr auto l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON, 49, 1, 62 ); + constexpr auto l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON, 50, 1, 62 ); + + if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D) + literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + + l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); + break; + } } + { + l_rc = fapi2::getScom( TGT0, 0x501200bull, l_scom_buffer ); - auto l_def_X_CMD_RATE_D = l_TGT1_ATTR_FREQ_X_MHZ; - auto l_def_X_CMD_RATE_4B_N = (literal_6 * l_TGT1_ATTR_FREQ_PB_MHZ); - auto l_def_X_CMD_RATE_4B_RA = ((literal_5 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); - auto l_def_X_CMD_RATE_4B_NA = (literal_5 * l_TGT1_ATTR_FREQ_PB_MHZ); - auto l_def_X_CMD_RATE_2B_R = ((literal_12 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); - auto l_def_X_CMD_RATE_2B_N = (literal_12 * l_TGT1_ATTR_FREQ_PB_MHZ); - auto l_def_X_CMD_RATE_2B_RA = ((literal_10 * l_TGT1_ATTR_FREQ_PB_MHZ) % l_TGT1_ATTR_FREQ_X_MHZ); - auto l_def_X_CMD_RATE_2B_NA = (literal_10 * l_TGT1_ATTR_FREQ_PB_MHZ); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501200bull)"); + break; + } + + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) + { + constexpr auto l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_MASTER_CHIP_NEXT_OFF, 0, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_FALSE)) + { + constexpr auto l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_TM_MASTER_NEXT_OFF, 1, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_GROUP_MASTER_CHIP_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_GP_MASTER_NEXT_ON, 2, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP == fapi2::ENUM_ATTR_PROC_FABRIC_SYSTEM_MASTER_CHIP_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHG_RATE_SP_MASTER_NEXT_ON, 3, 1, 63 ); + } + + if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_HOP_MODE_NEXT_ON, 29, 1, 63 ); + } + + if ((l_TGT1_ATTR_PROC_FABRIC_SMP_OPTICS_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_SMP_OPTICS_MODE_OPTICS_IS_A_BUS)) + { + constexpr auto l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SMP_OPTICS_MODE_NEXT_ON, 30, 1, 63 ); + } + + if ((l_TGT1_ATTR_PROC_FABRIC_CAPI_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CAPI_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CAPI_MODE_NEXT_ON, 31, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_SMP, 32, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_CAPI, 32, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT0_MODE_NEXT_NV, 32, 2, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_SMP, 34, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_CAPI, 34, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT1_MODE_NEXT_NV, 34, 2, 62 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_SMP, 36, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_CAPI, 36, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT2_MODE_NEXT_NV, 36, 2, 62 ); + } + + if ((l_TGT0_ATTR_CHIP_EC_FEATURE_HW386013 != literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_SMP)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_SMP, 38, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == + fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_CAPI)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI = 0x15; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_CAPI, 38, 2, 62 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_NV)) + { + constexpr auto l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV = 0x2a; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_OPT3_MODE_NEXT_NV, 38, 2, 62 ); + } + + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 40, 7, 57 ); + + if ((l_TGT1_ATTR_PROC_FABRIC_CCSM_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_CCSM_MODE_ON)) + { + constexpr auto l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PHYP_IS_GROUP_NEXT_ON, 52, 1, 63 ); + } + + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) + { + constexpr auto l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_ADDR_BAR_MODE_NEXT_SMALL_SYSTEM_MODE, 53, 1, 63 ); + } + + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + constexpr auto l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_PUMP_MODE_NEXT_CHIP_IS_GROUP, 54, 1, 63 ); + } + + constexpr auto l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_DCACHE_CAPP_MODE_NEXT_OFF, 55, 1, 63 ); + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_EN_NEXT_ON, 4, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_0, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_1, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_2, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_3, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_4, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_5, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_6, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_7, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_8, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_9, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_10, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_11, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_12, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_13, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_14, 12, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_0] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A0_GROUPID_NEXT_ID_15, 12, 4, 60 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_EN_NEXT_ON, 5, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_0, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_1, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_2, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_3, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_4, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_5, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_6, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_7, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_8, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_9, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_10, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_11, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_12, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_13, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_14, 16, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_1] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A1_GROUPID_NEXT_ID_15, 16, 4, 60 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_EN_NEXT_ON, 6, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_0, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_1, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_2, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_3, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_4, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_5, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_6, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_7, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_8, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_9, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_10, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_11, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_12, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_13, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_14, 20, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_2] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A2_GROUPID_NEXT_ID_15, 20, 4, 60 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_EN_NEXT_ON, 7, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_0, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1 = 0x111; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_1, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2 = 0x222; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_2, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3 = 0x333; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_3, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4 = 0x444; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_4, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5 = 0x555; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_5, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6 = 0x666; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_6, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7 = 0x777; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_7, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_8)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8 = 0x888; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_8, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_9)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9 = 0x999; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_9, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_10)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10 = 0xaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_10, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_11)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11 = 0xbbb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_11, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_12)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12 = 0xccc; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_12, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_13)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13 = 0xddd; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_13, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_14)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14 = 0xeee; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_14, 24, 4, 60 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_ID[literal_3] == literal_15)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15 = 0xfff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_A3_GROUPID_NEXT_ID_15, 24, 4, 60 ); + } + + if (l_def_LINK_A_AGGREGATE_EN) + { + constexpr auto l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_A_AGGREGATE_NEXT_ON, 28, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA0_ADDR_DIS_NEXT_ON, 8, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA1_ADDR_DIS_NEXT_ON, 9, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA2_ADDR_DIS_NEXT_ON, 10, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_A_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_A_ADDR_DIS_ON) + && l_def_LINK_A_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NA3_ADDR_DIS_NEXT_ON, 11, 1, 63 ); + } + + if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_4B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_4_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_4B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_4B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_0)) && (l_def_A_CMD_RATE_2B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_N / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_A_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_A_BUS_WIDTH_2_BYTE) + && (l_def_LINK_A_AGGREGATE_EN == literal_1)) && (l_def_A_CMD_RATE_2B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_A_CMD_RATE_2B_NA / l_def_A_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + + l_rc = fapi2::putScom(TGT0, 0x501200bull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501200bull)"); + break; + } + } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180full)"); - break; - } - - { - if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D) + literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0full)"); - break; - } - - { - if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D) + literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0full)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200full)"); - break; - } - - { - if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D) + literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA != literal_0))) - { - l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) - && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA == literal_0))) - { - l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x501200full, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501200full)"); + break; + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_EN_NEXT_ON, 0, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_0, 16, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_1, 16, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_2, 16, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_3, 16, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_4, 16, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_5, 16, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_6, 16, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_0] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X0_CHIPID_NEXT_ID_7, 16, 3, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_EN_NEXT_ON, 1, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_0, 19, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_1, 19, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_2, 19, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_3, 19, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_4, 19, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_5, 19, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_6, 19, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_1] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X1_CHIPID_NEXT_ID_7, 19, 3, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_EN_NEXT_ON, 2, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_0, 22, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_1, 22, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_2, 22, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_3, 22, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_4, 22, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_5, 22, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_6, 22, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_2] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X2_CHIPID_NEXT_ID_7, 22, 3, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_EN_NEXT_ON, 3, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_0, 25, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_1, 25, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_2, 25, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_3, 25, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_4, 25, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_5, 25, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_6, 25, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_3] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X3_CHIPID_NEXT_ID_7, 25, 3, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_EN_NEXT_ON, 4, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_0, 28, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_1, 28, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_2, 28, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_3, 28, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_4, 28, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_5, 28, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_6, 28, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_4] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X4_CHIPID_NEXT_ID_7, 28, 3, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_EN_NEXT_ON, 5, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_0, 31, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_1, 31, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_2, 31, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_3, 31, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_4, 31, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_5, 31, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_6, 31, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_5] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X5_CHIPID_NEXT_ID_7, 31, 3, 61 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG_TRUE)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_EN_NEXT_ON, 6, 1, 63 ); + } + + if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_0)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0 = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_0, 34, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_1)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1 = 0x49; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_1, 34, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_2)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2 = 0x92; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_2, 34, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_3)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3 = 0xdb; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_3, 34, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_4)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4 = 0x124; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_4, 34, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_5)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5 = 0x16d; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_5, 34, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_6)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6 = 0x1b6; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_6, 34, 3, 61 ); + } + else if ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_ID[literal_6] == literal_7)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7 = 0x1ff; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_X6_CHIPID_NEXT_ID_7, 34, 3, 61 ); + } + + if (l_def_LINK_X_AGGREGATE_EN) + { + constexpr auto l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_AGGREGATE_NEXT_ON, 37, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_0] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX0_ADDR_DIS_NEXT_ON, 8, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_1] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX1_ADDR_DIS_NEXT_ON, 9, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_2] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX2_ADDR_DIS_NEXT_ON, 10, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_3] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX3_ADDR_DIS_NEXT_ON, 11, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_4] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX4_ADDR_DIS_NEXT_ON, 12, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_5] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX5_ADDR_DIS_NEXT_ON, 13, 1, 63 ); + } + + if (((l_TGT0_ATTR_PROC_FABRIC_X_ADDR_DIS[literal_6] == fapi2::ENUM_ATTR_PROC_FABRIC_X_ADDR_DIS_ON) + && l_def_LINK_X_AGGREGATE_EN)) + { + constexpr auto l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LINK_NX6_ADDR_DIS_NEXT_ON, 14, 1, 63 ); + } + + constexpr auto l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_INDIRECT_EN_NEXT_ON, 49, 1, 63 ); + constexpr auto l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_X_GATHER_ENABLE_NEXT_ON, 50, 1, 63 ); + + if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_4B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D) + literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_4_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_4B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_4B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_0)) && (l_def_X_CMD_RATE_2B_R == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_N / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA != literal_0))) + { + l_scom_buffer.insert<uint64_t> ((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D), 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_X_BUS_WIDTH == fapi2::ENUM_ATTR_PROC_FABRIC_X_BUS_WIDTH_2_BYTE) + && (l_def_LINK_X_AGGREGATE_EN == literal_1)) && (l_def_X_CMD_RATE_2B_RA == literal_0))) + { + l_scom_buffer.insert<uint64_t> (((l_def_X_CMD_RATE_2B_NA / l_def_X_CMD_RATE_D) - literal_1), 56, 8, 56 ); + } + + l_rc = fapi2::putScom(TGT0, 0x501200full, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501200full)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_cd_hp_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_cd_hp_scom.C index e00e9f7dc..d715e7d31 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_cd_hp_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_cd_hp_scom.C @@ -29,33 +29,33 @@ using namespace fapi2; -constexpr auto literal_0x7 = 0x7; -constexpr auto literal_0x5 = 0x5; -constexpr auto literal_0x4 = 0x4; -constexpr auto literal_0x141 = 0x141; -constexpr auto literal_0x21B = 0x21B; -constexpr auto literal_0x30D = 0x30D; -constexpr auto literal_0x400 = 0x400; -constexpr auto literal_0b010 = 0b010; -constexpr auto literal_0x00 = 0x00; -constexpr auto literal_0x06 = 0x06; -constexpr auto literal_0x0D = 0x0D; -constexpr auto literal_0x1E = 0x1E; -constexpr auto literal_0x19 = 0x19; constexpr auto literal_0b111 = 0b111; +constexpr auto literal_0x4 = 0x4; constexpr auto literal_0b000 = 0b000; constexpr auto literal_0x0 = 0x0; constexpr auto literal_0x1 = 0x1; constexpr auto literal_0x2 = 0x2; constexpr auto literal_0x3 = 0x3; +constexpr auto literal_0x7 = 0x7; +constexpr auto literal_0x00 = 0x00; +constexpr auto literal_0x06 = 0x06; +constexpr auto literal_0x0D = 0x0D; +constexpr auto literal_0x1E = 0x1E; +constexpr auto literal_0x19 = 0x19; constexpr auto literal_1 = 1; -constexpr auto literal_0b0 = 0b0; constexpr auto literal_0b00 = 0b00; +constexpr auto literal_0b0 = 0b0; constexpr auto literal_0b1 = 0b1; -constexpr auto literal_0b11 = 0b11; +constexpr auto literal_0b01 = 0b01; constexpr auto literal_0b10 = 0b10; +constexpr auto literal_0b11 = 0b11; +constexpr auto literal_0x400 = 0x400; +constexpr auto literal_0b010 = 0b010; +constexpr auto literal_0x141 = 0x141; +constexpr auto literal_0x21B = 0x21B; +constexpr auto literal_0x30D = 0x30D; +constexpr auto literal_0x5 = 0x5; constexpr auto literal_0x000 = 0x000; -constexpr auto literal_0b01 = 0b01; fapi2::ReturnCode p9_fbc_cd_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -82,1303 +82,549 @@ fapi2::ReturnCode p9_fbc_cd_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 14, 10, 54 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f2005011c11ull, l_scom_buffer); + fapi2::ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ASYNC_SAFE_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f2005011c11ull)"); - break; - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ASYNC_SAFE_MODE)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 24, 10, 54 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f2005011c11ull, l_scom_buffer); + auto l_def_TRUE = ((l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE == ENUM_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_SAFE_MODE) + || (l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE == ENUM_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_PERFORMANCE_MODE)); + auto l_def_SAFE_MODE = (l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE == ENUM_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_SAFE_MODE); + fapi2::ATTR_PROC_FABRIC_CORE_FLOOR_RATIO_Type l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_CORE_FLOOR_RATIO, TGT1, l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f2005011c11ull)"); - break; - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_CORE_FLOOR_RATIO)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 34, 10, 54 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f2005011c11ull, l_scom_buffer); + auto l_def_CORE_FLOOR_RATIO_2_8 = (l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO == + ENUM_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO_RATIO_2_8); + auto l_def_CORE_FLOOR_RATIO_4_8 = (l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO == + ENUM_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO_RATIO_4_8); + fapi2::ATTR_PROC_FABRIC_CORE_CEILING_RATIO_Type l_TGT1_ATTR_PROC_FABRIC_CORE_CEILING_RATIO; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_CORE_CEILING_RATIO, TGT1, l_TGT1_ATTR_PROC_FABRIC_CORE_CEILING_RATIO); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f2005011c11ull)"); - break; - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_CORE_CEILING_RATIO)"); + break; } + auto l_def_CORE_CEILING_RATIO_8_8 = (l_TGT1_ATTR_PROC_FABRIC_CORE_CEILING_RATIO == + ENUM_ATTR_PROC_FABRIC_CORE_CEILING_RATIO_RATIO_8_8); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 44, 10, 54 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f2005011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b111, 49, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x4, 52, 6, 58 ); + constexpr auto l_PB_CMD_PB_CFG_P7_SLEEP_BACKOFF_NEXT_BACKOFF_1K = 0x2; + l_scom_buffer.insert<uint64_t> (l_PB_CMD_PB_CFG_P7_SLEEP_BACKOFF_NEXT_BACKOFF_1K, 58, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0b000, 60, 3, 61 ); + constexpr auto l_PB_CMD_PB_CFG_INCLUDE_LPC_RTY_NEXT_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_CMD_PB_CFG_INCLUDE_LPC_RTY_NEXT_OFF, 63, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x90000cf405011c11ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f2005011c11ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000cf405011c11ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 54, 10, 54 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f2005011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 35, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 38, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x1, 41, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x1, 44, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x2, 47, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x3, 50, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x7, 53, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f2005011c11ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 18, 10, 54 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ee105011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x00, 28, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0x06, 33, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0x0D, 38, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0x00, 43, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0x1E, 48, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0x19, 53, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0x00, 58, 5, 59 ); + constexpr auto l_PB_CMD_PB_CFG_USE_SLOW_GO_RATE_NEXT_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_CMD_PB_CFG_USE_SLOW_GO_RATE_NEXT_ON, 63, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ee105011c11ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x141, 28, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ee105011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ee105011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 26, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x21B, 40, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ee105011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ee105011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x30D, 52, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ee105011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ee105011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 29, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x400, 22, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 31, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x400, 34, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 46, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 49, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 52, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b1, 35, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 55, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 36, 2, 62 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 58, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b01, 36, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 61, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x00, 28, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 39, 2, 62 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x06, 33, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b10, 39, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0D, 38, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 41, 2, 62 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_CORE_FLOOR_RATIO_2_8 == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x00, 43, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b11, 41, 2, 62 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_CORE_FLOOR_RATIO_4_8 == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x1E, 48, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b10, 41, 2, 62 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x19, 53, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b01, 41, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x00, 58, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (((l_def_SAFE_MODE == literal_1) || (l_def_CORE_FLOOR_RATIO_2_8 == literal_1))) { - { - constexpr auto l_PB_CMD_PB_CFG_USE_SLOW_GO_RATE_NEXT_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_CMD_PB_CFG_USE_SLOW_GO_RATE_NEXT_ON, 63, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e4305011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e4305011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 44, 2, 62 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_CORE_FLOOR_RATIO_4_8 == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b111, 49, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000cf405011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000cf405011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b11, 44, 2, 62 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 52, 6, 58 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000cf405011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000cf405011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b10, 44, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - constexpr auto l_PB_CMD_PB_CFG_P7_SLEEP_BACKOFF_NEXT_BACKOFF_1K = 0x2; - l_scom_buffer.insert<uint64_t> (l_PB_CMD_PB_CFG_P7_SLEEP_BACKOFF_NEXT_BACKOFF_1K, 58, 2, 62 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000cf405011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000cf405011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b00, 46, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 60, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000cf405011c11ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000cf405011c11ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 48, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) { - { - constexpr auto l_PB_CMD_PB_CFG_INCLUDE_LPC_RTY_NEXT_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_CMD_PB_CFG_INCLUDE_LPC_RTY_NEXT_OFF, 63, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000cf405011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 49, 1, 63 ); + } + else if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b1, 49, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000cf405011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 50, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 51, 2, 62 ); + } + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01, 51, 2, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 19, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 54, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 22, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 56, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 57, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 25, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 59, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 60, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 28, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 62, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 63, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::putScom(TGT0, 0x90000e6105011811ull, l_scom_buffer); + + if (l_rc) { - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 31, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + FAPI_ERR("ERROR executing: putScom (0x90000e6105011811ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x90000e6105012011ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000e6105012011ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 34, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x400, 22, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x400, 34, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 46, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 49, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 52, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 55, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 58, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 61, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x90000ea205011c11ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000ea205011c11ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 37, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x4, 18, 10, 54 ); + l_scom_buffer.insert<uint64_t> (literal_0x141, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x21B, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x30D, 52, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x90000ee105011c11ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000ee105011c11ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 19, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 22, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x1, 25, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x1, 28, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x2, 31, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x3, 34, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x7, 37, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 43, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 46, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x1, 49, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x1, 52, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x2, 55, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x3, 58, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x7, 61, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 43, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x7, 14, 10, 54 ); + l_scom_buffer.insert<uint64_t> (literal_0x5, 24, 10, 54 ); + l_scom_buffer.insert<uint64_t> (literal_0x5, 34, 10, 54 ); + l_scom_buffer.insert<uint64_t> (literal_0x4, 44, 10, 54 ); + l_scom_buffer.insert<uint64_t> (literal_0x5, 54, 10, 54 ); + l_rc = fapi2::putScom(TGT0, 0x90000f2005011c11ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000f2005011c11ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 46, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000, 12, 3, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 49, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00, 16, 2, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 52, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b1, 20, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 55, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00, 21, 2, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (((l_def_SAFE_MODE == literal_1) || (l_def_CORE_CEILING_RATIO_8_8 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 24, 2, 62 ); + } + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 58, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b11, 24, 2, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 26, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 61, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000f0505011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f0505011c11ull)"); - break; - } + if ((l_def_SAFE_MODE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 28, 2, 62 ); + } + else if ((l_def_CORE_CEILING_RATIO_8_8 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b11, 28, 2, 62 ); + } + else if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b10, 28, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 30, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 35, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00, 32, 2, 62 ); + } + else if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b11, 32, 2, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b111, 34, 3, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SAFE_MODE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 37, 2, 62 ); + } + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 38, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b11, 37, 2, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 41, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 40, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b1, 41, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 44, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1, 42, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (((l_def_SAFE_MODE == literal_1) || (l_def_CORE_CEILING_RATIO_8_8 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 44, 2, 62 ); + } + else if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 47, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b11, 44, 2, 62 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 46, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 50, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 47, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 48, 2, 62 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_TRUE == literal_1)) { - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 53, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x90000e0605011c11ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0, 50, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e0605011c11ull)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 51, 1, 63 ); } - } - fapi2::ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ASYNC_SAFE_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE); + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 52, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ASYNC_SAFE_MODE)"); - break; - } + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0, 53, 1, 63 ); + } - auto l_def_TRUE = ((l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE == ENUM_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_SAFE_MODE) - || (l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE == ENUM_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_PERFORMANCE_MODE)); - fapi2::ATTR_PROC_FABRIC_CORE_CEILING_RATIO_Type l_TGT1_ATTR_PROC_FABRIC_CORE_CEILING_RATIO; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_CORE_CEILING_RATIO, TGT1, l_TGT1_ATTR_PROC_FABRIC_CORE_CEILING_RATIO); + if ((l_def_TRUE == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_0x000, 54, 10, 54 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_CORE_CEILING_RATIO)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x90000f4005011811ull, l_scom_buffer); - auto l_def_CORE_CEILING_RATIO_8_8 = (l_TGT1_ATTR_PROC_FABRIC_CORE_CEILING_RATIO == - ENUM_ATTR_PROC_FABRIC_CORE_CEILING_RATIO_RATIO_8_8); - auto l_def_SAFE_MODE = (l_TGT1_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE == ENUM_ATTR_PROC_FABRIC_ASYNC_SAFE_MODE_SAFE_MODE); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 12, 3, 61 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 16, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b1, 20, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 21, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); - } - - if (((l_def_SAFE_MODE == literal_1) || (l_def_CORE_CEILING_RATIO_8_8 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 24, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 24, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 26, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 28, 2, 62 ); - } - else if ((l_def_CORE_CEILING_RATIO_8_8 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 28, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b10, 28, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 30, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 32, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 32, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b111, 34, 3, 61 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 37, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 37, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 40, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b1, 41, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b1, 42, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); - } - - if (((l_def_SAFE_MODE == literal_1) || (l_def_CORE_CEILING_RATIO_8_8 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 44, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 44, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 46, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 47, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 48, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 50, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 51, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 52, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 53, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0x000, 54, 10, 54 ); - } - } - l_rc = fapi2::putScom(TGT0, 0x90000f4005011811ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f4005011811ull)"); - break; - } - - l_rc = fapi2::putScom(TGT0, 0x90000f4005012011ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000f4005012011ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000f4005011811ull)"); + break; } - } - fapi2::ATTR_PROC_FABRIC_CORE_FLOOR_RATIO_Type l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_CORE_FLOOR_RATIO, TGT1, l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO); - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_CORE_FLOOR_RATIO)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x90000f4005012011ull, l_scom_buffer); - auto l_def_CORE_FLOOR_RATIO_2_8 = (l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO == - ENUM_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO_RATIO_2_8); - auto l_def_CORE_FLOOR_RATIO_4_8 = (l_TGT1_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO == - ENUM_ATTR_PROC_FABRIC_CORE_FLOOR_RATIO_RATIO_4_8); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - { - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 26, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 29, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 31, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b1, 35, 1, 63 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 36, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b01, 36, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 39, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b10, 39, 2, 62 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 41, 2, 62 ); - } - else if ((l_def_CORE_FLOOR_RATIO_2_8 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 41, 2, 62 ); - } - else if ((l_def_CORE_FLOOR_RATIO_4_8 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b10, 41, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b01, 41, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); - } - - if (((l_def_SAFE_MODE == literal_1) || (l_def_CORE_FLOOR_RATIO_2_8 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 44, 2, 62 ); - } - else if ((l_def_CORE_FLOOR_RATIO_4_8 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 44, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b10, 44, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 46, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 48, 1, 63 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 49, 1, 63 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b1, 49, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 50, 1, 63 ); - } - - if ((l_def_SAFE_MODE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 51, 2, 62 ); - } - else if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b01, 51, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 53, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 54, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 55, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 56, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 57, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 59, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 60, 2, 62 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 62, 1, 63 ); - } - - if ((l_def_TRUE == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 63, 1, 63 ); - } - } - l_rc = fapi2::putScom(TGT0, 0x90000e6105011811ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e6105011811ull)"); - break; - } - - l_rc = fapi2::putScom(TGT0, 0x90000e6105012011ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x90000e6105012011ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x90000f4005012011ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_dl_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_dl_scom.C index c7b036292..9d2b98c38 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_dl_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_dl_scom.C @@ -41,272 +41,88 @@ fapi2::ReturnCode p9_fbc_ioe_dl_scom(const fapi2::Target<fapi2::TARGET_TYPE_XBUS do { + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x601180aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x601180aull)"); - break; - } - - { - constexpr auto l_PB_IOE_LL1_CONFIG_LINK_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOE_LL1_CONFIG_LINK_PAIR_ON, 0, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x601180aull, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x6011803ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x601180aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x6011803ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011803ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); - } - - l_rc = fapi2::putScom(TGT0, 0x6011803ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011803ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x6011803ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x601180aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x601180aull)"); - break; - } - - { - constexpr auto l_PB_IOE_LL1_CONFIG_CRC_LANE_ID_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOE_LL1_CONFIG_CRC_LANE_ID_ON, 2, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x601180aull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x6011803ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x601180aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x6011818ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011818ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0xE00, 8, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x6011818ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011818ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x6011803ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x6011818ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x601180aull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011818ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0000, 32, 16, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0000, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x6011818ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011818ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x6011818ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011818ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 4, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x6011818ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011818ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x601180aull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x6011818ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011818ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x6011818ull, l_scom_buffer); + constexpr auto l_PB_IOE_LL1_CONFIG_LINK_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOE_LL1_CONFIG_LINK_PAIR_ON, 0, 1, 63 ); + constexpr auto l_PB_IOE_LL1_CONFIG_CRC_LANE_ID_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOE_LL1_CONFIG_CRC_LANE_ID_ON, 2, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x601180aull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011818ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x6011819ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011819ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 8, 2, 62 ); - } - - l_rc = fapi2::putScom(TGT0, 0x6011819ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011819ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x601180aull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x6011819ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x6011818ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011819ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0000, 32, 16, 48 ); - l_scom_buffer.insert<uint64_t> (literal_0x0000, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x6011819ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011819ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x6011819ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011819ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 4, 4, 60 ); - } + FAPI_ERR("ERROR executing: getScom (0x6011818ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x6011819ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xE00, 8, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0x0000, 32, 16, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0000, 48, 16, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 4, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x6011818ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011819ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x6011818ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x6011819ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x6011819ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x6011819ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x6011819ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x6011819ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b11, 8, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0x0000, 32, 16, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0000, 48, 16, 48 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 4, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x6011819ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x6011819ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x6011819ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_tl_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_tl_scom.C index cda12c078..94aa6281d 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_tl_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioe_tl_scom.C @@ -30,9 +30,11 @@ using namespace fapi2; constexpr auto literal_0 = 0; +constexpr auto literal_2 = 2; +constexpr auto literal_1 = 1; +constexpr auto literal_0xFFFFFFFFFFFFFFFF = 0xFFFFFFFFFFFFFFFF; constexpr auto literal_0x1 = 0x1; constexpr auto literal_0x20 = 0x20; -constexpr auto literal_1 = 1; constexpr auto literal_12 = 12; constexpr auto literal_8 = 8; constexpr auto literal_10 = 10; @@ -48,8 +50,6 @@ constexpr auto literal_0x1F = 0x1F; constexpr auto literal_0x3E = 0x3E; constexpr auto literal_0x3C = 0x3C; constexpr auto literal_0b0101 = 0b0101; -constexpr auto literal_2 = 2; -constexpr auto literal_0xFFFFFFFFFFFFFFFF = 0xFFFFFFFFFFFFFFFF; fapi2::ReturnCode p9_fbc_ioe_tl_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -85,89 +85,9 @@ fapi2::ReturnCode p9_fbc_ioe_tl_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC break; } + auto l_def_X2_ENABLED = (l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] != literal_0); + auto l_def_X1_ENABLED = (l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] != literal_0); auto l_def_X0_ENABLED = (l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_0] != literal_0); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013423ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013423ull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - constexpr auto l_PB_IOE_SCOM_PB_CFG_IOE01_IS_LOGICAL_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOE_SCOM_PB_CFG_IOE01_IS_LOGICAL_PAIR_ON, 0, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013423ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013423ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340aull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 22, 2, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340aull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x20, 12, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340aull)"); - break; - } - } - } fapi2::ATTR_FREQ_PB_MHZ_Type l_TGT1_ATTR_FREQ_PB_MHZ; l_rc = FAPI_ATTR_GET(fapi2::ATTR_FREQ_PB_MHZ, TGT1, l_TGT1_ATTR_FREQ_PB_MHZ); @@ -198,1061 +118,481 @@ fapi2::ReturnCode p9_fbc_ioe_tl_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC l_TGT1_ATTR_FREQ_PB_MHZ)); auto l_def_X_RATIO_10_13 = ((literal_13 * (l_TGT1_ATTR_FREQ_X_MHZ * literal_8)) >= (literal_10 * l_TGT1_ATTR_FREQ_PB_MHZ)); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340aull)"); - break; - } - - { - if ((l_def_X0_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 4, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 4, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001111, 4, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001110, 4, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001101, 4, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001100, 4, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340aull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013403ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340aull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013403ull)"); + break; + } - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x20, 44, 8, 56 ); - } - } + if (((l_def_X0_ENABLED || l_def_X1_ENABLED) || l_def_X2_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); + } - l_rc = fapi2::putScom(TGT0, 0x501340aull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x5013403ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340aull)"); - break; - } - - { - if ((l_def_X0_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 36, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 36, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001111, 36, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001110, 36, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001101, 36, 8, 56 ); - } - else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001100, 36, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340aull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013403ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013410ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x501340aull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013410ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501340aull)"); + break; + } - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 24, 5, 59 ); - } - } + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 22, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013410ull, l_scom_buffer); + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x20, 12, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013410ull)"); - break; - } + if ((l_def_X0_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013410ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013410ull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3E, 1, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3E, 33, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013410ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013410ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013410ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013410ull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3C, 9, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3C, 41, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013410ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013410ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001111, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013410ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013410ull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3C, 17, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3C, 49, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013410ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013410ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001110, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013424ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013424ull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 0, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 8, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013424ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013424ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001101, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013424ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013424ull)"); - break; - } - - { - if (l_def_X0_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 4, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 12, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b0001100, 4, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013424ull, l_scom_buffer); + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x20, 44, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013424ull)"); - break; - } + if ((l_def_X0_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 36, 8, 56 ); } - } - auto l_def_X1_ENABLED = (l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1] != literal_0); - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013423ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013423ull)"); - break; - } - - { - if (l_def_X1_ENABLED) - { - constexpr auto l_PB_IOE_SCOM_PB_CFG_IOE23_IS_LOGICAL_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOE_SCOM_PB_CFG_IOE23_IS_LOGICAL_PAIR_ON, 1, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013423ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013423ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 36, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x501340bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340bull)"); - break; - } - - { - if (l_def_X1_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 22, 2, 62 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b0001111, 36, 8, 56 ); + } + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001110, 36, 8, 56 ); + } + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001101, 36, 8, 56 ); + } + else if ((l_def_X0_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001100, 36, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x501340bull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x501340aull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340bull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501340aull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340bull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x501340bull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340bull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501340bull)"); + break; + } - { - if (l_def_X1_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x20, 12, 8, 56 ); - } - } + if (l_def_X1_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 22, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x501340bull, l_scom_buffer); + if (l_def_X1_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x20, 12, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340bull)"); - break; - } + if ((l_def_X1_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340bull)"); - break; - } - - { - if ((l_def_X1_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 4, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 4, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001111, 4, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001110, 4, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001101, 4, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001100, 4, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340bull)"); - break; - } + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x501340bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340bull)"); - break; - } - - { - if (l_def_X1_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x20, 44, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340bull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001111, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340bull)"); - break; - } - - { - if ((l_def_X1_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 36, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 36, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001111, 36, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001110, 36, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001101, 36, 8, 56 ); - } - else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001100, 36, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340bull)"); - break; - } + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001110, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013411ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013411ull)"); - break; - } - - { - if (l_def_X1_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 24, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013411ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013411ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001101, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013411ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013411ull)"); - break; - } - - { - if (l_def_X1_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3E, 1, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3E, 33, 7, 57 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b0001100, 4, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013411ull, l_scom_buffer); + if (l_def_X1_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x20, 44, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013411ull)"); - break; - } + if ((l_def_X1_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 36, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013411ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013411ull)"); - break; - } - - { - if (l_def_X1_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3C, 9, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3C, 41, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013411ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013411ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 36, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013411ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013411ull)"); - break; - } - - { - if (l_def_X1_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3C, 17, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3C, 49, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013411ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013411ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001111, 36, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013424ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013424ull)"); - break; - } - - { - if ((( ! l_def_X0_ENABLED) && l_def_X1_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 16, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 24, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013424ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013424ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001110, 36, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013424ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013424ull)"); - break; - } - - { - if ((( ! l_def_X0_ENABLED) && l_def_X1_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 20, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 28, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013424ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013424ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0001101, 36, 8, 56 ); } - } - auto l_def_X2_ENABLED = (l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2] != literal_0); - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X1_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x5013423ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013423ull)"); - break; - } - - { - if (l_def_X2_ENABLED) - { - constexpr auto l_PB_IOE_SCOM_PB_CFG_IOE45_IS_LOGICAL_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOE_SCOM_PB_CFG_IOE45_IS_LOGICAL_PAIR_ON, 2, 1, 63 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b0001100, 36, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013423ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x501340bull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013423ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501340bull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340cull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x501340cull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340cull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501340cull)"); + break; + } - { - if (l_def_X2_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 22, 2, 62 ); - } - } + if (l_def_X2_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 22, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x501340cull, l_scom_buffer); + if (l_def_X2_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x20, 12, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340cull)"); - break; - } + if ((l_def_X2_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 4, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 4, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001111, 4, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x501340cull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0b0001110, 4, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001101, 4, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001100, 4, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340cull)"); - break; - } + if (l_def_X2_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x20, 44, 8, 56 ); + } - { - if (l_def_X2_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x20, 12, 8, 56 ); - } - } + if ((l_def_X2_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 36, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 36, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001111, 36, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001110, 36, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001101, 36, 8, 56 ); + } + else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001100, 36, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x501340cull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x501340cull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340cull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501340cull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340cull)"); - break; - } - - { - if ((l_def_X2_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 4, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 4, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001111, 4, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001110, 4, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001101, 4, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001100, 4, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340cull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013410ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013410ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_X0_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x501340cull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x1F, 24, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340cull)"); - break; - } + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x3E, 1, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3E, 33, 7, 57 ); + } - { - if (l_def_X2_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x20, 44, 8, 56 ); - } - } + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x3C, 9, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3C, 41, 7, 57 ); + } - l_rc = fapi2::putScom(TGT0, 0x501340cull, l_scom_buffer); + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x3C, 17, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3C, 49, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340cull)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x5013410ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013410ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501340cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501340cull)"); - break; - } - - { - if ((l_def_X2_ENABLED && (l_def_X_RATIO_12_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 36, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_11_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 36, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_10 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001111, 36, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_11 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001110, 36, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_12 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001101, 36, 8, 56 ); - } - else if ((l_def_X2_ENABLED && (l_def_X_RATIO_10_13 == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001100, 36, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501340cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501340cull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013411ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013411ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_X1_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 24, 5, 59 ); + } + + if (l_def_X1_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013412ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x3E, 1, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3E, 33, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013412ull)"); - break; - } + if (l_def_X1_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x3C, 9, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3C, 41, 7, 57 ); + } - { - if (l_def_X2_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 24, 5, 59 ); - } - } + if (l_def_X1_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x3C, 17, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3C, 49, 7, 57 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013412ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x5013411ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013412ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013411ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013412ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013412ull)"); - break; - } - - { - if (l_def_X2_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3E, 1, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3E, 33, 7, 57 ); - } - } + l_rc = fapi2::getScom( TGT0, 0x5013412ull, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x5013412ull, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013412ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013412ull)"); - break; - } + if (l_def_X2_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 24, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_X2_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013412ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x3E, 1, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3E, 33, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013412ull)"); - break; - } + if (l_def_X2_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x3C, 9, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3C, 41, 7, 57 ); + } - { - if (l_def_X2_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3C, 9, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3C, 41, 7, 57 ); - } - } + if (l_def_X2_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0x3C, 17, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0x3C, 49, 7, 57 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013412ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x5013412ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013412ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013412ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x5013423ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013412ull, l_scom_buffer ); + FAPI_ERR("ERROR executing: getScom (0x5013423ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013412ull)"); - break; - } + if (l_def_X0_ENABLED) + { + constexpr auto l_PB_IOE_SCOM_PB_CFG_IOE01_IS_LOGICAL_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOE_SCOM_PB_CFG_IOE01_IS_LOGICAL_PAIR_ON, 0, 1, 63 ); + } - { - if (l_def_X2_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0x3C, 17, 7, 57 ); - l_scom_buffer.insert<uint64_t> (literal_0x3C, 49, 7, 57 ); - } - } + if (l_def_X1_ENABLED) + { + constexpr auto l_PB_IOE_SCOM_PB_CFG_IOE23_IS_LOGICAL_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOE_SCOM_PB_CFG_IOE23_IS_LOGICAL_PAIR_ON, 1, 1, 63 ); + } + + if (l_def_X2_ENABLED) + { + constexpr auto l_PB_IOE_SCOM_PB_CFG_IOE45_IS_LOGICAL_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOE_SCOM_PB_CFG_IOE45_IS_LOGICAL_PAIR_ON, 2, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013412ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x5013423ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013412ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013423ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013424ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013424ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013424ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013424ull)"); + break; + } - { - if (((( ! l_def_X0_ENABLED) && ( ! l_def_X1_ENABLED)) && l_def_X2_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 32, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 40, 4, 60 ); - } - } + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 8, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013424ull, l_scom_buffer); + if (l_def_X0_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 4, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 12, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013424ull)"); - break; - } + if ((( ! l_def_X0_ENABLED) && l_def_X1_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 16, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 24, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if ((( ! l_def_X0_ENABLED) && l_def_X1_ENABLED)) { - l_rc = fapi2::getScom( TGT0, 0x5013424ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 20, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 28, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013424ull)"); - break; - } + if (((( ! l_def_X0_ENABLED) && ( ! l_def_X1_ENABLED)) && l_def_X2_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 32, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 40, 4, 60 ); + } - { - if (((( ! l_def_X0_ENABLED) && ( ! l_def_X1_ENABLED)) && l_def_X2_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 36, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 44, 4, 60 ); - } - } + if (((( ! l_def_X0_ENABLED) && ( ! l_def_X1_ENABLED)) && l_def_X2_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 36, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 44, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013424ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x5013424ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013424ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013403ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013403ull)"); - break; - } - - { - if (((l_def_X0_ENABLED || l_def_X1_ENABLED) || l_def_X2_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013403ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013403ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013424ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_dl_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_dl_scom.C index b909f1e6c..51485d221 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_dl_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_dl_scom.C @@ -47,59 +47,50 @@ fapi2::ReturnCode p9_fbc_ioo_dl_scom(const fapi2::Target<fapi2::TARGET_TYPE_OBUS } auto l_def_OBUS_FBC_ENABLED = (l_TGT0_ATTR_OPTICS_CONFIG_MODE == ENUM_ATTR_OPTICS_CONFIG_MODE_SMP); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x9010803ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x9010803ull)"); + break; + } + + if (l_def_OBUS_FBC_ENABLED) + { + l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); + } + + l_rc = fapi2::putScom(TGT0, 0x9010803ull, l_scom_buffer); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x901080aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x901080aull)"); - break; - } - - { - if (l_def_OBUS_FBC_ENABLED) - { - constexpr auto l_PB_IOO_LL0_CONFIG_LINK_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOO_LL0_CONFIG_LINK_PAIR_ON, 0, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x901080aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x901080aull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x9010803ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x901080aull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x901080aull)"); + break; + } + + if (l_def_OBUS_FBC_ENABLED) + { + constexpr auto l_PB_IOO_LL0_CONFIG_LINK_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOO_LL0_CONFIG_LINK_PAIR_ON, 0, 1, 63 ); + } + + l_rc = fapi2::putScom(TGT0, 0x901080aull, l_scom_buffer); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x9010803ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x9010803ull)"); - break; - } - - { - if (l_def_OBUS_FBC_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x9010803ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x9010803ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x901080aull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_tl_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_tl_scom.C index da443b3a3..d5a07ef8f 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_tl_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_ioo_tl_scom.C @@ -31,13 +31,13 @@ using namespace fapi2; constexpr auto literal_0 = 0; constexpr auto literal_3 = 3; -constexpr auto literal_0b0101 = 0b0101; -constexpr auto literal_1 = 1; -constexpr auto literal_4 = 4; +constexpr auto literal_6 = 6; constexpr auto literal_2 = 2; constexpr auto literal_5 = 5; -constexpr auto literal_6 = 6; +constexpr auto literal_1 = 1; +constexpr auto literal_4 = 4; constexpr auto literal_0xFFFFFFFFFFFFFFFF = 0xFFFFFFFFFFFFFFFF; +constexpr auto literal_0b0101 = 0b0101; fapi2::ReturnCode p9_fbc_ioo_tl_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0) { @@ -81,377 +81,143 @@ fapi2::ReturnCode p9_fbc_ioo_tl_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC break; } + auto l_def_OBUS3_FBC_ENABLED = ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] != literal_0) + || (l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] != literal_0)); + auto l_def_OBUS2_FBC_ENABLED = ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] != literal_0) + || (l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] != literal_0)); + auto l_def_OBUS1_FBC_ENABLED = ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] != literal_0) + || (l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] != literal_0)); auto l_def_OBUS0_FBC_ENABLED = ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3] != literal_0) || (l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_0] != literal_0)); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x5013803ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013823ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013823ull)"); - break; - } - - { - if (l_def_OBUS0_FBC_ENABLED) - { - constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO01_IS_LOGICAL_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO01_IS_LOGICAL_PAIR_ON, 0, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013823ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013823ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5013803ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if ((((l_def_OBUS0_FBC_ENABLED || l_def_OBUS1_FBC_ENABLED) || l_def_OBUS2_FBC_ENABLED) || l_def_OBUS3_FBC_ENABLED)) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if (l_def_OBUS0_FBC_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 0, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 8, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + l_rc = fapi2::putScom(TGT0, 0x5013803ull, l_scom_buffer); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if (l_def_OBUS0_FBC_ENABLED) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 4, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 12, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5013803ull)"); + break; } } - auto l_def_OBUS1_FBC_ENABLED = ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4] != literal_0) - || (l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_1] != literal_0)); { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x5013823ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013823ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013823ull)"); - break; - } - - { - if (l_def_OBUS1_FBC_ENABLED) - { - constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO23_IS_LOGICAL_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO23_IS_LOGICAL_PAIR_ON, 1, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013823ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013823ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5013823ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_OBUS0_FBC_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if ((( ! l_def_OBUS0_FBC_ENABLED) && l_def_OBUS1_FBC_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 16, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 24, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO01_IS_LOGICAL_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO01_IS_LOGICAL_PAIR_ON, 0, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_OBUS1_FBC_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if ((( ! l_def_OBUS0_FBC_ENABLED) && l_def_OBUS1_FBC_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 20, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 28, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO23_IS_LOGICAL_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO23_IS_LOGICAL_PAIR_ON, 1, 1, 63 ); } - } - auto l_def_OBUS2_FBC_ENABLED = ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5] != literal_0) - || (l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_2] != literal_0)); - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_OBUS2_FBC_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013823ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013823ull)"); - break; - } - - { - if (l_def_OBUS2_FBC_ENABLED) - { - constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO45_IS_LOGICAL_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO45_IS_LOGICAL_PAIR_ON, 2, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013823ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013823ull)"); - break; - } + constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO45_IS_LOGICAL_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO45_IS_LOGICAL_PAIR_ON, 2, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_OBUS3_FBC_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if (((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && l_def_OBUS2_FBC_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 32, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 40, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO67_IS_LOGICAL_PAIR_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO67_IS_LOGICAL_PAIR_ON, 3, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + l_rc = fapi2::putScom(TGT0, 0x5013823ull, l_scom_buffer); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if (((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && l_def_OBUS2_FBC_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 36, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 44, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5013823ull)"); + break; } } - auto l_def_OBUS3_FBC_ENABLED = ((l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6] != literal_0) - || (l_TGT0_ATTR_PROC_FABRIC_A_ATTACHED_CHIP_CNFG[literal_3] != literal_0)); { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013823ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013823ull)"); - break; - } - - { - if (l_def_OBUS3_FBC_ENABLED) - { - constexpr auto l_PB_IOO_SCOM_PB_CFG_IOO67_IS_LOGICAL_PAIR_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_PB_IOO_SCOM_PB_CFG_IOO67_IS_LOGICAL_PAIR_ON, 3, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013823ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013823ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_OBUS0_FBC_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if ((((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && ( ! l_def_OBUS2_FBC_ENABLED)) - && l_def_OBUS3_FBC_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 48, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 56, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0101, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 8, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if (l_def_OBUS0_FBC_ENABLED) { - l_rc = fapi2::getScom( TGT0, 0x5013824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013824ull)"); - break; - } - - { - if ((((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && ( ! l_def_OBUS2_FBC_ENABLED)) - && l_def_OBUS3_FBC_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0b0101, 52, 4, 60 ); - l_scom_buffer.insert<uint64_t> (literal_0b0101, 60, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0101, 4, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 12, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + + if ((( ! l_def_OBUS0_FBC_ENABLED) && l_def_OBUS1_FBC_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 16, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 24, 4, 60 ); + } + + if ((( ! l_def_OBUS0_FBC_ENABLED) && l_def_OBUS1_FBC_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 20, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 28, 4, 60 ); + } + + if (((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && l_def_OBUS2_FBC_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 32, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 40, 4, 60 ); + } + + if (((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && l_def_OBUS2_FBC_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 36, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 44, 4, 60 ); + } + + if ((((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && ( ! l_def_OBUS2_FBC_ENABLED)) + && l_def_OBUS3_FBC_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 56, 4, 60 ); + } + + if ((((( ! l_def_OBUS0_FBC_ENABLED) && ( ! l_def_OBUS1_FBC_ENABLED)) && ( ! l_def_OBUS2_FBC_ENABLED)) + && l_def_OBUS3_FBC_ENABLED)) + { + l_scom_buffer.insert<uint64_t> (literal_0b0101, 52, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b0101, 60, 4, 60 ); + } + + l_rc = fapi2::putScom(TGT0, 0x5013824ull, l_scom_buffer); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013803ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013803ull)"); - break; - } - - { - if ((((l_def_OBUS0_FBC_ENABLED || l_def_OBUS1_FBC_ENABLED) || l_def_OBUS2_FBC_ENABLED) || l_def_OBUS3_FBC_ENABLED)) - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFFFFFFFFFFFFFF, 0, 64, 0 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5013803ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013803ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5013824ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_no_hp_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_no_hp_scom.C index 2cf6f360c..a3511a056 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_no_hp_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_fbc_no_hp_scom.C @@ -126,2888 +126,1690 @@ fapi2::ReturnCode p9_fbc_no_hp_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_1]) + l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_2]) + l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_3]) + l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_4]) + l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_5]) + l_TGT0_ATTR_PROC_FABRIC_X_ATTACHED_CHIP_CNFG[literal_6]); + fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180aull)"); - break; - } - - { - if (((l_def_NUM_X_LINKS_CFG == literal_0) && (l_def_NUM_A_LINKS_CFG == literal_0))) - { - constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON, 4, 1, 61 ); - } - else if (((l_def_NUM_X_LINKS_CFG != literal_0) || (l_def_NUM_A_LINKS_CFG != literal_0))) - { - constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF, 4, 1, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501180aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180aull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5011c0aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0aull)"); - break; - } - - { - if (((l_def_NUM_X_LINKS_CFG == literal_0) && (l_def_NUM_A_LINKS_CFG == literal_0))) - { - constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON, 4, 1, 62 ); - } - else if (((l_def_NUM_X_LINKS_CFG != literal_0) || (l_def_NUM_A_LINKS_CFG != literal_0))) - { - constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF, 4, 1, 62 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c0aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0aull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x501200aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200aull)"); - break; - } - - { - if (((l_def_NUM_X_LINKS_CFG == literal_0) && (l_def_NUM_A_LINKS_CFG == literal_0))) - { - constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON = 0x7; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON, 4, 1, 63 ); - } - else if (((l_def_NUM_X_LINKS_CFG != literal_0) || (l_def_NUM_A_LINKS_CFG != literal_0))) - { - constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF, 4, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501200aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200aull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_PUMP_MODE)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180aull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180aull)"); - break; - } - - { - constexpr auto l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64 = 0x102040; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64, 16, 7, 43 ); - } + fapi2::buffer<uint64_t> l_scom_buffer; + { + l_rc = fapi2::getScom( TGT0, 0x501180aull, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x501180aull, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501180aull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180aull)"); - break; - } + if (((l_def_NUM_X_LINKS_CFG == literal_0) && (l_def_NUM_A_LINKS_CFG == literal_0))) + { + constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON, 4, 1, 61 ); } + else if (((l_def_NUM_X_LINKS_CFG != literal_0) || (l_def_NUM_A_LINKS_CFG != literal_0))) { - l_rc = fapi2::getScom( TGT0, 0x5011c0aull, l_scom_buffer ); + constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF, 4, 1, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0aull)"); - break; - } + constexpr auto l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64 = 0x102040; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64, 16, 7, 43 ); + constexpr auto l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64 = 0x102040; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64, 23, 7, 43 ); + constexpr auto l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42 = 0x2aaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42, 30, 6, 46 ); + l_rc = fapi2::putScom(TGT0, 0x501180aull, l_scom_buffer); - { - constexpr auto l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64 = 0x102040; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64, 16, 7, 50 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501180aull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011c0aull, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x5011c0aull, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c0aull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0aull)"); - break; - } + if (((l_def_NUM_X_LINKS_CFG == literal_0) && (l_def_NUM_A_LINKS_CFG == literal_0))) + { + constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON, 4, 1, 62 ); } + else if (((l_def_NUM_X_LINKS_CFG != literal_0) || (l_def_NUM_A_LINKS_CFG != literal_0))) { - l_rc = fapi2::getScom( TGT0, 0x501200aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200aull)"); - break; - } - - { - constexpr auto l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64 = 0x102040; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64, 16, 7, 57 ); - } + constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF, 4, 1, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x501200aull, l_scom_buffer); + constexpr auto l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64 = 0x102040; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64, 16, 7, 50 ); + constexpr auto l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64 = 0x102040; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64, 23, 7, 50 ); + constexpr auto l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42 = 0x2aaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42, 30, 6, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011c0aull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200aull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c0aull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180aull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - { - constexpr auto l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64 = 0x102040; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64, 23, 7, 43 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x501180aull, l_scom_buffer); + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) { - l_rc = fapi2::getScom( TGT0, 0x5011c0aull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 8, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); + } - { - constexpr auto l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64 = 0x102040; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64, 23, 7, 50 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 24, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x5011c0aull, l_scom_buffer); + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 32, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) { - l_rc = fapi2::getScom( TGT0, 0x501200aull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 40, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 48, 8, 56 ); + } - { - constexpr auto l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64 = 0x102040; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64, 23, 7, 57 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 56, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x501200aull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200aull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501180aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501180aull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - { - constexpr auto l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42 = 0x2aaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42, 30, 6, 46 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x501180aull, l_scom_buffer); + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 0, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501180aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) { - l_rc = fapi2::getScom( TGT0, 0x5011c0aull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 8, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c0aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 16, 8, 56 ); + } - { - constexpr auto l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42 = 0x2aaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42, 30, 6, 52 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 24, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x5011c0aull, l_scom_buffer); + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 32, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c0aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) { - l_rc = fapi2::getScom( TGT0, 0x501200aull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x5, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xA, 40, 8, 56 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501200aull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 48, 8, 56 ); + } - { - constexpr auto l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42 = 0x2aaaa; - l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42, 30, 6, 58 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 56, 8, 56 ); + } - l_rc = fapi2::putScom(TGT0, 0x501200aull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501200aull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); + break; } } - fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_PUMP_MODE)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 8, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 24, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 32, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 0, 8, 56 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 40, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 0, 8, 56 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 48, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c26ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c26ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c26ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c26ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 0, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 8, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 16, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 24, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 32, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xA, 40, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x27, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x27, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2F, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 48, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c27ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c27ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c27ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c27ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 0, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 8, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 16, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x8, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 24, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0xA, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 32, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0xA, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1E, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1A, 40, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x15, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x27, 48, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c28ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c28ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x27, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x27, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2F, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c28ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c28ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2F, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2B, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4F, 56, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 0, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 8, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 16, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x8, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 0, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x8, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 24, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xA, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 8, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0xA, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 32, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xA, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 16, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0xA, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1E, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1A, 40, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xE, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xC, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 24, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x15, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x27, 48, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x11, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 32, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c29ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c29ull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2F, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2B, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4F, 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c29ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c29ull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x15, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1A, 40, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x8, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 0, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x23, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x27, 48, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xA, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 8, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x27, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x47, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3F, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4F, 56, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xA, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 16, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xE, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xC, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 24, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x11, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 32, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 0, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x15, 0, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x15, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1A, 40, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 8, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x19, 8, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x23, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x27, 48, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 16, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1D, 16, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2aull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x27, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x47, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3F, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4F, 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2aull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x6, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x9, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 24, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x23, 24, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 0, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 0, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x15, 0, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x7, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0xB, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x13, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 32, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2B, 32, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 8, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 8, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x19, 8, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xA, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1A, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 40, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x3A, 40, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 16, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 16, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1D, 16, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0xF, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x17, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x27, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2F, 48, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0x57, 48, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x6, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x9, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 24, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 24, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x23, 24, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x1F, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) + { + l_scom_buffer.insert<uint64_t> (literal_0x2F, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x4F, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG == literal_0))) + { + l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); + } + else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_0x5F, 56, 8, 56 ); + } + else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) + && (l_def_NUM_X_LINKS_CFG > literal_2))) + { + l_scom_buffer.insert<uint64_t> (literal_0xAF, 56, 8, 56 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x7, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0xB, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x13, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0xD, 32, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 32, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2B, 32, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xA, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1A, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x12, 40, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 40, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x3A, 40, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x501200aull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501200aull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0xF, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x17, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x27, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1B, 48, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2F, 48, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0x57, 48, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + if (((l_def_NUM_X_LINKS_CFG == literal_0) && (l_def_NUM_A_LINKS_CFG == literal_0))) + { + constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON = 0x7; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_ON, 4, 1, 63 ); + } + else if (((l_def_NUM_X_LINKS_CFG != literal_0) || (l_def_NUM_A_LINKS_CFG != literal_0))) + { + constexpr auto l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_CHIP_IS_SYSTEM_OFF, 4, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011c2bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011c2bull)"); - break; - } - - { - if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x1F, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2)) && (l_def_NUM_X_LINKS_CFG < literal_4))) - { - l_scom_buffer.insert<uint64_t> (literal_0x2F, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x4F, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG == literal_0))) - { - l_scom_buffer.insert<uint64_t> (literal_0x37, 56, 8, 56 ); - } - else if ((((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_0)) && (l_def_NUM_X_LINKS_CFG < literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_0x5F, 56, 8, 56 ); - } - else if (((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE != fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP) - && (l_def_NUM_X_LINKS_CFG > literal_2))) - { - l_scom_buffer.insert<uint64_t> (literal_0xAF, 56, 8, 56 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5011c2bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011c2bull)"); - break; - } + constexpr auto l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64 = 0x102040; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_SP_HW_MARK_CNT_64, 16, 7, 57 ); + constexpr auto l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64 = 0x102040; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_GP_HW_MARK_CNT_64, 23, 7, 57 ); + constexpr auto l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42 = 0x2aaaa; + l_scom_buffer.insert<uint64_t> (l_PB_COM_PB_CFG_LCL_HW_MARK_CNT_42, 30, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x501200aull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501200aull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_int_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_int_scom.C index 34510ba96..2d18dc17e 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_int_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_int_scom.C @@ -29,8 +29,13 @@ using namespace fapi2; -constexpr auto literal_0b00 = 0b00; +constexpr auto literal_1 = 1; +constexpr auto literal_0 = 0; constexpr auto literal_0x0070000072040140 = 0x0070000072040140; +constexpr auto literal_0x0000004000028000 = 0x0000004000028000; +constexpr auto literal_0x00000000040101C3 = 0x00000000040101C3; +constexpr auto literal_0x9554021F80100E0C = 0x9554021F80100E0C; +constexpr auto literal_0b00 = 0b00; constexpr auto literal_0x010003FF00100020 = 0x010003FF00100020; constexpr auto literal_0xD8DFB200FFAFFFD7 = 0xD8DFB200FFAFFFD7; constexpr auto literal_0x0008002000002002 = 0x0008002000002002; @@ -41,11 +46,6 @@ constexpr auto literal_0x00001003000002 = 0x00001003000002; constexpr auto literal_0xFFFFEFFCFFFFFC = 0xFFFFEFFCFFFFFC; constexpr auto literal_0x0003C018006 = 0x0003C018006; constexpr auto literal_0xFFFDFFEFFFA = 0xFFFDFFEFFFA; -constexpr auto literal_0x0000004000028000 = 0x0000004000028000; -constexpr auto literal_0x00000000040101C3 = 0x00000000040101C3; -constexpr auto literal_0x9554021F80100E0C = 0x9554021F80100E0C; -constexpr auto literal_1 = 1; -constexpr auto literal_0 = 0; fapi2::ReturnCode p9_int_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -72,486 +72,347 @@ fapi2::ReturnCode p9_int_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013124ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013124ull)"); - break; - } + fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE); - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 28, 2, 62 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ADDR_BAR_MODE)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013124ull, l_scom_buffer); + fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013124ull)"); - break; - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_PUMP_MODE)"); + break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x501300aull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5013022ull, l_scom_buffer ); + FAPI_ERR("ERROR executing: getScom (0x501300aull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013022ull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) + { + l_scom_buffer.insert<uint64_t> (literal_1, 0, 1, 63 ); + } + else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) + { + l_scom_buffer.insert<uint64_t> (literal_0, 0, 1, 63 ); + } - { - l_scom_buffer.insert<uint64_t> (literal_0x0070000072040140, 0, 64, 0 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + l_scom_buffer.insert<uint64_t> (literal_1, 1, 1, 63 ); + } + else if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_NODE)) + { + l_scom_buffer.insert<uint64_t> (literal_0, 1, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x5013022ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x501300aull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013022ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501300aull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501322dull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013022ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501322dull)"); - break; - } - - { - constexpr auto l_INT_INT_VC_INT_VC_AIB_TX_ORDERING_TAG_2_RELAXED_WR_ORDERING_DMA_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_INT_INT_VC_INT_VC_AIB_TX_ORDERING_TAG_2_RELAXED_WR_ORDERING_DMA_OFF, 22, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013022ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x501322dull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0070000072040140, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013022ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501322dull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013022ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013140ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013140ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013033ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x010003FF00100020, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013033ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013140ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0000004000028000, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013033ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013140ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013033ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013141ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013036ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013141ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0xD8DFB200FFAFFFD7, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013036ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013141ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x00000000040101C3, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013036ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013141ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013036ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013148ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013148ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013037ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0008002000002002, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013037ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013148ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x9554021F80100E0C, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013037ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013148ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013037ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013149ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013149ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013124ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0xEF6437D2DE7DD3FD, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013124ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013149ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00, 28, 2, 62 ); + l_rc = fapi2::putScom(TGT0, 0x5013124ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013149ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013124ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013178ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013140ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013178ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0002000410000000, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013140ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013178ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x010003FF00100020, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013140ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013178ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013140ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013179ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013179ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013141ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x7710CCC3E0000701, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013141ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013179ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xD8DFB200FFAFFFD7, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013141ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013179ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013141ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013270ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013148ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013270ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x00001003000002, 0, 56, 8 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013148ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013270ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0008002000002002, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013148ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013270ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013148ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013271ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013271ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013149ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFFEFFCFFFFFC, 0, 56, 8 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013149ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013271ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xEF6437D2DE7DD3FD, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013149ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013271ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013149ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013272ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013178ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013272ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0003C018006, 0, 44, 20 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013178ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013272ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0002000410000000, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013178ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013272ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013178ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013273ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013179ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013273ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0xFFFDFFEFFFA, 0, 44, 20 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013179ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013273ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x7710CCC3E0000701, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5013179ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013273ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013179ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013033ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013033ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x501322dull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0000004000028000, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501322dull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013033ull, l_scom_buffer); + constexpr auto l_INT_INT_VC_INT_VC_AIB_TX_ORDERING_TAG_2_RELAXED_WR_ORDERING_DMA_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_INT_INT_VC_INT_VC_AIB_TX_ORDERING_TAG_2_RELAXED_WR_ORDERING_DMA_OFF, 22, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x501322dull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013033ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501322dull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013036ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5013270ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013036ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x00000000040101C3, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013270ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013036ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x00001003000002, 0, 56, 8 ); + l_rc = fapi2::putScom(TGT0, 0x5013270ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013036ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013270ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5013037ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5013037ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5013271ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x9554021F80100E0C, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013271ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5013037ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xFFFFEFFCFFFFFC, 0, 56, 8 ); + l_rc = fapi2::putScom(TGT0, 0x5013271ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5013037ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013271ull)"); + break; } } + { + l_rc = fapi2::getScom( TGT0, 0x5013272ull, l_scom_buffer ); - fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013272ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ADDR_BAR_MODE)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0x0003C018006, 0, 44, 20 ); + l_rc = fapi2::putScom(TGT0, 0x5013272ull, l_scom_buffer); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501300aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501300aull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - l_scom_buffer.insert<uint64_t> (literal_1, 0, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) - { - l_scom_buffer.insert<uint64_t> (literal_0, 0, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501300aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501300aull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013272ull)"); + break; } } + { + l_rc = fapi2::getScom( TGT0, 0x5013273ull, l_scom_buffer ); - fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5013273ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_PUMP_MODE)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0xFFFDFFEFFFA, 0, 44, 20 ); + l_rc = fapi2::putScom(TGT0, 0x5013273ull, l_scom_buffer); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x501300aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501300aull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - l_scom_buffer.insert<uint64_t> (literal_1, 1, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_NODE)) - { - l_scom_buffer.insert<uint64_t> (literal_0, 1, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x501300aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501300aull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5013273ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_mca_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_mca_scom.C index a64075799..8ba0c0dab 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_mca_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_mca_scom.C @@ -29,32 +29,30 @@ using namespace fapi2; -constexpr auto literal_267 = 267; -constexpr auto literal_1866 = 1866; +constexpr auto literal_0b0100 = 0b0100; +constexpr auto literal_0b11100 = 0b11100; +constexpr auto literal_0b110 = 0b110; +constexpr auto literal_0x1 = 0x1; constexpr auto literal_4 = 4; -constexpr auto literal_2 = 2; constexpr auto literal_1 = 1; -constexpr auto literal_1867 = 1867; -constexpr auto literal_8 = 8; -constexpr auto literal_2134 = 2134; -constexpr auto literal_9 = 9; -constexpr auto literal_2401 = 2401; -constexpr auto literal_10 = 10; -constexpr auto literal_2667 = 2667; -constexpr auto literal_11 = 11; constexpr auto literal_17 = 17; constexpr auto literal_0 = 0; +constexpr auto literal_2 = 2; constexpr auto literal_13 = 13; +constexpr auto literal_1867 = 1867; constexpr auto literal_19 = 19; constexpr auto literal_14 = 14; constexpr auto literal_20 = 20; constexpr auto literal_15 = 15; +constexpr auto literal_2134 = 2134; constexpr auto literal_21 = 21; constexpr auto literal_16 = 16; constexpr auto literal_22 = 22; +constexpr auto literal_2401 = 2401; constexpr auto literal_23 = 23; constexpr auto literal_18 = 18; constexpr auto literal_24 = 24; +constexpr auto literal_2667 = 2667; constexpr auto literal_25 = 25; constexpr auto literal_26 = 26; constexpr auto literal_3 = 3; @@ -63,23 +61,25 @@ constexpr auto literal_28 = 28; constexpr auto literal_5 = 5; constexpr auto literal_6 = 6; constexpr auto literal_7 = 7; +constexpr auto literal_8 = 8; +constexpr auto literal_9 = 9; +constexpr auto literal_10 = 10; +constexpr auto literal_11 = 11; constexpr auto literal_12 = 12; -constexpr auto literal_597 = 597; -constexpr auto literal_768 = 768; -constexpr auto literal_939 = 939; +constexpr auto literal_267 = 267; +constexpr auto literal_1866 = 1866; +constexpr auto literal_0b011000 = 0b011000; constexpr auto literal_0b000 = 0b000; constexpr auto literal_0b100 = 0b100; constexpr auto literal_0b010 = 0b010; -constexpr auto literal_0b110 = 0b110; constexpr auto literal_0x0 = 0x0; constexpr auto literal_0b001 = 0b001; constexpr auto literal_0b101 = 0b101; constexpr auto literal_0b011 = 0b011; constexpr auto literal_0b111 = 0b111; -constexpr auto literal_0x1 = 0x1; -constexpr auto literal_0b0100 = 0b0100; -constexpr auto literal_0b11100 = 0b11100; -constexpr auto literal_0b011000 = 0b011000; +constexpr auto literal_597 = 597; +constexpr auto literal_768 = 768; +constexpr auto literal_939 = 939; fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_MCBIST>& TGT1, const fapi2::Target<fapi2::TARGET_TYPE_MCS>& TGT2, @@ -89,238 +89,64 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, do { - fapi2::ATTR_MSS_FREQ_Type l_TGT1_ATTR_MSS_FREQ; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_MSS_FREQ, TGT1, l_TGT1_ATTR_MSS_FREQ); + fapi2::ATTR_PROC_EPS_READ_CYCLES_T0_Type l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T0; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T0, TGT3, l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T0); if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_MSS_FREQ)"); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T0)"); break; } - auto l_def_RANK_SWITCH_TCK = (literal_4 + ((l_TGT1_ATTR_MSS_FREQ - literal_1866) / literal_267)); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((literal_4 + l_def_RANK_SWITCH_TCK), 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_4, 4, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_4, 8, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TCCD_L_Type l_TGT2_ATTR_EFF_DRAM_TCCD_L; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TCCD_L, TGT2, l_TGT2_ATTR_EFF_DRAM_TCCD_L); + fapi2::ATTR_PROC_EPS_READ_CYCLES_T1_Type l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T1, TGT3, l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1); if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_DRAM_TCCD_L)"); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T1)"); break; } - fapi2::ATTR_CHIP_UNIT_POS_Type l_TGT0_ATTR_CHIP_UNIT_POS; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_CHIP_UNIT_POS, TGT0, l_TGT0_ATTR_CHIP_UNIT_POS); + fapi2::ATTR_PROC_EPS_READ_CYCLES_T2_Type l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T2, TGT3, l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2); if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_CHIP_UNIT_POS)"); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T2)"); break; } - auto l_def_POSITION = l_TGT0_ATTR_CHIP_UNIT_POS; - auto l_def_PORT_INDEX = (l_def_POSITION % literal_2); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TCCD_L[l_def_PORT_INDEX], 12, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); + fapi2::ATTR_IS_SIMULATION_Type l_TGT3_ATTR_IS_SIMULATION; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT3, l_TGT3_ATTR_IS_SIMULATION); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((literal_4 + l_def_RANK_SWITCH_TCK), 16, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_4, 20, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); + auto l_def_IS_SIM = (l_TGT3_ATTR_IS_SIMULATION == literal_1); + auto l_def_IS_HW = (l_TGT3_ATTR_IS_SIMULATION == literal_0); + fapi2::ATTR_EFF_DIMM_TYPE_Type l_TGT2_ATTR_EFF_DIMM_TYPE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DIMM_TYPE, TGT2, l_TGT2_ATTR_EFF_DIMM_TYPE); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_4, 24, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_DIMM_TYPE)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TCCD_L[l_def_PORT_INDEX], 28, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_CWL_Type l_TGT2_ATTR_EFF_DRAM_CWL; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_CWL, TGT2, l_TGT2_ATTR_EFF_DRAM_CWL); + fapi2::ATTR_CHIP_UNIT_POS_Type l_TGT0_ATTR_CHIP_UNIT_POS; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_CHIP_UNIT_POS, TGT0, l_TGT0_ATTR_CHIP_UNIT_POS); if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_DRAM_CWL)"); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_CHIP_UNIT_POS)"); break; } - auto l_def_BUS_TURNAROUND_TCK = (literal_4 + ((l_TGT1_ATTR_MSS_FREQ - literal_1866) / literal_267)); + auto l_def_POSITION = l_TGT0_ATTR_CHIP_UNIT_POS; + auto l_def_PORT_INDEX = (l_def_POSITION % literal_2); fapi2::ATTR_EFF_DRAM_CL_Type l_TGT2_ATTR_EFF_DRAM_CL; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_CL, TGT2, l_TGT2_ATTR_EFF_DRAM_CL); @@ -330,110 +156,49 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - - l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX]), 32, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } + fapi2::ATTR_MSS_FREQ_Type l_TGT1_ATTR_MSS_FREQ; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_MSS_FREQ, TGT1, l_TGT1_ATTR_MSS_FREQ); + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - - l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX]), 37, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_MSS_FREQ)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - - l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX]), 42, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } + auto l_def_MSS_FREQ_EQ_1866 = (l_TGT1_ATTR_MSS_FREQ < literal_1867); + auto l_def_MEM_TYPE_1866_13 = (l_def_MSS_FREQ_EQ_1866 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_13)); + auto l_def_MEM_TYPE_1866_14 = (l_def_MSS_FREQ_EQ_1866 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_14)); + auto l_def_MSS_FREQ_EQ_2133 = ((l_TGT1_ATTR_MSS_FREQ >= literal_1867) && (l_TGT1_ATTR_MSS_FREQ < literal_2134)); + auto l_def_MEM_TYPE_2133_15 = (l_def_MSS_FREQ_EQ_2133 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_15)); + auto l_def_MEM_TYPE_2133_16 = (l_def_MSS_FREQ_EQ_2133 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_16)); + auto l_def_MSS_FREQ_EQ_2400 = ((l_TGT1_ATTR_MSS_FREQ >= literal_2134) && (l_TGT1_ATTR_MSS_FREQ < literal_2401)); + auto l_def_MEM_TYPE_2400_16 = (l_def_MSS_FREQ_EQ_2400 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_16)); + auto l_def_MEM_TYPE_2400_17 = (l_def_MSS_FREQ_EQ_2400 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_17)); + auto l_def_MEM_TYPE_2400_18 = (l_def_MSS_FREQ_EQ_2400 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_18)); + auto l_def_MSS_FREQ_EQ_2667 = (l_TGT1_ATTR_MSS_FREQ >= literal_2667); + auto l_def_MEM_TYPE_2667_18 = (l_def_MSS_FREQ_EQ_2667 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_18)); + auto l_def_MEM_TYPE_2667_19 = (l_def_MSS_FREQ_EQ_2667 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_19)); + auto l_def_MEM_TYPE_2667_20 = (l_def_MSS_FREQ_EQ_2667 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_20)); + auto l_def_RANK_SWITCH_TCK = (literal_4 + ((l_TGT1_ATTR_MSS_FREQ - literal_1866) / literal_267)); + fapi2::ATTR_EFF_DRAM_TCCD_L_Type l_TGT2_ATTR_EFF_DRAM_TCCD_L; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TCCD_L, TGT2, l_TGT2_ATTR_EFF_DRAM_TCCD_L); + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - - l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX]), 47, 4, 60 ); - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_DRAM_TCCD_L)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); + fapi2::ATTR_EFF_DRAM_CWL_Type l_TGT2_ATTR_EFF_DRAM_CWL; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_CWL, TGT2, l_TGT2_ATTR_EFF_DRAM_CWL); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_DRAM_CWL)"); + break; } + auto l_def_BUS_TURNAROUND_TCK = (literal_4 + ((l_TGT1_ATTR_MSS_FREQ - literal_1866) / literal_267)); fapi2::ATTR_EFF_DRAM_TWTR_S_Type l_TGT2_ATTR_EFF_DRAM_TWTR_S; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TWTR_S, TGT2, l_TGT2_ATTR_EFF_DRAM_TWTR_S); @@ -443,83 +208,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + - l_TGT2_ATTR_EFF_DRAM_TWTR_S[l_def_PORT_INDEX]), 51, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090bull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + - l_TGT2_ATTR_EFF_DRAM_TWTR_S[l_def_PORT_INDEX]), 57, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090bull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TCCD_L[l_def_PORT_INDEX], 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TWTR_L_Type l_TGT2_ATTR_EFF_DRAM_TWTR_L; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TWTR_L, TGT2, l_TGT2_ATTR_EFF_DRAM_TWTR_L); @@ -529,32 +217,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + - l_TGT2_ATTR_EFF_DRAM_TWTR_L[l_def_PORT_INDEX]), 4, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TFAW_Type l_TGT2_ATTR_EFF_DRAM_TFAW; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TFAW, TGT2, l_TGT2_ATTR_EFF_DRAM_TFAW); @@ -564,31 +226,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TFAW[l_def_PORT_INDEX], 10, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TRCD_Type l_TGT2_ATTR_EFF_DRAM_TRCD; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRCD, TGT2, l_TGT2_ATTR_EFF_DRAM_TRCD); @@ -598,31 +235,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRCD[l_def_PORT_INDEX], 16, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TRP_Type l_TGT2_ATTR_EFF_DRAM_TRP; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRP, TGT2, l_TGT2_ATTR_EFF_DRAM_TRP); @@ -632,31 +244,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRP[l_def_PORT_INDEX], 21, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TRAS_Type l_TGT2_ATTR_EFF_DRAM_TRAS; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRAS, TGT2, l_TGT2_ATTR_EFF_DRAM_TRAS); @@ -666,31 +253,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRAS[l_def_PORT_INDEX], 26, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TWR_Type l_TGT2_ATTR_EFF_DRAM_TWR; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TWR, TGT2, l_TGT2_ATTR_EFF_DRAM_TWR); @@ -700,32 +262,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + - l_TGT2_ATTR_EFF_DRAM_TWR[l_def_PORT_INDEX]), 41, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TRTP_Type l_TGT2_ATTR_EFF_DRAM_TRTP; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRTP, TGT2, l_TGT2_ATTR_EFF_DRAM_TRTP); @@ -735,31 +271,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRTP[l_def_PORT_INDEX], 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TRRD_S_Type l_TGT2_ATTR_EFF_DRAM_TRRD_S; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRRD_S, TGT2, l_TGT2_ATTR_EFF_DRAM_TRRD_S); @@ -769,31 +280,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRRD_S[l_def_PORT_INDEX], 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TRRD_L_Type l_TGT2_ATTR_EFF_DRAM_TRRD_L; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRRD_L, TGT2, l_TGT2_ATTR_EFF_DRAM_TRRD_L); @@ -803,522 +289,47 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRRD_L[l_def_PORT_INDEX], 56, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - - auto l_def_MSS_FREQ_EQ_1866 = (l_TGT1_ATTR_MSS_FREQ < literal_1867); - auto l_def_MSS_FREQ_EQ_2133 = ((l_TGT1_ATTR_MSS_FREQ >= literal_1867) && (l_TGT1_ATTR_MSS_FREQ < literal_2134)); - auto l_def_MSS_FREQ_EQ_2400 = ((l_TGT1_ATTR_MSS_FREQ >= literal_2134) && (l_TGT1_ATTR_MSS_FREQ < literal_2401)); - auto l_def_MSS_FREQ_EQ_2667 = (l_TGT1_ATTR_MSS_FREQ >= literal_2667); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090cull)"); - break; - } - - { - if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_8, 60, 4, 60 ); - } - else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_9, 60, 4, 60 ); - } - else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_10, 60, 4, 60 ); - } - else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_11, 60, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090cull)"); - break; - } - } - } - fapi2::ATTR_IS_SIMULATION_Type l_TGT3_ATTR_IS_SIMULATION; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT3, l_TGT3_ATTR_IS_SIMULATION); + fapi2::ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM_Type l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM, TGT2, l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM); if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM)"); break; } - auto l_def_IS_SIM = (l_TGT3_ATTR_IS_SIMULATION == literal_1); - auto l_def_IS_HW = (l_TGT3_ATTR_IS_SIMULATION == literal_0); - fapi2::ATTR_EFF_DIMM_TYPE_Type l_TGT2_ATTR_EFF_DIMM_TYPE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DIMM_TYPE, TGT2, l_TGT2_ATTR_EFF_DIMM_TYPE); + auto l_def_SLOT0_DENOMINATOR = ((l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_0] == literal_0x0) + | l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_0]); + fapi2::ATTR_EFF_NUM_RANKS_PER_DIMM_Type l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_NUM_RANKS_PER_DIMM, TGT2, l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM); if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_DIMM_TYPE)"); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_NUM_RANKS_PER_DIMM)"); break; } - auto l_def_MEM_TYPE_1866_13 = (l_def_MSS_FREQ_EQ_1866 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_13)); - auto l_def_MEM_TYPE_1866_14 = (l_def_MSS_FREQ_EQ_1866 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_14)); - auto l_def_MEM_TYPE_2133_15 = (l_def_MSS_FREQ_EQ_2133 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_15)); - auto l_def_MEM_TYPE_2133_16 = (l_def_MSS_FREQ_EQ_2133 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_16)); - auto l_def_MEM_TYPE_2400_16 = (l_def_MSS_FREQ_EQ_2400 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_16)); - auto l_def_MEM_TYPE_2400_17 = (l_def_MSS_FREQ_EQ_2400 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_17)); - auto l_def_MEM_TYPE_2400_18 = (l_def_MSS_FREQ_EQ_2400 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_18)); - auto l_def_MEM_TYPE_2667_18 = (l_def_MSS_FREQ_EQ_2667 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_18)); - auto l_def_MEM_TYPE_2667_19 = (l_def_MSS_FREQ_EQ_2667 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_19)); - auto l_def_MEM_TYPE_2667_20 = (l_def_MSS_FREQ_EQ_2667 && (l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] == literal_20)); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090aull)"); - break; - } - - { - if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_17, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_1866_13 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_19, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_1866_14 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_20, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2133_15 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_21, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2133_16 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_22, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2400_16 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_22, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2400_17 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_23, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2400_18 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2667_18 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2667_19 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_25, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2667_20 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_26, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_1866_13 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_21, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_1866_14 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_22, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2133_15 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_23, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2133_16 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2400_16 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2400_17 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_25, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2400_18 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_26, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2667_18 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_26, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2667_19 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_27, 36, 6, 58 ); - } - else if ((((l_def_MEM_TYPE_2667_20 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) - { - l_scom_buffer.insert<uint64_t> (literal_28, 36, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090aull)"); - break; - } - - { - if (((l_def_MSS_FREQ_EQ_1866 == literal_1) && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_3, 30, 6, 58 ); - } - else if (((l_def_MSS_FREQ_EQ_2133 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_4, 30, 6, 58 ); - } - else if (((l_def_MSS_FREQ_EQ_2400 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_5, 30, 6, 58 ); - } - else if (((l_def_MSS_FREQ_EQ_2667 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) - { - l_scom_buffer.insert<uint64_t> (literal_6, 30, 6, 58 ); - } - else if (((l_def_MSS_FREQ_EQ_1866 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_2, 30, 6, 58 ); - } - else if (((l_def_MSS_FREQ_EQ_2133 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_3, 30, 6, 58 ); - } - else if (((l_def_MSS_FREQ_EQ_2400 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_4, 30, 6, 58 ); - } - else if (((l_def_MSS_FREQ_EQ_2667 == literal_1) - && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) - { - l_scom_buffer.insert<uint64_t> (literal_5, 30, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090aull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_24, 24, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090aull)"); - break; - } - - { - if ((l_def_MEM_TYPE_1866_13 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_4, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_1866_14 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_5, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2133_15 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_6, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2133_16 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_7, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2400_16 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_7, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2400_17 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_8, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2400_18 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_9, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2667_18 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_9, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2667_19 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_10, 0, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2667_20 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_11, 0, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090aull)"); - break; - } - - { - if ((l_def_MEM_TYPE_1866_13 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_9, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_1866_14 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_10, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2133_15 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_11, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2133_16 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_12, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2400_16 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_12, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2400_17 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_13, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2400_18 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_14, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2667_18 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_14, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2667_19 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_15, 6, 6, 58 ); - } - else if ((l_def_MEM_TYPE_2667_20 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_16, 6, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090aull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090aull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_1, 12, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); + auto l_def_SLOT0_DRAM_STACK_HEIGHT = (l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_0] / + l_def_SLOT0_DENOMINATOR); + auto l_def_SLOT1_DENOMINATOR = ((l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_1] == literal_0x0) + | l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_1]); + auto l_def_SLOT1_DRAM_STACK_HEIGHT = (l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_1] / + l_def_SLOT1_DENOMINATOR); + fapi2::ATTR_MSS_VPD_MT_ODT_RD_Type l_TGT2_ATTR_MSS_VPD_MT_ODT_RD; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_MSS_VPD_MT_ODT_RD, TGT2, l_TGT2_ATTR_MSS_VPD_MT_ODT_RD); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090aull)"); - break; - } - } - } + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090aull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_6, 18, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090aull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_MSS_VPD_MT_ODT_RD)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010913ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010913ull)"); - break; - } - - { - constexpr auto l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_PARITY_AFTER_CMD_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_PARITY_AFTER_CMD_ON, 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010913ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010913ull)"); - break; - } - } - } - fapi2::ATTR_EFF_NUM_RANKS_PER_DIMM_Type l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_NUM_RANKS_PER_DIMM, TGT2, l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM); + fapi2::ATTR_MSS_VPD_MT_ODT_WR_Type l_TGT2_ATTR_MSS_VPD_MT_ODT_WR; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_MSS_VPD_MT_ODT_WR, TGT2, l_TGT2_ATTR_MSS_VPD_MT_ODT_WR); if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_NUM_RANKS_PER_DIMM)"); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_MSS_VPD_MT_ODT_WR)"); break; } @@ -1334,30 +345,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, } auto l_def_REFRESH_INTERVAL = (l_TGT2_ATTR_EFF_DRAM_TREFI[l_def_PORT_INDEX] / (literal_8 * l_def_NUM_RANKS)); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010932ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010932ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_def_REFRESH_INTERVAL, 8, 11, 53 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010932ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010932ull)"); - break; - } - } - } fapi2::ATTR_EFF_DRAM_TRFC_Type l_TGT2_ATTR_EFF_DRAM_TRFC; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRFC, TGT2, l_TGT2_ATTR_EFF_DRAM_TRFC); @@ -1367,31 +354,6 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010932ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010932ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRFC[l_def_PORT_INDEX], 30, 10, 54 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010932ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010932ull)"); - break; - } - } - } - fapi2::ATTR_EFF_DRAM_TRFC_DLR_Type l_TGT2_ATTR_EFF_DRAM_TRFC_DLR; l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_DRAM_TRFC_DLR, TGT2, l_TGT2_ATTR_EFF_DRAM_TRFC_DLR); @@ -1401,1475 +363,709 @@ fapi2::ReturnCode p9_mca_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010932ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5010824ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010932ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRFC_DLR[l_def_PORT_INDEX], 40, 10, 54 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5010824ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7010932ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0100, 28, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b11100, 50, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b110, 37, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x5010824ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010932ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5010824ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010934ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010934ull)"); - break; - } - - { - if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_5, 16, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_6, 16, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_6, 16, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_7, 16, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010934ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010934ull)"); - break; - } - } - } + l_rc = fapi2::getScom( TGT0, 0x5010826ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010934ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010934ull)"); - break; - } - - { - if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_5, 11, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_6, 11, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_6, 11, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_7, 11, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010934ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010934ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5010826ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010934ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010934ull)"); - break; - } - - { - if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_6, 6, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_7, 6, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_8, 6, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_9, 6, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010934ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010934ull)"); - break; - } - } - } + l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); + l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T0 / literal_4), 8, 8, 56 ); + l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1 / literal_4), 16, 8, 56 ); + l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2 / literal_4), 32, 8, 56 ); + l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1 / literal_4), 24, 8, 56 ); + l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2 / literal_4), 40, 8, 56 ); + l_rc = fapi2::putScom(TGT0, 0x5010826ull, l_scom_buffer); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010935ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010935ull)"); - break; - } - - { - if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_10, 17, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_11, 17, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_12, 17, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_14, 17, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010935ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010935ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5010826ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010935ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010935ull)"); - break; - } - - { - if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_10, 22, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_11, 22, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_12, 22, 5, 59 ); - } - else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_14, 22, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010935ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010935ull)"); - break; - } - } - } + l_rc = fapi2::getScom( TGT0, 0x701090aull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x7010935ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010935ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_5, 12, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010935ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010935ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x701090aull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010935ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010935ull)"); - break; - } - - { - if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_597, 27, 11, 53 ); - } - else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_768, 27, 11, 53 ); - } - else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_768, 27, 11, 53 ); - } - else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) - { - l_scom_buffer.insert<uint64_t> (literal_939, 27, 11, 53 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010935ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010935ull)"); - break; - } + if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_17, 36, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_1866_13 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 0, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_19, 36, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_1866_14 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b100, 3, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_20, 36, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2133_15 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 6, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_21, 36, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2133_16 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b110, 9, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_22, 36, 6, 58 ); } - } - - fapi2::ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM_Type l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM, TGT2, l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM); - - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM)"); - break; - } - - auto l_def_SLOT0_DENOMINATOR = ((l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_0] == literal_0x0) - | l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_0]); - auto l_def_SLOT0_DRAM_STACK_HEIGHT = (l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_0] / - l_def_SLOT0_DENOMINATOR); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b001, 12, 3, 61 ); - } - else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 12, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2400_16 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_22, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b101, 15, 3, 61 ); - } - else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b100, 15, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2400_17 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_23, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b011, 18, 3, 61 ); - } - else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 18, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2400_18 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b111, 21, 3, 61 ); - } - else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b110, 21, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2667_18 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2667_19 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 24, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_25, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2667_20 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b100, 27, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_26, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_1866_13 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 30, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_21, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_1866_14 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b110, 33, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_22, 36, 6, 58 ); } - } - auto l_def_SLOT1_DENOMINATOR = ((l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_1] == literal_0x0) - | l_TGT2_ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_1]); - auto l_def_SLOT1_DRAM_STACK_HEIGHT = (l_TGT2_ATTR_EFF_NUM_RANKS_PER_DIMM[l_def_PORT_INDEX][literal_1] / - l_def_SLOT1_DENOMINATOR); - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b001, 36, 3, 61 ); - } - else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 36, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2133_15 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_23, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b101, 39, 3, 61 ); - } - else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b100, 39, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2133_16 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b011, 42, 3, 61 ); - } - else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 42, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2400_16 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_24, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); - break; - } - - { - if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b111, 45, 3, 61 ); - } - else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) - { - l_scom_buffer.insert<uint64_t> (literal_0b110, 45, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); - break; - } + else if ((((l_def_MEM_TYPE_2400_17 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) + { + l_scom_buffer.insert<uint64_t> (literal_25, 36, 6, 58 ); } - } - fapi2::ATTR_MSS_VPD_MT_ODT_RD_Type l_TGT2_ATTR_MSS_VPD_MT_ODT_RD; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_MSS_VPD_MT_ODT_RD, TGT2, l_TGT2_ATTR_MSS_VPD_MT_ODT_RD); - - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_MSS_VPD_MT_ODT_RD)"); - break; - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2400_18 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_0], 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_26, 36, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2667_18 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_1], 4, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_26, 36, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2667_19 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_2], 8, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_27, 36, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((((l_def_MEM_TYPE_2667_20 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3)) && l_def_IS_HW)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_3], 12, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_28, 36, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (((l_def_MSS_FREQ_EQ_1866 == literal_1) && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_0], 16, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_3, 30, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (((l_def_MSS_FREQ_EQ_2133 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_1], 20, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_4, 30, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (((l_def_MSS_FREQ_EQ_2400 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_2], 24, 4, 60 ); - } + l_scom_buffer.insert<uint64_t> (literal_5, 30, 6, 58 ); + } + else if (((l_def_MSS_FREQ_EQ_2667 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_1))) + { + l_scom_buffer.insert<uint64_t> (literal_6, 30, 6, 58 ); + } + else if (((l_def_MSS_FREQ_EQ_1866 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_2, 30, 6, 58 ); + } + else if (((l_def_MSS_FREQ_EQ_2133 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_3, 30, 6, 58 ); + } + else if (((l_def_MSS_FREQ_EQ_2400 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_4, 30, 6, 58 ); + } + else if (((l_def_MSS_FREQ_EQ_2667 == literal_1) + && (l_TGT2_ATTR_EFF_DIMM_TYPE[l_def_PORT_INDEX][literal_0] == literal_3))) + { + l_scom_buffer.insert<uint64_t> (literal_5, 30, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_24, 24, 6, 58 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if ((l_def_MEM_TYPE_1866_13 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_4, 0, 6, 58 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_MEM_TYPE_1866_14 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_5, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2133_15 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_6, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2133_16 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_7, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2400_16 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_7, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2400_17 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_8, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2400_18 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_9, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2667_18 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_9, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2667_19 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_10, 0, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2667_20 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_11, 0, 6, 58 ); + } - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_3], 28, 4, 60 ); - } + if ((l_def_MEM_TYPE_1866_13 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_9, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_1866_14 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_10, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2133_15 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_11, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2133_16 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_12, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2400_16 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_12, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2400_17 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_13, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2400_18 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_14, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2667_18 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_14, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2667_19 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_15, 6, 6, 58 ); + } + else if ((l_def_MEM_TYPE_2667_20 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_16, 6, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_1, 12, 6, 58 ); + l_scom_buffer.insert<uint64_t> (literal_6, 18, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x701090aull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x701090aull)"); + break; } } - - fapi2::ATTR_MSS_VPD_MT_ODT_WR_Type l_TGT2_ATTR_MSS_VPD_MT_ODT_WR; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_MSS_VPD_MT_ODT_WR, TGT2, l_TGT2_ATTR_MSS_VPD_MT_ODT_WR); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_MSS_VPD_MT_ODT_WR)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x701090bull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_0], 32, 4, 60 ); - } + FAPI_ERR("ERROR executing: getScom (0x701090bull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> ((literal_4 + l_def_RANK_SWITCH_TCK), 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_4, 4, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_4, 8, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TCCD_L[l_def_PORT_INDEX], 12, 4, 60 ); + l_scom_buffer.insert<uint64_t> ((literal_4 + l_def_RANK_SWITCH_TCK), 16, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_4, 20, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_4, 24, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TCCD_L[l_def_PORT_INDEX], 28, 4, 60 ); + l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - + l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX]), 32, 5, 59 ); + l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - + l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX]), 37, 5, 59 ); + l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - + l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX]), 42, 5, 59 ); + l_scom_buffer.insert<uint64_t> ((((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + l_def_BUS_TURNAROUND_TCK) - + l_TGT2_ATTR_EFF_DRAM_CL[l_def_PORT_INDEX]), 47, 4, 60 ); + l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + + l_TGT2_ATTR_EFF_DRAM_TWTR_S[l_def_PORT_INDEX]), 51, 6, 58 ); + l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + + l_TGT2_ATTR_EFF_DRAM_TWTR_S[l_def_PORT_INDEX]), 57, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x701090bull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x701090bull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x701090cull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_1], 36, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x701090cull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TCCD_L[l_def_PORT_INDEX], 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + + l_TGT2_ATTR_EFF_DRAM_TWTR_L[l_def_PORT_INDEX]), 4, 6, 58 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TFAW[l_def_PORT_INDEX], 10, 6, 58 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRCD[l_def_PORT_INDEX], 16, 5, 59 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRP[l_def_PORT_INDEX], 21, 5, 59 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRAS[l_def_PORT_INDEX], 26, 6, 58 ); + l_scom_buffer.insert<uint64_t> (((l_TGT2_ATTR_EFF_DRAM_CWL[l_def_PORT_INDEX] + literal_4) + + l_TGT2_ATTR_EFF_DRAM_TWR[l_def_PORT_INDEX]), 41, 7, 57 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRTP[l_def_PORT_INDEX], 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRRD_S[l_def_PORT_INDEX], 52, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRRD_L[l_def_PORT_INDEX], 56, 4, 60 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_8, 60, 4, 60 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_2], 40, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_9, 60, 4, 60 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_3], 44, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_10, 60, 4, 60 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_0], 48, 4, 60 ); - } + l_scom_buffer.insert<uint64_t> (literal_11, 60, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x701090cull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x701090cull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x701090eull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_1], 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x701090eull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b011000, 24, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x701090eull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x701090eull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x7010913ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_2], 56, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x7010913ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + constexpr auto l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_PARITY_AFTER_CMD_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_PARITY_AFTER_CMD_ON, 38, 1, 63 ); + constexpr auto l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_OE_ALWAYS_ON_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_OE_ALWAYS_ON_ON, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x7010913ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7010913ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x7010914ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_3], 60, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x7010914ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000, 0, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b100, 3, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 6, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b110, 9, 3, 61 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); - break; - } + if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b001, 12, 3, 61 ); + } + else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b000, 12, 3, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b101, 15, 3, 61 ); + } + else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) { - l_rc = fapi2::getScom( TGT0, 0x7010913ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0b100, 15, 3, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7010913ull)"); - break; - } + if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b011, 18, 3, 61 ); + } + else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b010, 18, 3, 61 ); + } - { - constexpr auto l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_OE_ALWAYS_ON_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_MCP_PORT0_SRQ_MBA_FARB0Q_CFG_OE_ALWAYS_ON_ON, 55, 1, 63 ); - } + if ((l_def_SLOT0_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b111, 21, 3, 61 ); + } + else if ((l_def_SLOT0_DRAM_STACK_HEIGHT != literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b110, 21, 3, 61 ); + } - l_rc = fapi2::putScom(TGT0, 0x7010913ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000, 24, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b100, 27, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 30, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b110, 33, 3, 61 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7010913ull)"); - break; - } + if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b001, 36, 3, 61 ); + } + else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b000, 36, 3, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b101, 39, 3, 61 ); + } + else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) { - l_rc = fapi2::getScom( TGT0, 0x5010826ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0b100, 39, 3, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010826ull)"); - break; - } + if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b011, 42, 3, 61 ); + } + else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b010, 42, 3, 61 ); + } - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 8, 56 ); - } + if ((l_def_SLOT1_DRAM_STACK_HEIGHT == literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b111, 45, 3, 61 ); + } + else if ((l_def_SLOT1_DRAM_STACK_HEIGHT != literal_8)) + { + l_scom_buffer.insert<uint64_t> (literal_0b110, 45, 3, 61 ); + } - l_rc = fapi2::putScom(TGT0, 0x5010826ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x7010914ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010826ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7010914ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_READ_CYCLES_T0_Type l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T0; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T0, TGT3, l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T0); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T0)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x7010915ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5010826ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010826ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T0 / literal_4), 8, 8, 56 ); - } + FAPI_ERR("ERROR executing: getScom (0x7010915ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5010826ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_0], 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_1], 4, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_2], 8, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_0][literal_3], 12, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_0], 16, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_1], 20, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_2], 24, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_RD[l_def_PORT_INDEX][literal_1][literal_3], 28, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_0], 32, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_1], 36, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_2], 40, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_0][literal_3], 44, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_0], 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_1], 52, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_2], 56, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_MSS_VPD_MT_ODT_WR[l_def_PORT_INDEX][literal_1][literal_3], 60, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x7010915ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010826ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7010915ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_READ_CYCLES_T1_Type l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T1, TGT3, l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T1)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x7010932ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5010826ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010826ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1 / literal_4), 16, 8, 56 ); - } + FAPI_ERR("ERROR executing: getScom (0x7010932ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5010826ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_def_REFRESH_INTERVAL, 8, 11, 53 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRFC[l_def_PORT_INDEX], 30, 10, 54 ); + l_scom_buffer.insert<uint64_t> (l_TGT2_ATTR_EFF_DRAM_TRFC_DLR[l_def_PORT_INDEX], 40, 10, 54 ); + l_rc = fapi2::putScom(TGT0, 0x7010932ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010826ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7010932ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_READ_CYCLES_T2_Type l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T2, TGT3, l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T2)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x7010934ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5010826ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010826ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2 / literal_4), 32, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5010826ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010826ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x7010934ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x5010826ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010826ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T1 / literal_4), 24, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5010826ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010826ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_5, 16, 5, 59 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x5010826ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010826ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> ((l_TGT3_ATTR_PROC_EPS_READ_CYCLES_T2 / literal_4), 40, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5010826ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010826ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_6, 16, 5, 59 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x5010824ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010824ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0100, 28, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5010824ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010824ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_6, 16, 5, 59 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x5010824ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_7, 16, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010824ull)"); - break; - } + if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_5, 11, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_6, 11, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_6, 11, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_7, 11, 5, 59 ); + } - { - l_scom_buffer.insert<uint64_t> (literal_0b11100, 50, 5, 59 ); - } + if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_6, 6, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_7, 6, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_8, 6, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_9, 6, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x5010824ull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x7010934ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010824ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7010934ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5010824ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x7010935ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010824ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b110, 37, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5010824ull, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x7010935ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010824ull)"); - break; - } + if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_10, 17, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_11, 17, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_12, 17, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_14, 17, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_10, 22, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_11, 22, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_12, 22, 5, 59 ); + } + else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) { - l_rc = fapi2::getScom( TGT0, 0x701090eull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_14, 22, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x701090eull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_5, 12, 5, 59 ); - { - l_scom_buffer.insert<uint64_t> (literal_0b011000, 24, 6, 58 ); - } + if ((l_def_MSS_FREQ_EQ_1866 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_597, 27, 11, 53 ); + } + else if ((l_def_MSS_FREQ_EQ_2133 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_768, 27, 11, 53 ); + } + else if ((l_def_MSS_FREQ_EQ_2400 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_768, 27, 11, 53 ); + } + else if ((l_def_MSS_FREQ_EQ_2667 == literal_1)) + { + l_scom_buffer.insert<uint64_t> (literal_939, 27, 11, 53 ); + } - l_rc = fapi2::putScom(TGT0, 0x701090eull, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x7010935ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x701090eull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7010935ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_mcbist_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_mcbist_scom.C index 5a813acd5..89378b2fe 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_mcbist_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_mcbist_scom.C @@ -29,12 +29,12 @@ using namespace fapi2; -constexpr auto literal_0b11110000000 = 0b11110000000; -constexpr auto literal_0b10000000001000000000000000000100000000000000 = 0b10000000001000000000000000000100000000000000; -constexpr auto literal_0b00000000000000000000001111111011111111111111 = 0b00000000000000000000001111111011111111111111; -constexpr auto literal_0b10000000000000000 = 0b10000000000000000; constexpr auto literal_0b010000000000000000000000000000000000000000000000 = 0b010000000000000000000000000000000000000000000000; +constexpr auto literal_0b00000000000000000000001111111011111111111111 = 0b00000000000000000000001111111011111111111111; +constexpr auto literal_0b10000000000000000 = 0b10000000000000000; +constexpr auto literal_0b10000000001000000000000000000100000000000000 = 0b10000000001000000000000000000100000000000000; +constexpr auto literal_0b11110000000 = 0b11110000000; constexpr auto literal_0b00001000000000000000 = 0b00001000000000000000; constexpr auto literal_0b100 = 0b100; constexpr auto literal_0b0100 = 0b0100; @@ -45,271 +45,155 @@ fapi2::ReturnCode p9_mcbist_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCBIST>& do { + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x70123e0ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x7012380ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x70123e0ull)"); - break; - } - - { - constexpr auto l_MCP_MCBIST_MBA_SCOMFIR_MCBCFGQ_CFG_LOG_COUNTS_IN_TRACE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_MCP_MCBIST_MBA_SCOMFIR_MCBCFGQ_CFG_LOG_COUNTS_IN_TRACE_OFF, 36, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x70123e0ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x70123e0ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x70123e8ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x70123e8ull)"); - break; - } - - { - constexpr auto l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG0Q_CFG_DBG_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG0Q_CFG_DBG_ENABLE_ON, 0, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x70123e8ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x70123e8ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x7012380ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x70123e8ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x70123e8ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b11110000000, 23, 11, 53 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b010000000000000000000000000000000000000000000000, 0, 48, 16 ); + l_rc = fapi2::putScom(TGT0, 0x7012380ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x70123e8ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x70123e8ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x70123e9ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x70123e9ull)"); - break; - } - - { - constexpr auto l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG1Q_CFG_WAT_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG1Q_CFG_WAT_ENABLE_ON, 0, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x70123e9ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x70123e9ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x7012380ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7012383ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7012383ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x7012381ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000000001000000000000000000100000000000000, 0, 44, 20 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x7012381ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7012383ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00000000000000000000001111111011111111111111, 0, 44, 20 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000000000000000, 44, 17, 47 ); + l_rc = fapi2::putScom(TGT0, 0x7012381ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7012383ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7012381ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7012381ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7012381ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x7012383ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b00000000000000000000001111111011111111111111, 0, 44, 20 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x7012383ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7012381ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b10000000001000000000000000000100000000000000, 0, 44, 20 ); + l_rc = fapi2::putScom(TGT0, 0x7012383ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7012381ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x7012383ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7012381ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x70123e0ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7012381ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000000000000000, 44, 17, 47 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x70123e0ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7012381ull, l_scom_buffer); + constexpr auto l_MCP_MCBIST_MBA_SCOMFIR_MCBCFGQ_CFG_LOG_COUNTS_IN_TRACE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_MCP_MCBIST_MBA_SCOMFIR_MCBCFGQ_CFG_LOG_COUNTS_IN_TRACE_OFF, 36, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x70123e0ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7012381ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x70123e0ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x7012380ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x7012380ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x70123e8ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b010000000000000000000000000000000000000000000000, 0, 48, 16 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x70123e8ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x7012380ull, l_scom_buffer); + constexpr auto l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG0Q_CFG_DBG_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG0Q_CFG_DBG_ENABLE_ON, 0, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b11110000000, 23, 11, 53 ); + l_rc = fapi2::putScom(TGT0, 0x70123e8ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x7012380ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x70123e8ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x70123eaull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x70123e9ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x70123eaull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b00001000000000000000, 20, 20, 44 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x70123e9ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x70123eaull, l_scom_buffer); + constexpr auto l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG1Q_CFG_WAT_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_MCP_MCBIST_MBA_SCOMFIR_DBGCFG1Q_CFG_WAT_ENABLE_ON, 0, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x70123e9ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x70123eaull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x70123e9ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x70123ebull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x70123ebull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x70123eaull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b100, 23, 3, 61 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x70123eaull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x70123ebull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00001000000000000000, 20, 20, 44 ); + l_rc = fapi2::putScom(TGT0, 0x70123eaull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x70123ebull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x70123eaull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x70123ebull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x70123ebull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x70123ebull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0100, 37, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x70123ebull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x70123ebull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b100, 23, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b0100, 37, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x70123ebull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x70123ebull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x70123ebull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C index cba7e0018..52e4cdce3 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C @@ -38,77 +38,43 @@ fapi2::ReturnCode p9_mcs_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCS>& TGT0) do { + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5010812ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010812ull)"); - break; - } - - { - constexpr auto l_MC01_PBI01_SCOMFIR_MCMODE1_DISABLE_FP_M_BIT_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_MC01_PBI01_SCOMFIR_MCMODE1_DISABLE_FP_M_BIT_ON, 10, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5010812ull, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x5010810ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010812ull)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5010810ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010810ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 46, 4, 60 ); - } + FAPI_ERR("ERROR executing: getScom (0x5010810ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5010810ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0111, 46, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0, 62, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5010810ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010810ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5010810ull)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5010810ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5010812ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5010810ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0, 62, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5010812ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5010810ull, l_scom_buffer); + constexpr auto l_MC01_PBI01_SCOMFIR_MCMODE1_DISABLE_FP_M_BIT_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_MC01_PBI01_SCOMFIR_MCMODE1_DISABLE_FP_M_BIT_ON, 10, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5010812ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5010810ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5010812ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_mmu_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_mmu_scom.C index 2bb9be75d..b2438e2a5 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_mmu_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_mmu_scom.C @@ -29,15 +29,15 @@ using namespace fapi2; -constexpr auto literal_0b11111 = 0b11111; -constexpr auto literal_0x0258 = 0x0258; -constexpr auto literal_0x00E = 0x00E; -constexpr auto literal_0x000000000000 = 0x000000000000; -constexpr auto literal_0x910000040B00 = 0x910000040B00; -constexpr auto literal_0x0000FAF800FF = 0x0000FAF800FF; +constexpr auto literal_0x04047C0000000000 = 0x04047C0000000000; constexpr auto literal_0x0000000000000000 = 0x0000000000000000; constexpr auto literal_0x409B000000000000 = 0x409B000000000000; -constexpr auto literal_0x04047C0000000000 = 0x04047C0000000000; +constexpr auto literal_0x0000FAF800FF = 0x0000FAF800FF; +constexpr auto literal_0x000000000000 = 0x000000000000; +constexpr auto literal_0x910000040B00 = 0x910000040B00; +constexpr auto literal_0b11111 = 0b11111; +constexpr auto literal_0x00E = 0x00E; +constexpr auto literal_0x0258 = 0x0258; fapi2::ReturnCode p9_mmu_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -64,461 +64,256 @@ fapi2::ReturnCode p9_mmu_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& break; } + fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c52ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c52ull)"); - break; - } - - { - constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 20, 1, 57 ); - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 24, 1, 62 ); - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 26, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5012c52ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c52ull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5012c53ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c53ull)"); - break; - } - - { - constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 2, 2, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5012c53ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c53ull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5012c54ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c54ull)"); - break; - } - - { - constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 16, 1, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5012c54ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c54ull)"); - break; - } - } - { - l_rc = fapi2::getScom( TGT0, 0x5012c55ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c55ull)"); - break; - } - - { - constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 16, 1, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5012c55ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c55ull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ADDR_BAR_MODE)"); + break; } + fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c52ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c52ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b11111, 30, 1, 59 ); - l_scom_buffer.insert<uint64_t> (literal_0b11111, 60, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5012c52ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c52ull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_PUMP_MODE)"); + break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c53ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c53ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012c03ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0258, 32, 16, 48 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c03ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012c53ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x04047C0000000000, 0, 22, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5012c03ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c53ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c03ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x5012c06ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5012c55ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c55ull)"); - break; - } - - { - constexpr auto l_NMMU_MM_CFG_NMMU_CTL_TLB_HASH_PID_DIS_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_CFG_NMMU_CTL_TLB_HASH_PID_DIS_ON, 21, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5012c55ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c55ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5012c06ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + l_scom_buffer.insert<uint64_t> (literal_0x0000000000000000, 0, 22, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5012c06ull, l_scom_buffer); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5012c55ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c55ull)"); - break; - } - - { - constexpr auto l_NMMU_MM_CFG_NMMU_CTL_TLB_ISS543B_FIX_EN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_CFG_NMMU_CTL_TLB_ISS543B_FIX_EN_ON, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5012c55ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c55ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5012c06ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x5012c07ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5012c52ull, l_scom_buffer ); + FAPI_ERR("ERROR executing: getScom (0x5012c07ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c52ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0x409B000000000000, 0, 22, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5012c07ull, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0x00E, 0, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c07ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5012c15ull, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x5012c52ull, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c15ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c52ull)"); - break; - } + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) + { + constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON, 33, 1, 63 ); + } + else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) + { + constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF, 33, 1, 63 ); } - } - fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE); + if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_NODE)) + { + constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_ON, 39, 1, 63 ); + } + else if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) + { + constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_OFF, 39, 1, 63 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ADDR_BAR_MODE)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x5012c15ull, l_scom_buffer); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5012c15ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c15ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON, 33, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) - { - constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF, 33, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5012c15ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c15ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5012c15ull)"); + break; } } + { + l_rc = fapi2::getScom( TGT0, 0x5012c43ull, l_scom_buffer ); - fapi2::ATTR_PROC_FABRIC_PUMP_MODE_Type l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_PUMP_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c43ull)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_PUMP_MODE)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0x0000FAF800FF, 0, 48, 16 ); + l_rc = fapi2::putScom(TGT0, 0x5012c43ull, l_scom_buffer); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5012c15ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c15ull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_NODE)) - { - constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_ON, 39, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_PUMP_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_PUMP_MODE_CHIP_IS_GROUP)) - { - constexpr auto l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_NMMU_MM_FBC_CQ_WRAP_NXCQ_SCOM_CFG_PUMP_MODE_OFF, 39, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x5012c15ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c15ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5012c43ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c46ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5012c46ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c46ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x000000000000, 0, 48, 16 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c46ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012c46ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x000000000000, 0, 48, 16 ); + l_rc = fapi2::putScom(TGT0, 0x5012c46ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c46ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c46ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c47ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c47ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012c47ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x910000040B00, 0, 48, 16 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c47ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012c47ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x910000040B00, 0, 48, 16 ); + l_rc = fapi2::putScom(TGT0, 0x5012c47ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c47ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c47ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c43ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c43ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012c52ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0000FAF800FF, 0, 48, 16 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c52ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012c43ull, l_scom_buffer); + constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 20, 1, 57 ); + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 24, 1, 62 ); + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 26, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b11111, 30, 1, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b11111, 60, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0x00E, 0, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5012c52ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c43ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c52ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c06ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c06ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012c53ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0000000000000000, 0, 22, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c53ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012c06ull, l_scom_buffer); + constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 2, 2, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0x0258, 32, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x5012c53ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c06ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c53ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c07ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5012c54ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c07ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x409B000000000000, 0, 22, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c54ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012c07ull, l_scom_buffer); + constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 16, 1, 58 ); + l_rc = fapi2::putScom(TGT0, 0x5012c54ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c07ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c54ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012c03ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012c03ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012c55ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x04047C0000000000, 0, 22, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012c55ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012c03ull, l_scom_buffer); + constexpr auto l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV = 0x70; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_PIPE_THREAD_MODE_SINGLE_THREAD_MODE_ST_INV, 16, 1, 59 ); + constexpr auto l_NMMU_MM_CFG_NMMU_CTL_TLB_HASH_PID_DIS_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_CFG_NMMU_CTL_TLB_HASH_PID_DIS_ON, 21, 1, 63 ); + constexpr auto l_NMMU_MM_CFG_NMMU_CTL_TLB_ISS543B_FIX_EN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NMMU_MM_CFG_NMMU_CTL_TLB_ISS543B_FIX_EN_ON, 53, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5012c55ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012c03ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012c55ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C index 868b973f9..a779e4f92 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C @@ -29,17 +29,17 @@ using namespace fapi2; -constexpr auto literal_0x7F60B04500AE0000 = 0x7F60B04500AE0000; -constexpr auto literal_0xFF65B04700FE0000 = 0xFF65B04700FE0000; -constexpr auto literal_0x009A48180F01FFFF = 0x009A48180F01FFFF; -constexpr auto literal_0xAAA70A5DF0000000 = 0xAAA70A5DF0000000; -constexpr auto literal_0xAAAF0BFFF0000000 = 0xAAAF0BFFF0000000; -constexpr auto literal_0x5550F40000000003 = 0x5550F40000000003; constexpr auto literal_2 = 2; constexpr auto literal_3 = 3; constexpr auto literal_1 = 1; constexpr auto literal_0 = 0; constexpr auto literal_0x0 = 0x0; +constexpr auto literal_0x009A48180F01FFFF = 0x009A48180F01FFFF; +constexpr auto literal_0x7F60B04500AE0000 = 0x7F60B04500AE0000; +constexpr auto literal_0xFF65B04700FE0000 = 0xFF65B04700FE0000; +constexpr auto literal_0x5550F40000000003 = 0x5550F40000000003; +constexpr auto literal_0xAAA70A5DF0000000 = 0xAAA70A5DF0000000; +constexpr auto literal_0xAAAF0BFFF0000000 = 0xAAAF0BFFF0000000; fapi2::ReturnCode p9_npu_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -66,2327 +66,947 @@ fapi2::ReturnCode p9_npu_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& break; } + fapi2::ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_Type l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE, TGT0, l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011406ull, l_scom_buffer ); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011406ull)"); - break; - } + fapi2::ATTR_PROC_EPS_READ_CYCLES_T0_Type l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T0, TGT1, l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0); - { - l_scom_buffer.insert<uint64_t> (literal_0x7F60B04500AE0000, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T0)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011406ull, l_scom_buffer); + fapi2::ATTR_PROC_EPS_READ_CYCLES_T1_Type l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T1, TGT1, l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011406ull)"); - break; - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T1)"); + break; } + fapi2::ATTR_PROC_EPS_READ_CYCLES_T2_Type l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T2, TGT1, l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2); + + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011407ull, l_scom_buffer ); + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T2)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011407ull)"); - break; - } + fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T1_Type l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T1, TGT1, l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1); - { - l_scom_buffer.insert<uint64_t> (literal_0xFF65B04700FE0000, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_WRITE_CYCLES_T1)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011407ull, l_scom_buffer); + fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T2_Type l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T2, TGT1, l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011407ull)"); - break; - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_WRITE_CYCLES_T2)"); + break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011403ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5011000ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011403ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x009A48180F01FFFF, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011000ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011403ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011000ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011403ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011000ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011446ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011446ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011002ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0xAAA70A5DF0000000, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011002ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011446ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011002ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011446ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011002ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011447ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5011008ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011447ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0xAAAF0BFFF0000000, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011008ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011447ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011008ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011447ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011008ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011443ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x5011020ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011443ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x5550F40000000003, 0, 64, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011020ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011443ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011020ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011443ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011020ull)"); + break; } } - - fapi2::ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE_Type l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE, TGT0, l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011022ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011008ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011008ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011008ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011008ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011022ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011028ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011028ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011022ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011028ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011028ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011048ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011048ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011048ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011048ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011022ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011068ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011068ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011068ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011028ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011068ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011108ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011108ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011108ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011108ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011028ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011128ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011128ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011128ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011028ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011128ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011148ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011148ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011148ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011148ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011028ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011168ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011168ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011168ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011040ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011168ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011208ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011208ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011208ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011208ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011040ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011228ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011228ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011228ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011040ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011228ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011248ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011248ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011248ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011248ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011040ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011268ull, l_scom_buffer ); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011042ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011268ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011042ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011268ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011042ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011268ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011042ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011000ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011000ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011048ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011000ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011000ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011020ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011020ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011020ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011020ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011048ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011040ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011040ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011048ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011040ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011040ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011060ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011060ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011060ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011060ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011048ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011100ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011100ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011100ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011060ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011100ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011120ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011120ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011120ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011120ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011060ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011140ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011140ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011140ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011060ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011140ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011160ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011160ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011160ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011160ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011060ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011200ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011200ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011200ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011062ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011200ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011220ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011220ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011220ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011220ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011062ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011240ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011240ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011240ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011062ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011240ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011260ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011260ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) - || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011260ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011260ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011062ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_READ_CYCLES_T0_Type l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T0, TGT1, l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T0)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011068ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011002ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011002ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011002ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011002ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011068ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011022ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011022ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011068ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011022ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011022ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011042ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011042ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011068ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011062ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011062ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011062ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011100ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011062ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011102ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011102ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011102ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011102ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011100ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011122ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011122ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011122ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011100ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011122ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011142ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011142ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011142ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011142ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011100ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011162ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011162ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011162ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011102ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011162ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011202ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011202ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011202ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011202ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011102ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011222ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011222ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011222ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011102ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011222ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011242ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011242ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011242ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011242ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011102ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011262ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011262ull)"); - break; - } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011108ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011108ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011262ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011108ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011262ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011108ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_READ_CYCLES_T1_Type l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T1, TGT1, l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T1)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011120ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011002ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011002ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011002ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011002ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011120ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011022ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011022ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011120ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011022ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011022ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011042ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011042ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011120ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011062ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011062ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011062ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011122ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011062ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011102ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011102ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011102ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011102ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011122ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011122ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011122ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011122ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011122ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011122ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011142ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011142ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011142ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011142ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011122ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011162ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011162ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011162ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011128ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011162ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011202ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011202ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011202ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011202ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011128ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011222ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011222ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011128ull, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011222ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011222ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011242ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011242ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011242ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011242ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011128ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011262ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011262ull)"); - break; - } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011140ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011140ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011262ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011140ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011262ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011140ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_READ_CYCLES_T2_Type l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_READ_CYCLES_T2, TGT1, l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_READ_CYCLES_T2)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011142ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011002ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011002ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011002ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011002ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011142ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011022ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011022ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011142ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011022ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011022ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011042ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011042ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011142ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011062ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011062ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011062ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011148ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011062ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011102ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011102ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011102ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011102ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011148ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011122ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011122ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011148ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011122ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011122ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011142ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011142ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011142ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011142ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011148ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011162ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011162ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011162ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011160ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011162ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011202ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011202ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011202ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011202ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011160ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011222ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011222ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011160ull, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011222ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011222ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011242ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011242ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011242ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011242ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011160ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011262ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011262ull)"); - break; - } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011162ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011162ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011262ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011162ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011262ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011162ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5011002ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011002ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011002ull, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x5011168ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011002ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011022ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011022ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011022ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011022ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011168ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011042ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011168ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011042ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011062ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011062ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011062ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011062ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011168ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011102ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011102ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011102ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011200ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011102ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011122ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011122ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011122ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011122ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011200ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011142ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011142ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011142ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011200ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011142ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011162ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011162ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011162ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011162ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011200ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011202ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011202ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011202ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011202ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011202ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011222ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011222ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011222ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011222ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011202ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011242ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011242ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011242ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011202ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011242ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011262ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011262ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011262ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011262ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011202ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T1_Type l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T1, TGT1, l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_WRITE_CYCLES_T1)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011208ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011002ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011002ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011002ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011002ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011208ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011022ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011022ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - l_rc = fapi2::putScom(TGT0, 0x5011022ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011208ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011022ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011042ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011042ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011208ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011062ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011062ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011062ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011220ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011062ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011102ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011102ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011102ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011102ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011220ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011122ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011122ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011220ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011122ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011122ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011142ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011142ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011142ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011142ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011220ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011162ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011162ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011162ull, l_scom_buffer); + } + { + l_rc = fapi2::getScom( TGT0, 0x5011222ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011162ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011202ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011202ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011202ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011202ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x5011222ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011222ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011222ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011222ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x5011222ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011222ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011242ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011242ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } - - l_rc = fapi2::putScom(TGT0, 0x5011242ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011242ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011222ull)"); + break; } - { - l_rc = fapi2::getScom( TGT0, 0x5011262ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011262ull)"); - break; - } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011228ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011228ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011262ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011228ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011262ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011228ull)"); + break; } } - - fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T2_Type l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_EPS_WRITE_CYCLES_T2, TGT1, l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_EPS_WRITE_CYCLES_T2)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5011240ull, l_scom_buffer ); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011002ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011002ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + FAPI_ERR("ERROR executing: getScom (0x5011240ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011002ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011240ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011002ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011022ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011022ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011240ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011242ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011242ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011022ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011242ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011022ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011042ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011242ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011248ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011248ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011042ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011248ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011042ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011062ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011062ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011248ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011260ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011260ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011062ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 38, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011260ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011062ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011102ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011102ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011260ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011262ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011262ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011102ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T0, 28, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T1, 40, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_READ_CYCLES_T2, 52, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0x0, 0, 4, 60 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T1, 4, 12, 52 ); + l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); + l_rc = fapi2::putScom(TGT0, 0x5011262ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011102ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011122ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011122ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011262ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011268ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011268ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011122ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (((((l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_0] == literal_2) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_1] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_2] == literal_2)) + || (l_TGT0_ATTR_PROC_FABRIC_OPTICS_CONFIG_MODE[literal_3] == literal_2)), 51, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x5011268ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011122ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011142ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011142ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011268ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011403ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011403ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011142ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x009A48180F01FFFF, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5011403ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011142ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011162ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011162ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011403ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011406ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011406ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011162ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x7F60B04500AE0000, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5011406ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011162ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011202ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011202ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011406ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011407ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011407ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011202ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xFF65B04700FE0000, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5011407ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011202ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011222ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011222ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011407ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011443ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011443ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011222ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x5550F40000000003, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5011443ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011222ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011242ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011242ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011443ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011446ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011446ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011242ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xAAA70A5DF0000000, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5011446ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011242ull)"); - break; - } - } + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x5011262ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5011262ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x5011446ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x5011447ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (l_TGT1_ATTR_PROC_EPS_WRITE_CYCLES_T2, 16, 12, 52 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5011447ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5011262ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0xAAAF0BFFF0000000, 0, 64, 0 ); + l_rc = fapi2::putScom(TGT0, 0x5011447ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5011262ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5011447ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_nx_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_nx_scom.C index 1c655a5cf..8984c8c23 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_nx_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_nx_scom.C @@ -29,18 +29,18 @@ using namespace fapi2; -constexpr auto literal_8 = 8; +constexpr auto literal_0b0 = 0b0; +constexpr auto literal_0b1 = 0b1; +constexpr auto literal_0b11 = 0b11; +constexpr auto literal_0b00 = 0b00; constexpr auto literal_1 = 1; constexpr auto literal_0xFC = 0xFC; +constexpr auto literal_8 = 8; constexpr auto literal_2 = 2; -constexpr auto literal_0b0 = 0b0; -constexpr auto literal_0b000000 = 0b000000; -constexpr auto literal_0b00 = 0b00; -constexpr auto literal_0b00000000 = 0b00000000; -constexpr auto literal_0b1 = 0b1; constexpr auto literal_0b111111 = 0b111111; -constexpr auto literal_0b11 = 0b11; constexpr auto literal_0b11111111 = 0b11111111; +constexpr auto literal_0b000000 = 0b000000; +constexpr auto literal_0b00000000 = 0b00000000; fapi2::ReturnCode p9_nx_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -67,1485 +67,609 @@ fapi2::ReturnCode p9_nx_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011041ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011041ull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH0_EFT_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH0_EFT_ENABLE_ON, 63, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011041ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011041ull)"); - break; - } - } - } + fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE); + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011041ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011041ull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH1_EFT_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH1_EFT_ENABLE_ON, 62, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011041ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011041ull)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ADDR_BAR_MODE)"); + break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011041ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011041ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x2011041ull, l_scom_buffer ); - { - constexpr auto l_NX_DMA_CH2_SYM_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH2_SYM_ENABLE_ON, 58, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011041ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011041ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011041ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011041ull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH3_SYM_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH3_SYM_ENABLE_ON, 57, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011041ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011041ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x2011041ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011041ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011041ull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH4_GZIP_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH4_GZIP_ENABLE_ON, 61, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011041ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011041ull)"); - break; - } - } - } + constexpr auto l_NX_DMA_CH0_EFT_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH0_EFT_ENABLE_ON, 63, 1, 63 ); + constexpr auto l_NX_DMA_CH1_EFT_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH1_EFT_ENABLE_ON, 62, 1, 63 ); + constexpr auto l_NX_DMA_CH2_SYM_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH2_SYM_ENABLE_ON, 58, 1, 63 ); + constexpr auto l_NX_DMA_CH3_SYM_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH3_SYM_ENABLE_ON, 57, 1, 63 ); + constexpr auto l_NX_DMA_CH4_GZIP_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH4_GZIP_ENABLE_ON, 61, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011041ull, l_scom_buffer); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_EFTCOMP_MAX_INRD_MAX_13_INRD = 0xd; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFTCOMP_MAX_INRD_MAX_13_INRD, 33, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x2011041ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_EFTDECOMP_MAX_INRD_MAX_7_INRD = 0x7; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFTDECOMP_MAX_INRD_MAX_7_INRD, 37, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_GZIPCOMP_MAX_INRD_MAX_13_INRD = 0xd; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIPCOMP_MAX_INRD_MAX_13_INRD, 8, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_GZIPDECOMP_MAX_INRD_MAX_7_INRD = 0x7; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIPDECOMP_MAX_INRD_MAX_7_INRD, 12, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } - } - } + constexpr auto l_NX_DMA_EFTCOMP_MAX_INRD_MAX_13_INRD = 0xd; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFTCOMP_MAX_INRD_MAX_13_INRD, 33, 4, 60 ); + constexpr auto l_NX_DMA_EFTDECOMP_MAX_INRD_MAX_7_INRD = 0x7; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFTDECOMP_MAX_INRD_MAX_7_INRD, 37, 4, 60 ); + constexpr auto l_NX_DMA_GZIPCOMP_MAX_INRD_MAX_13_INRD = 0xd; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIPCOMP_MAX_INRD_MAX_13_INRD, 8, 4, 60 ); + constexpr auto l_NX_DMA_GZIPDECOMP_MAX_INRD_MAX_7_INRD = 0x7; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIPDECOMP_MAX_INRD_MAX_7_INRD, 12, 4, 60 ); + constexpr auto l_NX_DMA_SYM_MAX_INRD_MAX_3_INRD = 0x3; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_SYM_MAX_INRD_MAX_3_INRD, 25, 4, 60 ); + constexpr auto l_NX_DMA_SYM_CPB_CHECK_DISABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_SYM_CPB_CHECK_DISABLE_ON, 48, 1, 63 ); + constexpr auto l_NX_DMA_EFT_COMP_PREFETCH_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFT_COMP_PREFETCH_ENABLE_ON, 23, 1, 63 ); + constexpr auto l_NX_DMA_EFT_DECOMP_PREFETCH_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFT_DECOMP_PREFETCH_ENABLE_ON, 24, 1, 63 ); + constexpr auto l_NX_DMA_GZIP_COMP_PREFETCH_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIP_COMP_PREFETCH_ENABLE_ON, 16, 1, 63 ); + constexpr auto l_NX_DMA_GZIP_DECOMP_PREFETCH_ENABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIP_DECOMP_PREFETCH_ENABLE_ON, 17, 1, 63 ); + constexpr auto l_NX_DMA_EFT_SPBC_WRITE_ENABLE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFT_SPBC_WRITE_ENABLE_OFF, 56, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x201105cull)"); + break; + } + + constexpr auto l_NX_DMA_CH0_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH0_WATCHDOG_REF_DIV_DIVIDE_BY_4, 1, 4, 60 ); + constexpr auto l_NX_DMA_CH0_WATCHDOG_TIMER_ENBL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH0_WATCHDOG_TIMER_ENBL_ON, 0, 1, 63 ); + constexpr auto l_NX_DMA_CH1_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH1_WATCHDOG_REF_DIV_DIVIDE_BY_4, 6, 4, 60 ); + constexpr auto l_NX_DMA_CH1_WATCHDOG_TIMER_ENBL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH1_WATCHDOG_TIMER_ENBL_ON, 5, 1, 63 ); + constexpr auto l_NX_DMA_CH2_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH2_WATCHDOG_REF_DIV_DIVIDE_BY_4, 11, 4, 60 ); + constexpr auto l_NX_DMA_CH2_WATCHDOG_TIMER_ENBL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH2_WATCHDOG_TIMER_ENBL_ON, 10, 1, 63 ); + constexpr auto l_NX_DMA_CH3_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH3_WATCHDOG_REF_DIV_DIVIDE_BY_4, 16, 4, 60 ); + constexpr auto l_NX_DMA_CH3_WATCHDOG_TIMER_ENBL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH3_WATCHDOG_TIMER_ENBL_ON, 15, 1, 63 ); + constexpr auto l_NX_DMA_CH4_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH4_WATCHDOG_REF_DIV_DIVIDE_BY_4, 21, 4, 60 ); + constexpr auto l_NX_DMA_CH4_WATCHDOG_TIMER_ENBL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH4_WATCHDOG_TIMER_ENBL_ON, 20, 1, 63 ); + constexpr auto l_NX_DMA_DMA_HANG_TIMER_ENBL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_DMA_HANG_TIMER_ENBL_ON, 25, 1, 63 ); + constexpr auto l_NX_DMA_DMA_HANG_TIMER_REF_DIV_DIVIDE_BY_32 = 0x3; + l_scom_buffer.insert<uint64_t> (l_NX_DMA_DMA_HANG_TIMER_REF_DIV_DIVIDE_BY_32, 26, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x201105cull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x2011083ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2011083ull)"); + break; + } + + l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 13, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 14, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 15, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 25, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 26, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 29, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 2, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 30, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 38, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 3, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b11, 40, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 42, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 43, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 7, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011083ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2011083ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x2011086ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2011086ull)"); + break; + } + + l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 25, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 26, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 29, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 2, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 30, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 3, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b00, 40, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 42, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011086ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2011086ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x2011087ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2011087ull)"); + break; + } + + l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 11, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 18, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 1, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 25, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 26, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 29, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 2, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 30, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 31, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 32, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 33, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 34, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 3, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b00, 40, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 42, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 4, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 5, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011087ull, l_scom_buffer); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_SYM_MAX_INRD_MAX_3_INRD = 0x3; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_SYM_MAX_INRD_MAX_3_INRD, 25, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x2011087ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_SYM_CPB_CHECK_DISABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_SYM_CPB_CHECK_DISABLE_ON, 48, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x2011095ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_EFT_COMP_PREFETCH_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFT_COMP_PREFETCH_ENABLE_ON, 23, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x2011095ull)"); + break; } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } + constexpr auto l_NX_PBI_CQ_WRAP_NXCQ_SCOM_RD_GO_M_QOS_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_PBI_CQ_WRAP_NXCQ_SCOM_RD_GO_M_QOS_ON, 22, 1, 63 ); - { - constexpr auto l_NX_DMA_EFT_DECOMP_PREFETCH_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFT_DECOMP_PREFETCH_ENABLE_ON, 24, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_GZIP_COMP_PREFETCH_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIP_COMP_PREFETCH_ENABLE_ON, 16, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } + constexpr auto l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON, 23, 1, 63 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - - { - constexpr auto l_NX_DMA_GZIP_DECOMP_PREFETCH_ENABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_GZIP_DECOMP_PREFETCH_ENABLE_ON, 17, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } + constexpr auto l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF, 23, 1, 63 ); } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011042ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011042ull)"); - break; - } - { - constexpr auto l_NX_DMA_EFT_SPBC_WRITE_ENABLE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_EFT_SPBC_WRITE_ENABLE_OFF, 56, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_1, 25, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0xFC, 40, 8, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0xFC, 48, 8, 56 ); + l_rc = fapi2::putScom(TGT0, 0x2011095ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x2011042ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011042ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH0_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH0_WATCHDOG_REF_DIV_DIVIDE_BY_4, 1, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x2011095ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x20110a8ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH0_WATCHDOG_TIMER_ENBL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH0_WATCHDOG_TIMER_ENBL_ON, 0, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH1_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH1_WATCHDOG_REF_DIV_DIVIDE_BY_4, 6, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x20110a8ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_8, 8, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_8, 4, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_8, 12, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_8, 16, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x20110a8ull, l_scom_buffer); - { - constexpr auto l_NX_DMA_CH1_WATCHDOG_TIMER_ENBL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH1_WATCHDOG_TIMER_ENBL_ON, 5, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH2_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH2_WATCHDOG_REF_DIV_DIVIDE_BY_4, 11, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x20110a8ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH2_WATCHDOG_TIMER_ENBL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH2_WATCHDOG_TIMER_ENBL_ON, 10, 1, 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x20110c3ull, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH3_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH3_WATCHDOG_REF_DIV_DIVIDE_BY_4, 16, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x20110c3ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH3_WATCHDOG_TIMER_ENBL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH3_WATCHDOG_TIMER_ENBL_ON, 15, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_8, 27, 9, 55 ); + l_rc = fapi2::putScom(TGT0, 0x20110c3ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH4_WATCHDOG_REF_DIV_DIVIDE_BY_4 = 0x2; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH4_WATCHDOG_REF_DIV_DIVIDE_BY_4, 21, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x20110c3ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_CH4_WATCHDOG_TIMER_ENBL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_CH4_WATCHDOG_TIMER_ENBL_ON, 20, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_DMA_HANG_TIMER_ENBL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_DMA_HANG_TIMER_ENBL_ON, 25, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x201105cull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x201105cull)"); - break; - } - - { - constexpr auto l_NX_DMA_DMA_HANG_TIMER_REF_DIV_DIVIDE_BY_32 = 0x3; - l_scom_buffer.insert<uint64_t> (l_NX_DMA_DMA_HANG_TIMER_REF_DIV_DIVIDE_BY_32, 26, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x201105cull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x201105cull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x20110c3ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110c3ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_8, 27, 9, 55 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110c3ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110c3ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x20110c5ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x20110c4ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110c5ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_8, 27, 9, 55 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110c5ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110c5ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x20110c4ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110c4ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_8, 27, 9, 55 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110c4ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110c4ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x20110c4ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x20110d5ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110d5ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_8, 27, 9, 55 ); + l_rc = fapi2::putScom(TGT0, 0x20110c4ull, l_scom_buffer); - { - constexpr auto l_NX_PBI_PBI_UMAC_CRB_READS_ENBL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_PBI_PBI_UMAC_CRB_READS_ENBL_ON, 1, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110d5ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110d5ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011095ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011095ull)"); - break; - } - - { - constexpr auto l_NX_PBI_CQ_WRAP_NXCQ_SCOM_RD_GO_M_QOS_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_PBI_CQ_WRAP_NXCQ_SCOM_RD_GO_M_QOS_ON, 22, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011095ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011095ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x20110c4ull)"); + break; } } - - fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE_Type l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_PROC_FABRIC_ADDR_BAR_MODE, TGT1, l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE); - - if (l_rc) - { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_PROC_FABRIC_ADDR_BAR_MODE)"); - break; - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011095ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011095ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x20110c5ull, l_scom_buffer ); - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - constexpr auto l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_ON, 23, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) - { - constexpr auto l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_NX_PBI_CQ_WRAP_NXCQ_SCOM_ADDR_BAR_MODE_OFF, 23, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x2011095ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011095ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011095ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011095ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_1, 25, 2, 62 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011095ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011095ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x20110c5ull)"); + break; } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011095ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011095ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_8, 27, 9, 55 ); + l_rc = fapi2::putScom(TGT0, 0x20110c5ull, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0xFC, 40, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011095ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011095ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011095ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011095ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0xFC, 48, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011095ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011095ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x20110c5ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x20110a8ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x20110d5ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110a8ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_8, 8, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110a8ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110a8ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x20110a8ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110a8ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_8, 4, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110a8ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110a8ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x20110d5ull)"); + break; } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x20110a8ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110a8ull)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_8, 12, 4, 60 ); - } + constexpr auto l_NX_PBI_PBI_UMAC_CRB_READS_ENBL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_NX_PBI_PBI_UMAC_CRB_READS_ENBL_ON, 1, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x20110d5ull, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x20110a8ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110a8ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x20110a8ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110a8ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_8, 16, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110a8ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110a8ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x20110d5ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x20110d6ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x20110d6ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x20110d6ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_2, 9, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x20110d6ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x20110d6ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011106ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011106ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b000000, 25, 6, 58 ); - l_scom_buffer.insert<uint64_t> (literal_0b00, 2, 2, 62 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b00000000, 40, 8, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 48, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 49, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011106ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011106ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x20110d6ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011107ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011107ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_2, 9, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x20110d6ull, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 10, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 11, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 12, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 13, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 17, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 18, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b000000, 25, 6, 58 ); - l_scom_buffer.insert<uint64_t> (literal_0b00, 2, 2, 62 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 34, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 35, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 36, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 37, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 39, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b00000000, 40, 8, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 48, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 49, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 4, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 5, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 6, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 7, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 9, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011107ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011107ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011103ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011103ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 14, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 19, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b111111, 25, 6, 58 ); - l_scom_buffer.insert<uint64_t> (literal_0b11, 2, 2, 62 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 33, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b11111111, 40, 8, 56 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 48, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 49, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 8, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011103ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011103ull)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x20110d6ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011086ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011086ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 25, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 26, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 29, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 2, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 30, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 3, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b00, 40, 2, 62 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 42, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x2011103ull, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x2011086ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011086ull)"); - break; - } - } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x2011087ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011087ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 11, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 18, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 1, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 25, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 26, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 29, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 2, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 30, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 31, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 32, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 33, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 34, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 3, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b00, 40, 2, 62 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 42, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 43, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 4, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 5, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011087ull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011087ull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x2011103ull)"); + break; } - } - - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x2011083ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x2011083ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 13, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 14, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 15, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 25, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 26, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 27, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 28, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 29, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 2, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 30, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 38, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 3, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b11, 40, 2, 62 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 42, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 43, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b1, 7, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); - l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x2011083ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x2011083ull)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 14, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 19, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b111111, 25, 6, 58 ); + l_scom_buffer.insert<uint64_t> (literal_0b11, 2, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 33, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b11111111, 40, 8, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 48, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 49, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 8, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011103ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2011103ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x2011106ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2011106ull)"); + break; + } + + l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 10, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 11, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 12, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 13, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 17, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 18, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b000000, 25, 6, 58 ); + l_scom_buffer.insert<uint64_t> (literal_0b00, 2, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 34, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 35, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 36, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 37, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 39, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b00000000, 40, 8, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 48, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 49, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 4, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 5, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 6, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 7, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 9, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011106ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2011106ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x2011107ull, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x2011107ull)"); + break; + } + + l_scom_buffer.insert<uint64_t> (literal_0b0, 0, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 10, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 11, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 12, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 13, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 14, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 15, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 16, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 17, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 18, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 19, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 1, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 20, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 21, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 22, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 23, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 24, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b000000, 25, 6, 58 ); + l_scom_buffer.insert<uint64_t> (literal_0b00, 2, 2, 62 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 31, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 32, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 33, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 34, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 35, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 36, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 37, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 38, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 39, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b00000000, 40, 8, 56 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 48, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 49, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 4, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 5, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 6, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 7, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b0, 8, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b1, 9, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x2011107ull, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x2011107ull)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C index e45af043a..a43095f49 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C @@ -29,25 +29,25 @@ using namespace fapi2; -constexpr auto literal_0b000000 = 0b000000; -constexpr auto literal_0b000 = 0b000; -constexpr auto literal_0b110 = 0b110; constexpr auto literal_0 = 0; -constexpr auto literal_0b0010101 = 0b0010101; constexpr auto literal_1 = 1; -constexpr auto literal_0b0010110 = 0b0010110; -constexpr auto literal_0b1000110 = 0b1000110; -constexpr auto literal_0b00100 = 0b00100; +constexpr auto literal_0b1000 = 0b1000; +constexpr auto literal_0b10000 = 0b10000; +constexpr auto literal_0b0011 = 0b0011; +constexpr auto literal_0b1010 = 0b1010; +constexpr auto literal_0b000000 = 0b000000; +constexpr auto literal_0b000 = 0b000; constexpr auto literal_0b010 = 0b010; constexpr auto literal_0b001 = 0b001; constexpr auto literal_0b0010 = 0b0010; constexpr auto literal_0b0001 = 0b0001; constexpr auto literal_0b101 = 0b101; constexpr auto literal_0b100 = 0b100; -constexpr auto literal_0b0011 = 0b0011; -constexpr auto literal_0b1010 = 0b1010; -constexpr auto literal_0b1000 = 0b1000; -constexpr auto literal_0b10000 = 0b10000; +constexpr auto literal_0b110 = 0b110; +constexpr auto literal_0b00100 = 0b00100; +constexpr auto literal_0b0010101 = 0b0010101; +constexpr auto literal_0b0010110 = 0b0010110; +constexpr auto literal_0b1000110 = 0b1000110; fapi2::ReturnCode p9_obus_scom(const fapi2::Target<fapi2::TARGET_TYPE_OBUS>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -56,13256 +56,5553 @@ fapi2::ReturnCode p9_obus_scom(const fapi2::Target<fapi2::TARGET_TYPE_OBUS>& TGT do { - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008080009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008080009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008080009010c3full, l_scom_buffer); + fapi2::ATTR_IS_SIMULATION_Type l_TGT1_ATTR_IS_SIMULATION; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT1, l_TGT1_ATTR_IS_SIMULATION); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008080009010c3full)"); - break; - } - } - } + if (l_rc) { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800c0c0009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c0c0009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800c0c0009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c0c0009010c3full)"); - break; - } - } + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); + break; } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009700009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009700009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON, 48, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8009700009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009700009010c3full)"); - break; - } - } - } + auto l_def_IS_HW = (l_TGT1_ATTR_IS_SIMULATION == literal_0); + auto l_def_IS_SIM = (l_TGT1_ATTR_IS_SIMULATION == literal_1); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000009010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002200009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8002200109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200109010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200109010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000009010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200209010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8002200209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8002200309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200309010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200409010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200509010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000000009010c3full, l_scom_buffer); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8002200609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200609010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000109010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8002200809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200809010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000109010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200909010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200909010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8002200a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200a09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200a09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200b09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200b09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200c09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8002200c09010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000000109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8002200d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200d09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200d09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200d09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000209010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200e09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200e09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8002200f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200f09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200f09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200f09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000209010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002201009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8002201009010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8002201109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201109010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002201109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002201209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201209010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002201209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002201309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201309010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000000209010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8002201309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8002201409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002201409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002201509010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201509010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002201509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8002201609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201609010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002201609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000309010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002201709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201709010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, - 1, 63 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8002201709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000080009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000080109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080109010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080209010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000000309010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8000080209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000080309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080309010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000409010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000080409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000080509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080509010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000409010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080609010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8000080609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000080709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080709010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080709010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000080809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080809010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080809010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080909010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080909010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000000409010c3full, l_scom_buffer); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000080a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080a09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080b09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000509010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000080c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080c09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000509010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080d09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080d09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080d09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080d09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000080e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080e09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080e09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080e09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000080f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080f09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080f09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080f09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000081009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000081009010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000000509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000081109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081109010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000081109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081109010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000081209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081209010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000081209010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000000609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000081309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000081309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081309010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000609010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000081409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000081409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000081509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081509010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000081509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081509010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000081609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081609010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000081609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081609010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000081709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081709010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000000609010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8000081709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004040009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040109010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040109010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000000709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004040209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040209010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040209010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000709010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040309010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8004040309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8004040409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040409010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040509010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040509010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040609010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000000709010c3full, l_scom_buffer); - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004040709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040709010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040809010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000809010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8004040809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004040909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040909010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000809010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040a09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040a09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8004040b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040b09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040b09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040c09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040c09010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040d09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040d09010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000000809010c3full, l_scom_buffer); - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040d09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040d09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004040e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040e09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040e09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040e09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000909010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040f09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040f09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004041009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000909010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004041109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8004041209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041209010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004041309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041309010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004041409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8004041409010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000000909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004041509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041509010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004041609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000a09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041609010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8004041709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041709010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000a09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008100009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008100009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 48, 3, 61 ); - } - l_rc = fapi2::putScom(TGT0, 0x8008100009010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008100009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8008c00009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c00009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_IREF_PDWN_B_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_IREF_PDWN_B_ON, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008c00009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c00009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c140009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c140009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000, 48, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800c140009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c140009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800b800009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800b800009010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF, 60, 1, - 63 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000000a09010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x800b800009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800b800009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8009880009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009880009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b110, 48, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009880009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009880009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000a09010c3full)"); + break; } } - fapi2::ATTR_IS_SIMULATION_Type l_TGT1_ATTR_IS_SIMULATION; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT1, l_TGT1_ATTR_IS_SIMULATION); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000b09010c3full, l_scom_buffer ); - auto l_def_IS_HW = (l_TGT1_ATTR_IS_SIMULATION == literal_0); - auto l_def_IS_SIM = (l_TGT1_ATTR_IS_SIMULATION == literal_1); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x800f2c0009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800f2c0009010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010101, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010110, 48, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x800f2c0009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800f2c0009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000b09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800f2c0009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800f2c0009010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b1000110, 55, 7, 57 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x800f2c0009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800f2c0009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x800f1c0009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800f1c0009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b00100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800f1c0009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800f1c0009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008580009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008580009010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 48, 3, 61 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b001, 48, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8008580009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008580009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008580009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008580009010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000000b09010c3full, l_scom_buffer); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 51, 3, 61 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b001, 51, 3, 61 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8008580009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008580009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8008580009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008580009010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010, 60, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001, 60, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8008580009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008580009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008580009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008580009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b101, 54, 3, 61 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000c09010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8008580009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008580009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8008580009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008580009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b101, 57, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008580009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008580009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000c09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008600009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008600009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 48, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008600009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008600009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8008600009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008600009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 51, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008600009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008600009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008600009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008600009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 54, 3, 61 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008600009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008600009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008680009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008680009010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b100, 60, 3, 61 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b010, 60, 3, 61 ); - } - } - l_rc = fapi2::putScom(TGT0, 0x8008680009010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000000c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008680009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000d09010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000009010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000d09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000300009010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000a00009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c80009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000300009010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000000d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000e09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000e09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000980009010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000c00009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280009010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280009010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000000e09010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8000280009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000f09010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000980009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00009010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000000f09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00009010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8000c00009010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00009010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000000109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000109010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000109010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000109010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000000f09010c3full, l_scom_buffer); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300109010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000000f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000001009010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000a00109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80109010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001009010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000a00109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c80109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000280109010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000001009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980109010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000001109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280109010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001109010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000280109010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000980109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000980109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980109010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00109010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000001109010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8000c00109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00109010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00109010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00109010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000209010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000209010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000001209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000209010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000209010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001209010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000209010c3full)"); - break; - } - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8000000209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000300209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000a00209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80209010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000001209010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8000c80209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300209010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000001309010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000a00209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80209010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001309010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280209010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8000280209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000980209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c00209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280209010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000001309010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280209010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000001409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980209010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001409010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00209010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000c00209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00209010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00209010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000309010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000000309010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000001409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000309010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000309010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000001509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00309010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001509010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000c80309010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000300309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300309010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000a00309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00309010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80309010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000001509010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8000c80309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280309010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980309010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000001609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00309010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001609010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280309010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8000280309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000280309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280309010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000980309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980309010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980309010c3full)"); - break; - } - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + l_rc = fapi2::putScom(TGT0, 0x8000001609010c3full, l_scom_buffer); - l_rc = fapi2::putScom(TGT0, 0x8000980309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00309010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000001709010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000c00309010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00309010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000001709010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000409010c3full)"); - break; - } - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - l_rc = fapi2::putScom(TGT0, 0x8000000409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_def_IS_HW) { - l_rc = fapi2::getScom( TGT0, 0x8000000409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000409010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000409010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = + 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000300409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300409010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = + 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00409010c3full)"); - break; - } + l_rc = fapi2::putScom(TGT0, 0x8000001709010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000001709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080009010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80409010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080009010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080109010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280409010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080109010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080209010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080209010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00409010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080209010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00409010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00409010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00409010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080309010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000509010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080309010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000509010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080309010c3full, l_scom_buffer); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080409010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300509010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080409010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080509010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980509010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080509010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080609010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080609010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980509010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080609010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00509010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00509010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00509010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080709010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000609010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080709010c3full, l_scom_buffer); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000609010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080809010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080809010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00609010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080809010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080909010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080909010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80609010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080909010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080a09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080a09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280609010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080a09010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080b09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080b09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00609010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080b09010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00609010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00609010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00609010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080c09010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000709010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080c09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000709010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080c09010c3full, l_scom_buffer); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080d09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080d09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300709010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080d09010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080e09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080e09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980709010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080e09010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080f09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000080f09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980709010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080f09010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000080f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000081009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00709010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00709010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00709010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081009010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000809010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000809010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081009010c3full, l_scom_buffer); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000809010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000809010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000081109010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081109010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00809010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00809010c3full)"); - break; - } + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081109010c3full, l_scom_buffer); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300809010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000081209010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081209010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000c80809010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980809010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000081309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081309010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000280809010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980809010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000081409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081409010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000c00809010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00809010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00809010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00809010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00809010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00809010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000909010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000909010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000081509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000909010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081509010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000909010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - l_rc = fapi2::putScom(TGT0, 0x8000000909010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00909010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000081609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081609010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000300909010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80909010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000081709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000081709010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000980909010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000081709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280909010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280009010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000980909010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00909010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00909010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00909010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00909010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00909010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00909010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280109010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000a09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000000a09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000a09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000a09010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000a09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280209010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000a00a09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300a09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280309010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000c80a09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980a09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280409010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000280a09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980a09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280509010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000c00a09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00a09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00a09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00a09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00a09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00a09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000b09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000b09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000b09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280609010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000b09010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - l_rc = fapi2::putScom(TGT0, 0x8000000b09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00b09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280709010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000300b09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80b09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280809010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280809010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000980b09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280b09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280909010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280909010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000980b09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00b09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280a09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00b09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00b09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00b09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00b09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00b09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280a09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000c09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000000c09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000c09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000c09010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000c09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280b09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280b09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000a00c09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c80c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c80c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300c09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280c09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000a00c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a00c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280c09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000c80c09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980c09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280d09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280d09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000280c09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000280c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000280c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980c09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280e09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000980c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000980c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280e09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } - l_rc = fapi2::putScom(TGT0, 0x8000c00c09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00c09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000c00c09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00c09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00c09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00c09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000d09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000d09010c3full, l_scom_buffer); + l_rc = fapi2::getScom( TGT0, 0x8000280f09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000d09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000000d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000d09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000d09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000d09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x8000280f09010c3full)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000d09010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } - l_rc = fapi2::putScom(TGT0, 0x8000000d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000280f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000d09010c3full)"); - break; - } - } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x8000300d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300d09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300d09010c3full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300d09010c3full)"); - break; - } + FAPI_ERR("ERROR executing: putScom (0x8000280f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00d09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000281009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00d09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a00d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000281109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c80d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000281209010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00d09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000281309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00d09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a00d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80d09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000281409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80d09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c80d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000281509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000281609010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00d09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000281709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00d09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000281709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300209010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980d09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980d09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00d09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00d09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00d09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00d09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300609010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000e09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000e09010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300809010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300809010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300909010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300909010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300a09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300a09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a00e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80e09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300b09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80e09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300b09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c80e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300c09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300c09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300d09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300d09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a00e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80e09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300e09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80e09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300e09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c80e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280e09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300f09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280e09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300f09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000300f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000301009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000301109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280e09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000301209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280e09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280e09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000301309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280e09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000301409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000301509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00e09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000301609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00e09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00e09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00e09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000301709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00e09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000301709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00e09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980009010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980109010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000f09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000980209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000f09010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980309010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a00f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c80f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300f09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000980609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300f09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a00f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a00f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a00f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a00f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c80f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c80f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980809010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980809010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c80f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c80f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980909010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980909010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980f09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000980a09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980f09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980a09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980b09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980b09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980c09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980c09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280f09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000980d09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280f09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980d09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980f09010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000980e09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980f09010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980e09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000980f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000980f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000980f09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000980f09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000980f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000980f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000980f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000980f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000981009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00f09010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00f09010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000981109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00f09010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00f09010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000981209010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000981309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000981409010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000981509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000981609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000981709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000981709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000981709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000981709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a00209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a00309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a00609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00809010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00809010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00909010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00909010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01009010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a00a09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01009010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00a09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01009010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00b09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00b09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00c09010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00c09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00d09010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00d09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001109010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a00e09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001109010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00e09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a00f09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a00f09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a00f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a00f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a01009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a01109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301109010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a01209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a01309010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a01409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281109010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a01509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981109010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000a01609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000a01709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000a01709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000a01709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000a01709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281109010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981109010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00309010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01109010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01109010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01109010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01109010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01109010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01109010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00609010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00709010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00809010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00809010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301209010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00909010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00909010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00a09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00a09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00b09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00b09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00c09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00c09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01209010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00d09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00d09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00e09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00e09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00f09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00f09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c00f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c01009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01209010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c01109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c01209010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c01309010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981209010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c01409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981209010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c01509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981209010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c01609010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01209010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01209010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c01709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01209010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); + l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8000c01709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01209010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001309010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c80009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001309010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c80109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001309010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80209010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80309010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01309010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c80409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80609010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81309010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c80809010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80809010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80909010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80909010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80a09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80a09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80b09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80b09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281309010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c80c09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80c09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80d09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80d09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80e09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80e09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c80f09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c80f09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c80f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c80f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01309010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c81009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01309010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01309010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01309010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c81109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01309010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01309010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c81209010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001409010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001409010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c81309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001409010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001409010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001409010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c81409010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001409010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001409010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c81509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301409010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c81609010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01409010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81409010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c81709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c81709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81409010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8000c81709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c81709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301409010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200209010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281409010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200609010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281409010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200809010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200809010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200909010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200909010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01409010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01409010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200a09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200a09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01409010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200b09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01409010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200b09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01409010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01409010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200c09010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200c09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200d09010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200d09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200e09010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200e09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301509010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200f09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200f09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002201009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002201109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301509010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002201209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01509010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002201309010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_4_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002201409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002201509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981509010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002201609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01509010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002201709010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040109010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981509010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981509010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040309010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01509010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01509010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040509010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01509010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01509010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001609010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040709010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040809010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040809010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040809010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040809010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040909010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040909010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040909010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040909010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040a09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040a09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040a09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040a09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040b09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040b09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040b09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040b09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040c09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040c09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040c09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040c09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040d09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040d09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040d09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040d09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040e09010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040e09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c81609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040e09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040e09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040f09010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040f09010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040f09010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040f09010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004041009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004041109010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041109010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041109010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041109010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004041209010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041209010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041209010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041209010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004041309010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041309010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_4_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041309010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041309010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004041409010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041409010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041409010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041409010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004041509010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041509010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041509010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041509010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01609010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004041609010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01609010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041609010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041609010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041609010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01609010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01609010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004041709010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041709010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01609010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_TX0_TXPACKS_5_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041709010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01609010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041709010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008000009010c3full, l_scom_buffer ); - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008000009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001709010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PG_SPARE_MODE_4_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PG_SPARE_MODE_4_OFF, 52, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8008000009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008000009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001709010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8008080009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001709010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008080009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x8008080009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008080009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008100009010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = - 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON = - 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOO0_IOO_CPLT_RX0_RXPACKS_5_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_ON, 55, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008100009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000, 48, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x8008100009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008100009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008580009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000301709010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008580009010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301709010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b010, 48, 3, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000a01709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000a01709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b001, 48, 3, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01709010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b010, 51, 3, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c81709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0011, 48, 4, 60 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c81709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b001, 51, 3, 61 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81709010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010, 60, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000301709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 53, 4, 60 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b0001, 60, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000301709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b101, 54, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b101, 57, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x8008580009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008580009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000a01709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000a01709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008600009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008600009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000a01709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b010, 48, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 51, 3, 61 ); + l_scom_buffer.insert<uint64_t> (literal_0b010, 54, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x8008600009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000a01709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008600009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c81709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c81709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1010, 52, 4, 60 ); - } + l_rc = fapi2::getScom( TGT0, 0x8008680009010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000c81709010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008680009010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c81709010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b100, 60, 3, 61 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000281709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b010, 60, 3, 61 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000281709010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8008680009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008680009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008c00009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008c00009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981709010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_IREF_PDWN_B_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_IREF_PDWN_B_ON, 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8008c00009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008c00009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009700009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b1000, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009700009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01709010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON, 48, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8009700009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009700009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281709010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009880009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009880009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b110, 48, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x8009880009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009880009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800b800009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800b800009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281709010c3full, l_scom_buffer); + constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF, 60, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x800b800009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800b800009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c0c0009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c0c0009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x800c0c0009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c0c0009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000981709010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000981709010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c140009010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c140009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000981709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000, 48, 3, 61 ); + l_rc = fapi2::putScom(TGT0, 0x800c140009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000981709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c140009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01709010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800f1c0009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 52, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800f1c0009010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01709010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00100, 48, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x800f1c0009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01709010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800f1c0009010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01709010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800f2c0009010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01709010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b10000, 57, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000c01709010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800f2c0009010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01709010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010101, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008000009010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008000009010c3full)"); - break; - } - - { - constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PG_SPARE_MODE_4_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PG_SPARE_MODE_4_OFF, 52, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b0010110, 48, 7, 57 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008000009010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1000110, 55, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x800f2c0009010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008000009010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800f2c0009010c3full)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_psi_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_psi_scom.C index e67548982..02465b4a3 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_psi_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_psi_scom.C @@ -29,13 +29,13 @@ using namespace fapi2; -constexpr auto literal_0x000 = 0x000; -constexpr auto literal_0b00000 = 0b00000; +constexpr auto literal_0xFE00000000000000 = 0xFE00000000000000; +constexpr auto literal_0x0000000000000000 = 0x0000000000000000; +constexpr auto literal_0b00111001000000101111111111111 = 0b00111001000000101111111111111; constexpr auto literal_0b00000000000000000000000000000 = 0b00000000000000000000000000000; constexpr auto literal_0b11000110001010010000000000000 = 0b11000110001010010000000000000; -constexpr auto literal_0b00111001000000101111111111111 = 0b00111001000000101111111111111; -constexpr auto literal_0x0000000000000000 = 0x0000000000000000; -constexpr auto literal_0xFE00000000000000 = 0xFE00000000000000; +constexpr auto literal_0x000 = 0x000; +constexpr auto literal_0b00000 = 0b00000; fapi2::ReturnCode p9_psi_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0) { @@ -61,179 +61,132 @@ fapi2::ReturnCode p9_psi_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x4011803ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x501290full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x501290full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x000, 16, 12, 52 ); - l_scom_buffer.insert<uint64_t> (literal_0b00000, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x501290full, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x501290full)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x4011803ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012906ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0xFE00000000000000, 0, 7, 0 ); + l_rc = fapi2::putScom(TGT0, 0x4011803ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012906ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x4011803ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x4011806ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b00000000000000000000000000000, 0, 29, 35 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x4011806ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012906ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0000000000000000, 0, 7, 0 ); + l_rc = fapi2::putScom(TGT0, 0x4011806ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012906ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x4011806ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012907ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x4011807ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012907ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b11000110001010010000000000000, 0, 29, 35 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x4011807ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012907ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0000000000000000, 0, 7, 0 ); + l_rc = fapi2::putScom(TGT0, 0x4011807ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012907ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x4011807ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x5012903ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x5012903ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012903ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b00111001000000101111111111111, 0, 29, 35 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012903ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x5012903ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00111001000000101111111111111, 0, 29, 35 ); + l_rc = fapi2::putScom(TGT0, 0x5012903ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x5012903ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012903ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x4011806ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x4011806ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012906ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0000000000000000, 0, 7, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012906ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x4011806ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00000000000000000000000000000, 0, 29, 35 ); + l_rc = fapi2::putScom(TGT0, 0x5012906ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x4011806ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012906ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x4011807ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x4011807ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x5012907ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0000000000000000, 0, 7, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x5012907ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x4011807ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b11000110001010010000000000000, 0, 29, 35 ); + l_rc = fapi2::putScom(TGT0, 0x5012907ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x4011807ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x5012907ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x4011803ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x4011803ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x501290full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0xFE00000000000000, 0, 7, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x501290full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x4011803ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x000, 16, 12, 52 ); + l_scom_buffer.insert<uint64_t> (literal_0b00000, 48, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x501290full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x4011803ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x501290full)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C index e9b0f8ade..6f1eb562d 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C @@ -29,9 +29,9 @@ using namespace fapi2; +constexpr auto literal_0x00000100000D7FFF = 0x00000100000D7FFF; constexpr auto literal_0x0000000000000FFF = 0x0000000000000FFF; constexpr auto literal_0x00FF0203C00C0FFF = 0x00FF0203C00C0FFF; -constexpr auto literal_0x00000100000D7FFF = 0x00000100000D7FFF; constexpr auto literal_0x1 = 0x1; fapi2::ReturnCode p9_vas_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, @@ -68,162 +68,123 @@ fapi2::ReturnCode p9_vas_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& break; } + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x3011803ull, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x301184eull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x301184eull)"); - break; - } - - { - if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) - { - constexpr auto l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_ON, 13, 1, 63 ); - } - else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) - { - constexpr auto l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_OFF, 13, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x301184eull, l_scom_buffer); - - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x301184eull)"); - break; - } + FAPI_ERR("ERROR executing: getScom (0x3011803ull)"); + break; } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x3011806ull, l_scom_buffer ); + l_scom_buffer.insert<uint64_t> (literal_0x00000100000D7FFF, 0, 54, 0 ); + l_rc = fapi2::putScom(TGT0, 0x3011803ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x3011806ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x3011803ull)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x3011806ull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x0000000000000FFF, 0, 54, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x3011806ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x3011806ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x0000000000000FFF, 0, 54, 0 ); + l_rc = fapi2::putScom(TGT0, 0x3011806ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x3011806ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x3011806ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x3011807ull, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x3011807ull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x3011807ull)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0x00FF0203C00C0FFF, 0, 54, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x3011807ull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x3011807ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x00FF0203C00C0FFF, 0, 54, 0 ); + l_rc = fapi2::putScom(TGT0, 0x3011807ull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x3011807ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x3011807ull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x3011803ull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x3011803ull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x301184dull, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x00000100000D7FFF, 0, 54, 0 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x301184dull)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x3011803ull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x1, 19, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x301184dull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x3011803ull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x301184dull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x301184full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x301184eull, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x301184full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x301184eull)"); + break; + } - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 1, 63 ); - } + if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_SMALL_SYSTEM)) + { + constexpr auto l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_ON, 13, 1, 63 ); + } + else if ((l_TGT1_ATTR_PROC_FABRIC_ADDR_BAR_MODE == fapi2::ENUM_ATTR_PROC_FABRIC_ADDR_BAR_MODE_LARGE_SYSTEM)) + { + constexpr auto l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_VA_VA_SOUTH_VA_EG_EG_SCF_ADDR_BAR_MODE_OFF, 13, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x301184full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x301184eull, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x301184full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x301184eull)"); + break; } } - { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x301184dull, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x301184dull)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x301184full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0x1, 19, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x301184full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x301184dull, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0x1, 0, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x301184full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x301184dull)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x301184full)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g0_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g0_scom.C index 2ff0b5e22..b96148895 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g0_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g0_scom.C @@ -29,19 +29,8 @@ using namespace fapi2; -constexpr auto literal_1 = 1; -constexpr auto literal_0b000000 = 0b000000; -constexpr auto literal_0b0000000 = 0b0000000; -constexpr auto literal_0b0010000 = 0b0010000; -constexpr auto literal_0b0010001 = 0b0010001; -constexpr auto literal_0b0000000000000000 = 0b0000000000000000; -constexpr auto literal_0b01111111 = 0b01111111; -constexpr auto literal_0b00001 = 0b00001; -constexpr auto literal_0b01 = 0b01; -constexpr auto literal_0b11 = 0b11; -constexpr auto literal_0b1100 = 0b1100; constexpr auto literal_0 = 0; -constexpr auto literal_0b00 = 0b00; +constexpr auto literal_1 = 1; constexpr auto literal_0b0000 = 0b0000; constexpr auto literal_0b0110 = 0b0110; constexpr auto literal_0b00000 = 0b00000; @@ -49,12 +38,23 @@ constexpr auto literal_0b01111 = 0b01111; constexpr auto literal_0b01100 = 0b01100; constexpr auto literal_0b0111 = 0b0111; constexpr auto literal_0b1011 = 0b1011; +constexpr auto literal_0b0000000 = 0b0000000; constexpr auto literal_0b0000011 = 0b0000011; +constexpr auto literal_0b000000 = 0b000000; constexpr auto literal_0b100111 = 0b100111; constexpr auto literal_0b1111 = 0b1111; -constexpr auto literal_0b10 = 0b10; +constexpr auto literal_0b01 = 0b01; +constexpr auto literal_0b11 = 0b11; +constexpr auto literal_0b0010000 = 0b0010000; +constexpr auto literal_0b00001 = 0b00001; constexpr auto literal_0b0001 = 0b0001; constexpr auto literal_0b0010 = 0b0010; +constexpr auto literal_0b0010001 = 0b0010001; +constexpr auto literal_0b0000000000000000 = 0b0000000000000000; +constexpr auto literal_0b01111111 = 0b01111111; +constexpr auto literal_0b10 = 0b10; +constexpr auto literal_0b1100 = 0b1100; +constexpr auto literal_0b00 = 0b00; fapi2::ReturnCode p9_xbus_g0_scom(const fapi2::Target<fapi2::TARGET_TYPE_XBUS>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -63,6 +63,17 @@ fapi2::ReturnCode p9_xbus_g0_scom(const fapi2::Target<fapi2::TARGET_TYPE_XBUS>& do { + fapi2::ATTR_IS_SIMULATION_Type l_TGT1_ATTR_IS_SIMULATION; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT1, l_TGT1_ATTR_IS_SIMULATION); + + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); + break; + } + + auto l_def_IS_HW = (l_TGT1_ATTR_IS_SIMULATION == literal_0); + auto l_def_IS_SIM = (l_TGT1_ATTR_IS_SIMULATION == literal_1); fapi2::ATTR_IO_XBUS_MASTER_MODE_Type l_TGT0_ATTR_IO_XBUS_MASTER_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_IO_XBUS_MASTER_MODE, TGT0, l_TGT0_ATTR_IO_XBUS_MASTER_MODE); @@ -73,10108 +84,5971 @@ fapi2::ReturnCode p9_xbus_g0_scom(const fapi2::Target<fapi2::TARGET_TYPE_XBUS>& } auto l_def_is_master = (l_TGT0_ATTR_IO_XBUS_MASTER_MODE == literal_1); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009900006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009900006010c3full)"); - break; - } - - { - if (l_def_is_master) - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER, 48, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8009900006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009900006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008080006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008080006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008080006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008080006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800c0c0006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c0c0006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800c0c0006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c0c0006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8009700006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009700006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON, 48, - 1, 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8009700006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009700006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009800006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009800006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009800006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000206010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009800006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c840006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c840006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c840006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c840006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009800006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009800006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000306010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009800006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000306010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009800006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c840006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c840006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c840006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c840006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009b80006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009b80006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000406010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009b80006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000406010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009b80006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c1c0006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c1c0006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 56, 7, 57 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c1c0006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c1c0006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009b80006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009b80006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000506010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 55, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009b80006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000506010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009b80006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8009e00006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009e00006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8009e00006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009e00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009e80006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009e80006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000606010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009e80006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000606010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009e80006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800cec0006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800cec0006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800cec0006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800cec0006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800cf40006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800cf40006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000706010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800cf40006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000706010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800cf40006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000806010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002200106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000806010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200106010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200206010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000906010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002200306010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000906010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200306010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000000a06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002200506010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000a06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200506010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200706010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000b06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200706010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000c06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200906010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000c06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200906010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000000d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200b06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000d06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200d06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000e06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002200e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002200e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002200f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000000f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002200f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002200f06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000000f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002200f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002201006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002201006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000000f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000000f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002201106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000001006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002201106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002201106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000001006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002201106010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000080006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000080006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000001006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000001006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000001106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000080106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000001106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080106010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000080206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000080206010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000001106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000001106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000080006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080306010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080106010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080206010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080506010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000080306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080406010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000080506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000080706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080906010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000080a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000080f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000080c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000080f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000080f06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000080f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000081006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000081006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000081106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000080e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000081106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000081106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000081106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000080f06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000080f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004040006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000080f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000080f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000081006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000081006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004040106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000081006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000081106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000081106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004040206010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000081106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000081106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040306010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040406010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040406010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004040606010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280106010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040706010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040806010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040806010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004040a06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000280206010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8004040b06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280206010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040c06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040c06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004040e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004040e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004040f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000280306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004040f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004040f06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280306010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004040f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004041006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004041006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004041006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004041006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008100006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008100006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF, 48, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008100006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008100006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c140006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c140006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF, 48, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c140006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c140006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009900006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009900006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280406010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON, 58, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009900006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280406010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009900006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c140006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c140006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON, 59, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800c140006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c140006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = - 0x1000; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = - 0xf03e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c00106010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c00206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = - 0x7bc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000280506010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002c00206010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280506010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = - 0x7c7; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = - 0x3ef; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00406010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00406010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = - 0x1f0f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c00506010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c00606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000280606010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = - 0x1800; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00606010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280606010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00606010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = - 0x9c00; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = - 0x1000; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00806010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00806010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = - 0x9c00; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c00906010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c00a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280706010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = - 0x1800; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00a06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280706010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00a06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = - 0x1f0f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = - 0x3ef; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00c06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00c06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = - 0x7c7; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c00d06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c00e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = - 0x7bc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00e06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280806010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c00f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c00f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = - 0xf03e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c00f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c00f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c01006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c01006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = - 0x1000; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c01006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c01006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = - 0x42; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c80006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c80106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000280906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = - 0x3e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280906010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80206010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, - 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = - 0x60; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c80406010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c80506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280a06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80506010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280a06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80606010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80606010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = - 0x42; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c80806010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c80906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80906010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280b06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80a06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80a06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c80c06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c80d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = - 0x60; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000280c06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002c80d06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280c06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80e06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, - 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80e06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c80f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c80f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = - 0x3e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c80f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c80f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c81006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c81006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = - 0x42; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c81006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c81006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c0006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0006010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000280d06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x80043c0006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280d06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0106010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = - 0x1e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = - 0x1f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c0306010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c0406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000280e06010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, - 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0406010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280e06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0406010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = - 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = - 0xc63; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0606010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0606010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = - 0xe73; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c0706010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c0806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000280f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0806010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0806010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000280f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0806010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = - 0xe73; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = - 0xc63; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0a06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0a06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = - 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c0b06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000280f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000280f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c0c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0c06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, - 48 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000281006010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x80043c0c06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0c06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = - 0x1f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = - 0x1e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c0e06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c0f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c0f06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c0f06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000281006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c0f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c1006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000281106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c1006010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c1006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000281106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c1006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 - = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004440006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 - = 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004440106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 - = 0x7b; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004440206010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000281106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000281106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004440306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300006010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004440306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 - = 0x5e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004440406010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004440506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300106010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004440506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440606010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004440606010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004440706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440706010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004440706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 - = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004440806010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004440906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300306010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004440906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440a06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004440a06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004440b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300406010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004440b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 - = 0x5e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004440c06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004440d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440d06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004440d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004440e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 - = 0x7b; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004440e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004440f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004440f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 - = 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004440f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004440f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004441006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004441006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 - = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004441006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004441006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009980006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009980006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b00001, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8009980006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009980006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c140006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c140006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b00001, 53, 5, 59 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c140006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c140006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800a800006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800a800006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER, 56, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800a800006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800a800006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008c00006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c00006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01, 48, 2, 62 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008c00006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008c00006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c00006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008c00006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c00006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008c00006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c00006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON, 56, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008c00006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008c00006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c00006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 57, 2, 62 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008c00006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c00006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008c00006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c00006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON, 59, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008c00006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008c00006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c00006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON, 60, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008c00006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c00006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800b800006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800b800006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF, 60, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800b800006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800b800006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008300006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008300006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, 51, 3, - 61 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008300006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008300006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008300006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008300006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, 54, - 2, 62 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008300006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008300006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800c8c0006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c8c0006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000300d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, - 55, 3, 61 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800c8c0006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c8c0006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c8c0006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c8c0006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, - 58, 2, 62 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c8c0006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c8c0006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800af80006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000300e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800af80006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1100, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000300e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800af80006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800af80006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800af80006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800af80006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1100, 52, 4, 60 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800af80006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800af80006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x8000300f06010c3full, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x800a800006010c3full, l_scom_buffer ); + FAPI_ERR("ERROR executing: getScom (0x8000300f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800a800006010c3full)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - { - constexpr auto l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON, 50, 1, 63 ); - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800a800006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000300f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800a800006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000300f06010c3full)"); + break; } } - fapi2::ATTR_IS_SIMULATION_Type l_TGT1_ATTR_IS_SIMULATION; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT1, l_TGT1_ATTR_IS_SIMULATION); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000301006010c3full, l_scom_buffer ); - auto l_def_IS_HW = (l_TGT1_ATTR_IS_SIMULATION == literal_0); - auto l_def_IS_SIM = (l_TGT1_ATTR_IS_SIMULATION == literal_1); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x800c040006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c040006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 56, 2, 62 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01, 56, 2, 62 ); - } - } + FAPI_ERR("ERROR executing: getScom (0x8000301006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800c040006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c040006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000000d06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000301006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000301106010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000301106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000000d06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000301106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000301106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000280d06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000280d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000280d06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00106010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300d06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000300d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000300d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c00d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000c00d06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00206010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00d06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00206010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000000f06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000f06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00306010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000280f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000280f06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + l_rc = fapi2::getScom( TGT0, 0x8000c00406010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000280f06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00406010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000300f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300f06010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000300f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000300f06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00f06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00506010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c00f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000000e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000e06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00606010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000e06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000280e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + l_rc = fapi2::getScom( TGT0, 0x8000c00706010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000280e06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00706010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000280e06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000300e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300e06010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000300e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00806010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000300e06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00806010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c00e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00e06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c00e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000c00e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000001006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00906010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000001006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000001006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000001006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000001006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + l_rc = fapi2::getScom( TGT0, 0x8000c00a06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000281006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00a06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000281006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000281006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000281006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000281006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000301006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00b06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000301006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000301006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c01006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000c01006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c01006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00c06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000000b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000000b06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000b06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00d06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000280b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000280b06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280b06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c00e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000280b06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00e06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000300b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300b06010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000300b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000300b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000300b06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c00f06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00b06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c00f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c00b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c00b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000906010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000000906010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c00f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c00f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c01006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000906010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000000906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000000906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280906010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000280906010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c01006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280906010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c01106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280906010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000280906010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c01106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000280906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280906010c3full)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000280906010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c01106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c01106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300906010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300906010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00906010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00906010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200306010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200806010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200a06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200d06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002200e06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002200f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002200f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002200f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002200f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002201006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002201106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280a06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002201106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002201106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002201106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280a06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = + 0x1000; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = + 0xf03e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300a06010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = + 0x7bc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00306010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = + 0x7c7; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00a06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = + 0x3ef; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = + 0x1f0f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00606010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = + 0x1800; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = + 0x9c00; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = + 0x1000; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = + 0x9c00; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00a06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = + 0x1800; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = + 0x1f0f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00c06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = + 0x3ef; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00d06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = + 0x7c7; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c00e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = + 0x7bc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c00f06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c00f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = + 0xf03e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c00f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c00f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c01006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c01006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = + 0x1000; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c01006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c01006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = + 0x42; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000001106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c80106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000001106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000001106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = + 0x3e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000001106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80206010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281106010c3full, l_scom_buffer); + constexpr auto + l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c80306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = + 0x60; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000281106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000281106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80406010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000281106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000281106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c80506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301106010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000301106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000301106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80606010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000301106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000301106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c80706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c01106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c01106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80806010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c01106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = + 0x42; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c01106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c80a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c80c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80d06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = + 0x60; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c80e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280606010c3full, l_scom_buffer); + constexpr auto + l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c80f06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c80f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = + 0x3e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c80f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c80f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c81006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c81006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = + 0x42; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX0_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c81006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c81006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00606010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00606010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040306010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040606010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040806010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040a06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00806010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040d06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004040e06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004040f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280406010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004040f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004040f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004040f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004041006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004041006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004041006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004041006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280406010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c0106010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c0206010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00406010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c0406010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00406010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000206010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c0606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0806010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280206010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c0906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300206010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c0b06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00206010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c0d06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00206010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c0f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000506010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c0f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000506010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c0f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c0f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c1006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c1006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000506010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c1006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c1006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000506010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c0106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280506010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280506010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280506010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = + 0x1e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c0306010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280506010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = + 0x1f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300506010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300506010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, + 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c0506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300506010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = + 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0606010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00506010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00506010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = + 0xc63; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c0706010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00506010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = + 0xe73; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0806010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000306010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c0906010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000306010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = + 0xe73; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000306010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = + 0xc63; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280306010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = + 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c0c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280306010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, + 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0d06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280306010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = + 0x1f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c0e06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300306010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = + 0x1e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c0f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c0f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300306010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c0f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c0f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c1006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c1006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00306010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c1006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c1006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00306010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 + = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004440106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 + = 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440206010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 + = 0x7b; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004440306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440406010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 + = 0x5e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004440506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440606010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440706010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004440806010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 + = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004440a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440b06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000106010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004440c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 + = 0x5e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000000106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000000106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX0_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000000106010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000000106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004440e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 + = 0x7b; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004440f06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004440f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 + = 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004440f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004440f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000280106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004441006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000280106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004441006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000280106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 + = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004441006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000280106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004441006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008080006010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008080006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x8008080006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008080006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000300106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8008100006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000300106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008100006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000300106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF, 48, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8008100006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000300106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008100006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008300006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008300006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, 51, 3, + 61 ); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, 54, + 2, 62 ); + l_rc = fapi2::putScom(TGT0, 0x8008300006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008300006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c00106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c00106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008400006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008400006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c00106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1111, 60, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8008400006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c00106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008400006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009a00006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8008c00006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009a00006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1111, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008c00006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8009a00006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01, 48, 2, 62 ); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF, 55, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON, 56, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b11, 57, 2, 62 ); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON, 59, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON, 60, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8008c00006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009a00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008c00006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800ae80006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800ae80006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009700006010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10, 56, 2, 62 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009700006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800ae80006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8009700006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800ae80006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009700006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008400006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009800006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008400006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1111, 60, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009800006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008400006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8009800006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008400006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009800006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009b00006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009900006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009b00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009900006010c3full)"); + break; + } - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001, 52, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010, 52, 4, 60 ); - } - } + if (l_def_is_master) + { + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER, 48, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8009b00006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON, 58, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED, 57, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8009900006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009b00006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009900006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009900006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009900006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009980006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED, 57, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009980006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8009900006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00001, 48, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8009980006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009900006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009980006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800c240006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009a00006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c240006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S, 48, 2, - 62 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009a00006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800c240006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1111, 48, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8009a00006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c240006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009a00006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009b00006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009b00006010c3full)"); + break; + } - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001, 52, 4, 60 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010, 52, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x80040c0006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8009b00006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009b00006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009b80006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009b80006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 48, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 55, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8009b80006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009b80006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009e00006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009e00006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8009e00006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009e00006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009e80006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009e80006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); + l_rc = fapi2::putScom(TGT0, 0x8009e80006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009e80006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800a800006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800a800006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER, 56, 1, 63 ); + constexpr auto l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON, 50, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x800a800006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800a800006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800ae80006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800ae80006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b10, 56, 2, 62 ); + l_rc = fapi2::putScom(TGT0, 0x800ae80006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800ae80006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800af80006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800af80006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0606010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1100, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1100, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x800af80006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800af80006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800b800006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800b800006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX0_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF, 60, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x800b800006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800b800006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c040006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c040006010c3full)"); + break; + } - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 56, 2, 62 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b01, 56, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x80040c0806010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800c040006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c040006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c0c0006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c0c0006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000000, 48, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x800c0c0006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c0c0006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c140006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c140006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF, 48, 1, 63 ); + constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON, 59, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b00001, 53, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x800c140006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c140006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c1c0006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c1c0006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 56, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x800c1c0006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c1c0006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c240006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c240006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S, 48, 2, + 62 ); + l_rc = fapi2::putScom(TGT0, 0x800c240006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c240006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c840006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c840006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x800c840006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c840006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0e06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c8c0006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c8c0006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, + 55, 3, 61 ); + constexpr auto l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, + 58, 2, 62 ); + l_rc = fapi2::putScom(TGT0, 0x800c8c0006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c8c0006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c0f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c0f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800cec0006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800cec0006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c0f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x800cec0006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c0f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800cec0006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c1006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800cf40006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c1006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX0_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800cf40006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c1006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); + l_rc = fapi2::putScom(TGT0, 0x800cf40006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c1006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800cf40006010c3full)"); + break; } } diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g1_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g1_scom.C index 650c0b603..1f927bbc1 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g1_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_xbus_g1_scom.C @@ -29,19 +29,8 @@ using namespace fapi2; -constexpr auto literal_1 = 1; -constexpr auto literal_0b000001 = 0b000001; -constexpr auto literal_0b0000000 = 0b0000000; -constexpr auto literal_0b0010000 = 0b0010000; -constexpr auto literal_0b0010001 = 0b0010001; -constexpr auto literal_0b0000000000000000 = 0b0000000000000000; -constexpr auto literal_0b01111111 = 0b01111111; -constexpr auto literal_0b00001 = 0b00001; -constexpr auto literal_0b01 = 0b01; -constexpr auto literal_0b11 = 0b11; -constexpr auto literal_0b1100 = 0b1100; constexpr auto literal_0 = 0; -constexpr auto literal_0b00 = 0b00; +constexpr auto literal_1 = 1; constexpr auto literal_0b0000 = 0b0000; constexpr auto literal_0b0110 = 0b0110; constexpr auto literal_0b00000 = 0b00000; @@ -49,13 +38,24 @@ constexpr auto literal_0b01111 = 0b01111; constexpr auto literal_0b01100 = 0b01100; constexpr auto literal_0b0111 = 0b0111; constexpr auto literal_0b1011 = 0b1011; +constexpr auto literal_0b0000000 = 0b0000000; constexpr auto literal_0b0000011 = 0b0000011; constexpr auto literal_0b000000 = 0b000000; constexpr auto literal_0b100111 = 0b100111; +constexpr auto literal_0b000001 = 0b000001; constexpr auto literal_0b1111 = 0b1111; -constexpr auto literal_0b10 = 0b10; +constexpr auto literal_0b01 = 0b01; +constexpr auto literal_0b11 = 0b11; +constexpr auto literal_0b0010000 = 0b0010000; +constexpr auto literal_0b00001 = 0b00001; constexpr auto literal_0b0001 = 0b0001; constexpr auto literal_0b0010 = 0b0010; +constexpr auto literal_0b0010001 = 0b0010001; +constexpr auto literal_0b0000000000000000 = 0b0000000000000000; +constexpr auto literal_0b01111111 = 0b01111111; +constexpr auto literal_0b10 = 0b10; +constexpr auto literal_0b1100 = 0b1100; +constexpr auto literal_0b00 = 0b00; fapi2::ReturnCode p9_xbus_g1_scom(const fapi2::Target<fapi2::TARGET_TYPE_XBUS>& TGT0, const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>& TGT1) @@ -64,6 +64,17 @@ fapi2::ReturnCode p9_xbus_g1_scom(const fapi2::Target<fapi2::TARGET_TYPE_XBUS>& do { + fapi2::ATTR_IS_SIMULATION_Type l_TGT1_ATTR_IS_SIMULATION; + l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT1, l_TGT1_ATTR_IS_SIMULATION); + + if (l_rc) + { + FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); + break; + } + + auto l_def_IS_HW = (l_TGT1_ATTR_IS_SIMULATION == literal_0); + auto l_def_IS_SIM = (l_TGT1_ATTR_IS_SIMULATION == literal_1); fapi2::ATTR_IO_XBUS_MASTER_MODE_Type l_TGT0_ATTR_IO_XBUS_MASTER_MODE; l_rc = FAPI_ATTR_GET(fapi2::ATTR_IO_XBUS_MASTER_MODE, TGT0, l_TGT0_ATTR_IO_XBUS_MASTER_MODE); @@ -74,10108 +85,5971 @@ fapi2::ReturnCode p9_xbus_g1_scom(const fapi2::Target<fapi2::TARGET_TYPE_XBUS>& } auto l_def_is_master = (l_TGT0_ATTR_IO_XBUS_MASTER_MODE == literal_1); + fapi2::buffer<uint64_t> l_scom_buffer; { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009902006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009902006010c3full)"); - break; - } - - { - if (l_def_is_master) - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER, 48, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8009902006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009902006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008082006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008082006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000001, 48, 6, 58 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008082006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008082006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800c0c2006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c0c2006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b000001, 48, 6, 58 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800c0c2006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c0c2006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8009702006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009702006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON, 48, - 1, 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8009702006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009702006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009802006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009802006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009802006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002206010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009802006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c842006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c842006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c842006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c842006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009802006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009802006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002306010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009802006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002306010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009802006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c842006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c842006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c842006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c842006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009b82006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009b82006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002406010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009b82006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002406010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009b82006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c1c2006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c1c2006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 56, 7, 57 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c1c2006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c1c2006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009b82006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009b82006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002506010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b0010001, 55, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009b82006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002506010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009b82006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8009e02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009e02006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8009e02006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009e02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009e82006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009e82006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002606010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009e82006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002606010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009e82006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800cec2006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800cec2006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x800cec2006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800cec2006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800cf42006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800cf42006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002706010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800cf42006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002706010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800cf42006010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000002806010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002202106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002806010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202106010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202206010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000002906010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002202306010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002906010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202306010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000002a06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002202506010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002a06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202506010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002202706010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002b06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202706010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002c06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002202906010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002c06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202906010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000002d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002202b06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002d06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002202d06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002e06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002202e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002202e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002202f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000002f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002202f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002202f06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000002f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002202f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002203006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002203006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, - 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002203006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000002f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002203006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000002f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002203106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000003006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002203106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON, 48, 1, - 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002203106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000003006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002203106010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000082006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000082006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000003006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000003006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000003106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000082106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000003106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082106010c3full)"); - break; - } + if (l_def_IS_HW) + { + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000082206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000082206010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000003106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000003106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082306010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082106010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082206010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082506010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082406010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082906010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000082f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000082f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000082f06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000082f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000083006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000083006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000083006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000083006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000083106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000082e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000083106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON, - 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000083106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000083106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004042006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000082f06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000082f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004042006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000082f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000082f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004042106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000083006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000083006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004042106010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_OFF, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000083006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000083006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004042206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000083106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000083106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004042206010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_LANE_ANA_PDWN_ON, + 54, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8000083106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000083106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004042306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042306010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042406010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042406010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004042606010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004042706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282106010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042706010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042806010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042806010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004042a06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004042b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000282206010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8004042b06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282206010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042c06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042c06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004042e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004042e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004042f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000282306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004042f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004042f06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282306010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004042f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004043006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004043006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, - 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004043006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004043006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008102006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008102006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF, 48, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8008102006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008102006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c142006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c142006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF, 48, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c142006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c142006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009902006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009902006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282406010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON, 58, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8009902006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282406010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009902006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c142006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c142006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON, 59, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x800c142006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c142006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = - 0x1000; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = - 0xf03e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c02106010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c02206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = - 0x7bc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000282506010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002c02206010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282506010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = - 0x7c7; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = - 0x3ef; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02406010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02406010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = - 0x1f0f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c02506010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c02606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000282606010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = - 0x1800; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02606010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282606010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02606010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = - 0x9c00; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = - 0x1000; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02806010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02806010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = - 0x9c00; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c02906010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c02a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282706010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = - 0x1800; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02a06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282706010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02a06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = - 0x1f0f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = - 0x3ef; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02c06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02c06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = - 0x7c7; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c02d06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c02e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = - 0x7bc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02e06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282806010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c02f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c02f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = - 0xf03e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c02f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c02f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c03006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c03006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = - 0x1000; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c03006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c03006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = - 0x42; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c82006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c82106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000282906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = - 0x3e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282906010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82206010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, - 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = - 0x60; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c82406010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c82506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282a06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82506010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282a06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82606010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82606010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = - 0x42; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c82806010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c82906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82906010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282b06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = - 0x3; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82a06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82a06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = - 0x40; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c82c06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8002c82d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = - 0x60; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000282c06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8002c82d06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282c06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82e06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, - 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82e06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c82f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c82f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = - 0x3e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8002c82f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c82f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8002c83006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8002c83006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = - 0x42; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8002c83006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8002c83006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c2006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2006010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000282d06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x80043c2006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282d06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2106010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = - 0x1e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = - 0x1f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c2306010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c2406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000282e06010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, - 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2406010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282e06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2406010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = - 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = - 0xc63; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2606010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2606010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = - 0xe73; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c2706010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c2806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000282f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2806010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2806010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000282f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2806010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = - 0xe73; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = - 0xc63; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2a06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2a06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = - 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c2b06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000282f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000282f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c2c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2c06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, - 48 ); - } + l_rc = fapi2::getScom( TGT0, 0x8000283006010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x80043c2c06010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000283006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2c06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = - 0x1f; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = - 0x1e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c2e06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2e06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x80043c2f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c2f06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x80043c2f06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000283006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c2f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000283006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80043c3006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000283106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80043c3006010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, - 16, 48 ); - } - - l_rc = fapi2::putScom(TGT0, 0x80043c3006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000283106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80043c3006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 - = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004442006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 - = 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8004442106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 - = 0x7b; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004442206010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000283106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000283106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004442306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302006010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004442306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 - = 0x5e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004442406010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004442506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302106010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004442506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442606010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004442606010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004442706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000302206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442706010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004442706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 - = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004442806010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004442906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302306010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004442906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442906010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442a06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004442a06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004442b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302406010c3full, l_scom_buffer ); - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, - 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004442b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442b06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 - = 0x5e; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004442c06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004442d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000302506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442d06010c3full)"); - break; - } - - { - constexpr auto - l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, - 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004442d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442d06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004442e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 - = 0x7b; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004442e06010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8004442f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004442f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 - = 0x7c; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8004442f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004442f06010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8004443006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8004443006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 - = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8004443006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8004443006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009982006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000302706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009982006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b00001, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8009982006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009982006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c142006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c142006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b00001, 53, 5, 59 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c142006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c142006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800a802006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800a802006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER, 56, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800a802006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800a802006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008c02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c02006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01, 48, 2, 62 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008c02006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008c02006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000302906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c02006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008c02006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c02006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008c02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c02006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON, 56, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008c02006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008c02006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000302a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c02006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b11, 57, 2, 62 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008c02006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c02006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008c02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c02006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON, 59, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008c02006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008c02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008c02006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON, 60, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008c02006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008c02006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800b802006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800b802006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF, 60, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800b802006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800b802006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008302006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000302c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008302006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, 51, 3, - 61 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008302006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008302006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8008302006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008302006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, 54, - 2, 62 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8008302006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008302006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800c8c2006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c8c2006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000302d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, - 55, 3, 61 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800c8c2006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c8c2006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800c8c2006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c8c2006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, - 58, 2, 62 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800c8c2006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c8c2006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800af82006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000302e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800af82006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1100, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000302e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800af82006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800af82006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x800af82006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800af82006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1100, 52, 4, 60 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800af82006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800af82006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; + l_rc = fapi2::getScom( TGT0, 0x8000302f06010c3full, l_scom_buffer ); + + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x800a802006010c3full, l_scom_buffer ); + FAPI_ERR("ERROR executing: getScom (0x8000302f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800a802006010c3full)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - { - constexpr auto l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON, 50, 1, 63 ); - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x800a802006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000302f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800a802006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000302f06010c3full)"); + break; } } - fapi2::ATTR_IS_SIMULATION_Type l_TGT1_ATTR_IS_SIMULATION; - l_rc = FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT1, l_TGT1_ATTR_IS_SIMULATION); - - if (l_rc) { - FAPI_ERR("ERROR executing: FAPI_ATTR_GET (ATTR_IS_SIMULATION)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000303006010c3full, l_scom_buffer ); - auto l_def_IS_HW = (l_TGT1_ATTR_IS_SIMULATION == literal_0); - auto l_def_IS_SIM = (l_TGT1_ATTR_IS_SIMULATION == literal_1); - { - fapi2::buffer<uint64_t> l_scom_buffer; + if (l_rc) { - l_rc = fapi2::getScom( TGT0, 0x800c042006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c042006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00, 56, 2, 62 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01, 56, 2, 62 ); - } - } + FAPI_ERR("ERROR executing: getScom (0x8000303006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800c042006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c042006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002106010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000303006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000303006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000303106010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000303106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002106010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000303106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000303106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c02006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000282106010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02106010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000302106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000302106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000302106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c02106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000c02106010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02206010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c02106010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02206010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02106010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000002306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002306010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002306010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c02306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002306010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000002306010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02306010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000282306010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + l_rc = fapi2::getScom( TGT0, 0x8000c02406010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000282306010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02406010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000302306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302306010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000302306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000302306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000302306010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c02306010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02506010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c02306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02306010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c02306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02306010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000002006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02606010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000002006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000282006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + l_rc = fapi2::getScom( TGT0, 0x8000c02706010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000282006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02706010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000302006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000302006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02806010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000302006010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02806010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c02006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02006010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c02006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000c02006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002206010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000002206010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02906010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000002206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002206010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + l_rc = fapi2::getScom( TGT0, 0x8000c02a06010c3full, l_scom_buffer ); - l_rc = fapi2::putScom(TGT0, 0x8000282206010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02a06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000282206010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c02b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302206010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000302206010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02b06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000302206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000302206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c02206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02206010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000c02206010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02206010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02206010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c02206010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02c06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02206010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000002706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002706010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000002706010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02d06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000282706010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c02e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282706010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02e06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000302706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302706010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000302706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000302706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000302706010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02706010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c02f06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c02706010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c02f06010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000c02706010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02706010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000c02706010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02706010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002506010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000002506010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c02f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c02f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8000c03006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000002506010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c03006010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000002506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } - - l_rc = fapi2::putScom(TGT0, 0x8000002506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282506010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000282506010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c03006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c03006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8000c03106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282506010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } - - l_rc = fapi2::putScom(TGT0, 0x8000282506010c3full, l_scom_buffer); + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8000c03106010c3full)"); + break; + } - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282506010c3full)"); - break; - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); } - } - { - fapi2::buffer<uint64_t> l_scom_buffer; + else if (l_def_IS_SIM) { - l_rc = fapi2::getScom( TGT0, 0x8000282506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282506010c3full)"); - break; - } + l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); + } - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); + } - l_rc = fapi2::putScom(TGT0, 0x8000282506010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8000c03106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8000c03106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302506010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302506010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002202106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302506010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02506010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02506010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02506010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02506010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002202306010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02506010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002606010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002202606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002202806010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002202a06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002202c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02606010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202d06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02606010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02606010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002202e06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002202f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002202f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002202f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002202f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002203006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002203006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_OFF, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002203006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002203006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002203106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282406010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002203106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_LANE_DIG_PDWN_ON, 48, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x8002203106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002203106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282406010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = + 0x1000; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = + 0xf03e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302406010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = + 0x7bc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02306010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = + 0x7c7; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02406010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = + 0x3ef; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02406010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02406010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = + 0x1f0f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02606010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = + 0x1800; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002806010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = + 0x9c00; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02806010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = + 0x1000; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15 = + 0x9c00; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02a06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15 = + 0x1800; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15 = + 0x1f0f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02c06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15 = + 0x3ef; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_E_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02d06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15 = + 0x7c7; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c02e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02806010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15 = + 0x7bc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02806010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02806010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c02f06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c02f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02806010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15 = + 0xf03e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_B_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c02f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c02f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c03006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002a06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c03006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15 = + 0x1000; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_0_15_PATTERN_24_A_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8002c03006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c03006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = + 0x42; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c82106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = + 0x3e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82206010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282a06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c82306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282a06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = + 0x60; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_0_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82406010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c82506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302a06010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82606010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c82706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02a06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_1_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02a06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02a06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82806010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = + 0x42; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002906010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c82a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002906010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22 = + 0x3; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_GH_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82b06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282906010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c82c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282906010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22 = + 0x40; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_EF_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82d06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22 = + 0x60; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_D_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282906010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8002c82e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282906010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282906010c3full, l_scom_buffer); + constexpr auto + l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_C_12_ACGH_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c82f06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c82f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22 = + 0x3e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c82f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c82f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8002c83006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8002c83006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302906010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22 = + 0x42; + l_scom_buffer.insert<uint64_t> + (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RD_RX_BIT_REGS_RX_PRBS_SEED_VALUE_16_22_PATTERN_24_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8002c83006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8002c83006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02906010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02906010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02906010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02906010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000003106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000003106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000003106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000003106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000003106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000003106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042306010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000003106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000003106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000003106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000003106010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_2_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000003106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000003106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000283106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000283106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000283106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000283106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000283106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000283106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042606010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000283106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000283106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000283106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000283106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000283106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000283106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000303106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000303106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042806010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000303106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000303106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000303106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042906010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000303106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000303106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000303106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c03106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c03106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042a06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c03106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c03106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c03106010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c03106010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c03106010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c03106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002e06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042d06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004042e06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_0_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282e06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004042f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004042f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004042f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004042f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004043006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004043006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_LANE_PDWN_ENABLED, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8004043006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004043006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282e06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c2106010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c2206010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02e06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02e06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02e06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02e06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c2406010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c2606010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2706010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_1_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2806010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c2906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c2b06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02c06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02c06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c2d06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02c06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80040c2f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c2f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c2f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c2f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80040c3006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80040c3006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, + 63 ); + l_rc = fapi2::putScom(TGT0, 0x80040c3006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80040c3006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002d06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_2_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002d06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c2106010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282d06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2206010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = + 0x1e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c2306010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = + 0x1f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2406010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302d06010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302d06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, + 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c2506010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = + 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02d06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2606010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02d06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = + 0xc63; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c2706010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02d06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = + 0xe73; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002b06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2806010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002b06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c2906010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15 = + 0xe73; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_H_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002b06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002b06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_3_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15 = + 0xc63; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_G_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282b06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2b06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15 = + 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_F_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c2c06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282b06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15 = 0xf; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_E_HALF_B_0_15, 48, 16, + 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282b06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2d06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15 = + 0x1f; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_D_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c2e06010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15 = + 0x1e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_C_0_15, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302b06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x80043c2f06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302b06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c2f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302b06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c2f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c2f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x80043c3006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x80043c3006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02b06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15 = 0x0; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_0_15_PATTERN_TX_AB_HALF_A_0_15, 48, + 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x80043c3006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x80043c3006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02b06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 + = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004442106010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442106010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002f06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 + = 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442106010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442106010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442206010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442206010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002f06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 + = 0x7b; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442206010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442206010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000002f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004442306010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000002f06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_4_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442306010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000002f06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442306010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000002f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442306010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442406010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442406010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282f06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 + = 0x5e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442406010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442406010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004442506010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442506010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282f06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442506010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442506010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000282f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000282f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442606010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442606010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000282f06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442606010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000282f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442606010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442706010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442706010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302f06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442706010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442706010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000302f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004442806010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000302f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442806010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000302f06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 + = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442806010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000302f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442806010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442906010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442906010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02f06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22 = 0x4e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_H_HALF_B_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442906010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442906010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c02f06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004442a06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c02f06010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442a06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c02f06010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442a06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c02f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442a06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000003006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000003006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442b06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_OFF, 53, 1, 63 ); - } - else if (l_def_IS_SIM) - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON = 0x1; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_5_ON, 53, 1, 63 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442b06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000003006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22 = 0x10; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_F_HALF_A_16_22, 48, + 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442b06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000003006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442b06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000003006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004442c06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000003006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_6_OFF, 54, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442c06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000003006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22 + = 0x5e; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_E_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442c06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000003006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442c06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000003006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000003006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442d06010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF = 0x0; - l_scom_buffer.insert<uint64_t> - (l_IOF1_RX_RX1_RXPACKS_3_RXPACK_RD_SLICE_5_RX_DAC_REGS_RX_DAC_REGS_RX_PL_DATA_DAC_SPARE_MODE_7_OFF, 55, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442d06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000003006010c3full, l_scom_buffer); + constexpr auto + l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22 = 0xc; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_DG_16_22, 48, 7, + 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442d06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000003006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442d06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000283006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004442e06010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000283006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000, 48, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0110, 48, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442e06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000283006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22 + = 0x7b; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_C_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442e06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000283006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442e06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000283006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000283006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8004442f06010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 52, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 52, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004442f06010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000283006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22 + = 0x7c; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_B_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004442f06010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000283006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004442f06010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000283006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8004443006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000283006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b00000, 57, 5, 59 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b01111, 57, 5, 59 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8004443006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000283006010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22 + = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_PRBS_SEED_VALUE_16_22_PATTERN_TX_A_16_22, 48, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8004443006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000283006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8004443006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000303006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000303006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008082006010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b01100, 48, 5, 59 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008082006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000303006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000001, 48, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x8008082006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000303006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008082006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000303006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8008102006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000303006010c3full)"); - break; - } - - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0111, 53, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b1011, 53, 4, 60 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008102006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000303006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_CLKDIST_PDWN_OFF, 48, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8008102006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000303006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008102006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c03006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c03006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008302006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000000, 48, 7, 57 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0000011, 48, 7, 57 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008302006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c03006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, 51, 3, + 61 ); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, 54, + 2, 62 ); + l_rc = fapi2::putScom(TGT0, 0x8008302006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c03006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008302006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8000c03006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8000c03006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8008402006010c3full, l_scom_buffer ); - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b000000, 55, 6, 58 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b100111, 55, 6, 58 ); - } - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008402006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8000c03006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1111, 60, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8008402006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8000c03006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008402006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009a02006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8008c02006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009a02006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1111, 48, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8008c02006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8009a02006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01, 48, 2, 62 ); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PEAK_TUNE_OFF, 55, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_LTE_EN_ON, 56, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b11, 57, 2, 62 ); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFEHISPD_EN_ON, 59, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_DFE12_EN_ON, 60, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8008c02006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009a02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8008c02006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800ae82006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800ae82006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009702006010c3full, l_scom_buffer ); - { - l_scom_buffer.insert<uint64_t> (literal_0b10, 56, 2, 62 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009702006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800ae82006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON, 48, + 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8009702006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800ae82006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009702006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8008402006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009802006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8008402006010c3full)"); - break; - } - - { - l_scom_buffer.insert<uint64_t> (literal_0b1111, 60, 4, 60 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009802006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8008402006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8009802006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8008402006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009802006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009b02006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009902006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009b02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009902006010c3full)"); + break; + } - { - if (l_def_IS_HW) - { - l_scom_buffer.insert<uint64_t> (literal_0b0001, 52, 4, 60 ); - } - else if (l_def_IS_SIM) - { - l_scom_buffer.insert<uint64_t> (literal_0b0010, 52, 4, 60 ); - } - } + if (l_def_is_master) + { + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_MASTER_MODE_MASTER, 48, 1, 63 ); + } - l_rc = fapi2::putScom(TGT0, 0x8009b02006010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_PDWN_LITE_DISABLE_ON, 58, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED, 57, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x8009902006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009b02006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009902006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x8009902006010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x8009902006010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009982006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_CTL_REGS_RX_CTL_REGS_RX_FENCE_FENCED, 57, 1, 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009982006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x8009902006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b00001, 48, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x8009982006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x8009902006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009982006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x800c242006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009a02006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x800c242006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S = 0x0; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S, 48, 2, - 62 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009a02006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x800c242006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1111, 48, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x8009a02006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x800c242006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009a02006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009b02006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009b02006010c3full)"); + break; + } - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b0001, 52, 4, 60 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b0010, 52, 4, 60 ); + } - l_rc = fapi2::putScom(TGT0, 0x80040c2006010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x8009b02006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009b02006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2106010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2106010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009b82006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009b82006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2106010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 48, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 55, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x8009b82006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2106010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009b82006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2206010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x8009e02006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2206010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009e02006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2206010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x8009e02006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2206010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009e02006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2306010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2306010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x8009e82006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_0_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009e82006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2306010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); + l_rc = fapi2::putScom(TGT0, 0x8009e82006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2306010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009e82006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2406010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800a802006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2406010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800a802006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2406010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_DESKEW_BUMP_AFTER_AFTER, 56, 1, 63 ); + constexpr auto l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_GLBSM_REGS_RX_PG_GLBSM_SPARE_MODE_2_ON, 50, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x800a802006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2406010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800a802006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2506010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800ae82006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2506010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800ae82006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2506010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b10, 56, 2, 62 ); + l_rc = fapi2::putScom(TGT0, 0x800ae82006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2506010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800ae82006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2606010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2606010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800af82006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800af82006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2606010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b1100, 48, 4, 60 ); + l_scom_buffer.insert<uint64_t> (literal_0b1100, 52, 4, 60 ); + l_rc = fapi2::putScom(TGT0, 0x800af82006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2606010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800af82006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2706010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800b802006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2706010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_1_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800b802006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2706010c3full, l_scom_buffer); + constexpr auto l_IOF1_RX_RX1_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_RX_RX1_RXCTL_DATASM_DATASM_REGS_RX_CTL_DATASM_CLKDIST_PDWN_OFF, 60, 1, 63 ); + l_rc = fapi2::putScom(TGT0, 0x800b802006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2706010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800b802006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2806010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c042006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c042006010c3full)"); + break; + } - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_def_IS_HW) + { + l_scom_buffer.insert<uint64_t> (literal_0b00, 56, 2, 62 ); + } + else if (l_def_IS_SIM) + { + l_scom_buffer.insert<uint64_t> (literal_0b01, 56, 2, 62 ); + } - l_rc = fapi2::putScom(TGT0, 0x80040c2806010c3full, l_scom_buffer); + l_rc = fapi2::putScom(TGT0, 0x800c042006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2806010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c042006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2906010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2906010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c0c2006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c0c2006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2906010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b000001, 48, 6, 58 ); + l_rc = fapi2::putScom(TGT0, 0x800c0c2006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2906010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c0c2006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2a06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c142006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2a06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c142006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2a06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_CLKDIST_PDWN_OFF, 48, 1, 63 ); + constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_PDWN_LITE_DISABLE_ON, 59, 1, 63 ); + l_scom_buffer.insert<uint64_t> (literal_0b00001, 53, 5, 59 ); + l_rc = fapi2::putScom(TGT0, 0x800c142006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2a06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c142006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2b06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2b06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c1c2006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_2_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c1c2006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2b06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0010001, 56, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x800c1c2006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2b06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c1c2006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2c06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c242006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2c06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_0_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c242006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2c06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S = 0x0; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DRV_CLK_PATTERN_GCRMSG_DRV_0S, 48, 2, + 62 ); + l_rc = fapi2::putScom(TGT0, 0x800c242006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2c06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c242006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2d06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2d06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800c842006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_1_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c842006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2d06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000, 49, 7, 57 ); + l_scom_buffer.insert<uint64_t> (literal_0b0010000, 57, 7, 57 ); + l_rc = fapi2::putScom(TGT0, 0x800c842006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2d06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c842006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2e06010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800c8c2006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2e06010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_2_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800c8c2006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2e06010c3full, l_scom_buffer); + constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5 = 0x5; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_INTERVAL_TIMEOUT_SEL_TAP5, + 55, 3, 61 ); + constexpr auto l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1 = 0x1; + l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXCTL_CTL_REGS_TX_CTL_REGS_TX_DYN_RECAL_STATUS_RPT_TIMEOUT_SEL_TAP1, + 58, 2, 62 ); + l_rc = fapi2::putScom(TGT0, 0x800c8c2006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2e06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800c8c2006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c2f06010c3full, l_scom_buffer ); - - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c2f06010c3full)"); - break; - } + l_rc = fapi2::getScom( TGT0, 0x800cec2006010c3full, l_scom_buffer ); - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_3_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800cec2006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c2f06010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b0000000000000000, 48, 16, 48 ); + l_rc = fapi2::putScom(TGT0, 0x800cec2006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c2f06010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800cec2006010c3full)"); + break; } } { - fapi2::buffer<uint64_t> l_scom_buffer; - { - l_rc = fapi2::getScom( TGT0, 0x80040c3006010c3full, l_scom_buffer ); + l_rc = fapi2::getScom( TGT0, 0x800cf42006010c3full, l_scom_buffer ); - if (l_rc) - { - FAPI_ERR("ERROR executing: getScom (0x80040c3006010c3full)"); - break; - } - - { - constexpr auto l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON = 0x1; - l_scom_buffer.insert<uint64_t> (l_IOF1_TX_WRAP_TX1_TXPACKS_3_TXPACK_DD_SLICE_4_DD_TX_BIT_REGS_TX_CAL_LANE_SEL_ON, 62, 1, - 63 ); - } + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x800cf42006010c3full)"); + break; + } - l_rc = fapi2::putScom(TGT0, 0x80040c3006010c3full, l_scom_buffer); + l_scom_buffer.insert<uint64_t> (literal_0b01111111, 48, 8, 56 ); + l_rc = fapi2::putScom(TGT0, 0x800cf42006010c3full, l_scom_buffer); - if (l_rc) - { - FAPI_ERR("ERROR executing: putScom (0x80040c3006010c3full)"); - break; - } + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x800cf42006010c3full)"); + break; } } |

