From 9431cc09d57da8735bbab21e4f534bb867873a4f Mon Sep 17 00:00:00 2001 From: Stephen Glancy Date: Tue, 10 Dec 2019 15:23:01 -0500 Subject: Fixes MCBIST lab random addressing bug Change-Id: I580e8485bc5980139cf2052bbde748d99d7cb541 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/88387 Tested-by: FSP CI Jenkins Reviewed-by: Louis Stermole Reviewed-by: Mark Pizzutillo Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Jennifer A Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/88406 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M Crowell --- .../p9/procedures/hwp/memory/lib/mcbist/mcbist.C | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C') diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C index 1b38ed539..f002b31e9 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C @@ -82,6 +82,49 @@ const std::vector< mss::mcbist::op_type > mcbistTraits<>::FIFO_MODE_REQUIRED_OP_ mss::mcbist::op_type::READ_READ_WRITE , }; +// These valus are pulled out of the MCBIST specification +// The index is the fixed width - the value is the LFSR_MASK value to be used +const std::vector< uint64_t > mcbistTraits::LFSR_MASK_VALUES = +{ + 0x000000031, + 0x00000001F, + 0x001000000, + 0x100000000, + 0x004000003, + 0x000080000, + 0x040000018, + 0x008000000, + 0x010006000, + 0x004000000, + 0x001000000, + 0x003200000, + 0x001880000, + 0x000200000, + 0x000610000, + 0x000100000, + 0x000040000, + 0x000010000, + 0x000023000, + 0x000002000, + 0x000000400, + 0x000002000, + 0x000005008, + 0x000002000, + 0x000001088, + 0x000000B00, + 0x0000004A0, + 0x000000100, + 0x000000040, + 0x000000010, + 0x000000038, + 0x000000008, + 0x000000010, + 0x000000004, + 0x000000004, + 0x000000002, + 0x000000001, +}; + namespace mcbist { -- cgit v1.2.1