# $Id: test_scmdlist.tcl 1177 2019-06-30 12:34:07Z mueller $
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2014- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
#
#  Revision History:
# Date         Rev Version  Comment
# 2014-08-14   582   1.0    Initial version
#

package provide tst_sram 1.0

namespace eval tst_sram {
  #
  # test_scmdlist: default scmd list -----------------------------------------
  #   was converted with  conv_sblk from cmd_tst_sram_stress_sblk.dat
  #
  proc test_scmdlist {} {
    set clist {}
    ## C Setup Memory stress test
    ## C write 16 unique byte patterns (and verify)
    lappend clist { 0 w 1111 0x000000 0x30201000};
    lappend clist { 0 w 1111 0x000001 0x31211101};
    lappend clist { 0 w 1111 0x000002 0x32221202};
    lappend clist { 0 w 1111 0x000003 0x33231303};
    lappend clist { 0 w 1111 0x000004 0x34241404};
    lappend clist { 0 w 1111 0x000005 0x35251505};
    lappend clist { 0 w 1111 0x000006 0x36261606};
    lappend clist { 0 w 1111 0x000007 0x37271707};
    lappend clist { 0 w 1111 0x000008 0x38281808};
    lappend clist { 0 w 1111 0x000009 0x39291909};
    lappend clist { 0 w 1111 0x00000a 0x3a2a1a0a};
    lappend clist { 0 w 1111 0x00000b 0x3b2b1b0b};
    lappend clist { 0 w 1111 0x00000c 0x3c2c1c0c};
    lappend clist { 0 w 1111 0x00000d 0x3d2d1d0d};
    lappend clist { 0 w 1111 0x00000e 0x3e2e1e0e};
    lappend clist { 0 w 1111 0x00000f 0x3f2f1f0f};
    lappend clist { 0 r 1111 0x000000 0x30201000};
    lappend clist { 0 r 1111 0x000001 0x31211101};
    lappend clist { 0 r 1111 0x000002 0x32221202};
    lappend clist { 0 r 1111 0x000003 0x33231303};
    lappend clist { 0 r 1111 0x000004 0x34241404};
    lappend clist { 0 r 1111 0x000005 0x35251505};
    lappend clist { 0 r 1111 0x000006 0x36261606};
    lappend clist { 0 r 1111 0x000007 0x37271707};
    lappend clist { 0 r 1111 0x000008 0x38281808};
    lappend clist { 0 r 1111 0x000009 0x39291909};
    lappend clist { 0 r 1111 0x00000a 0x3a2a1a0a};
    lappend clist { 0 r 1111 0x00000b 0x3b2b1b0b};
    lappend clist { 0 r 1111 0x00000c 0x3c2c1c0c};
    lappend clist { 0 r 1111 0x00000d 0x3d2d1d0d};
    lappend clist { 0 r 1111 0x00000e 0x3e2e1e0e};
    lappend clist { 0 r 1111 0x00000f 0x3f2f1f0f};
    ## C single byte writes, all 16 pattern (and verify)
    lappend clist { 0 w 0000 0x000000 0x70605040};
    lappend clist { 0 w 0001 0x000001 0x71615141};
    lappend clist { 0 w 0010 0x000002 0x72625242};
    lappend clist { 0 w 0011 0x000003 0x73635343};
    lappend clist { 0 w 0100 0x000004 0x74645444};
    lappend clist { 0 w 0101 0x000005 0x75655545};
    lappend clist { 0 w 0110 0x000006 0x76665646};
    lappend clist { 0 w 0111 0x000007 0x77675747};
    lappend clist { 0 w 1000 0x000008 0x78685848};
    lappend clist { 0 w 1001 0x000009 0x79695949};
    lappend clist { 0 w 1010 0x00000a 0x7a6a5a4a};
    lappend clist { 0 w 1011 0x00000b 0x7b6b5b4b};
    lappend clist { 0 w 1100 0x00000c 0x7c6c5c4c};
    lappend clist { 0 w 1101 0x00000d 0x7d6d5d4d};
    lappend clist { 0 w 1110 0x00000e 0x7e6e5e4e};
    lappend clist { 0 w 1111 0x00000f 0x7f6f5f4f};
    lappend clist { 0 r 1111 0x000000 0x30201000};
    lappend clist { 0 r 1111 0x000001 0x31211141};
    lappend clist { 0 r 1111 0x000002 0x32225202};
    lappend clist { 0 r 1111 0x000003 0x33235343};
    lappend clist { 0 r 1111 0x000004 0x34641404};
    lappend clist { 0 r 1111 0x000005 0x35651545};
    lappend clist { 0 r 1111 0x000006 0x36665606};
    lappend clist { 0 r 1111 0x000007 0x37675747};
    lappend clist { 0 r 1111 0x000008 0x78281808};
    lappend clist { 0 r 1111 0x000009 0x79291949};
    lappend clist { 0 r 1111 0x00000a 0x7a2a5a0a};
    lappend clist { 0 r 1111 0x00000b 0x7b2b5b4b};
    lappend clist { 0 r 1111 0x00000c 0x7c6c1c0c};
    lappend clist { 0 r 1111 0x00000d 0x7d6d1d4d};
    lappend clist { 0 r 1111 0x00000e 0x7e6e5e0e};
    lappend clist { 0 r 1111 0x00000f 0x7f6f5f4f};
    ## C write various 0-1 transition patterns (and verify)
    lappend clist { 0 w 1111 0x000010 0x00000000};
    lappend clist { 0 w 1111 0x000011 0xffffffff};
    lappend clist { 0 w 1111 0x000012 0x00000000};
    lappend clist { 0 w 1111 0x000013 0xa5a5a5a5};
    lappend clist { 0 w 1111 0x000014 0x5a5a5a5a};
    lappend clist { 0 w 1111 0x000015 0x00000000};
    lappend clist { 0 w 1111 0x000016 0x0f0f0f0f};
    lappend clist { 0 w 1111 0x000017 0xf0f0f0f0};
    lappend clist { 0 w 1111 0x000018 0x00ff00ff};
    lappend clist { 0 w 1111 0x000019 0xff00ff00};
    lappend clist { 0 w 1111 0x00001a 0x0000ffff};
    lappend clist { 0 w 1111 0x00001b 0xffff0000};
    lappend clist { 0 w 1111 0x00001c 0x0ff00ff0};
    lappend clist { 0 w 1111 0x00001d 0xf00ff00f};
    lappend clist { 0 w 1111 0x00001e 0x01234567};
    lappend clist { 0 w 1111 0x00001f 0x89abcdef};
    lappend clist { 0 r 1111 0x000010 0x00000000};
    lappend clist { 0 r 1111 0x000011 0xffffffff};
    lappend clist { 0 r 1111 0x000012 0x00000000};
    lappend clist { 0 r 1111 0x000013 0xa5a5a5a5};
    lappend clist { 0 r 1111 0x000014 0x5a5a5a5a};
    lappend clist { 0 r 1111 0x000015 0x00000000};
    lappend clist { 0 r 1111 0x000016 0x0f0f0f0f};
    lappend clist { 0 r 1111 0x000017 0xf0f0f0f0};
    lappend clist { 0 r 1111 0x000018 0x00ff00ff};
    lappend clist { 0 r 1111 0x000019 0xff00ff00};
    lappend clist { 0 r 1111 0x00001a 0x0000ffff};
    lappend clist { 0 r 1111 0x00001b 0xffff0000};
    lappend clist { 0 r 1111 0x00001c 0x0ff00ff0};
    lappend clist { 0 r 1111 0x00001d 0xf00ff00f};
    lappend clist { 0 r 1111 0x00001e 0x01234567};
    lappend clist { 0 r 1111 0x00001f 0x89abcdef};
    ## C alternate read sequence of 0-1 transition patterns
    lappend clist { 0 r 1111 0x000010 0x00000000};
    lappend clist { 0 r 1111 0x000011 0xffffffff};
    lappend clist { 0 r 1111 0x00001a 0x0000ffff};
    lappend clist { 0 r 1111 0x00001b 0xffff0000};
    lappend clist { 0 r 1111 0x000012 0x00000000};
    lappend clist { 0 r 1111 0x000013 0xa5a5a5a5};
    lappend clist { 0 r 1111 0x000011 0xffffffff};
    lappend clist { 0 r 1111 0x000014 0x5a5a5a5a};
    lappend clist { 0 r 1111 0x000015 0x00000000};
    lappend clist { 0 r 1111 0x000013 0xa5a5a5a5};
    lappend clist { 0 r 1111 0x000015 0x00000000};
    lappend clist { 0 r 1111 0x000014 0x5a5a5a5a};
    lappend clist { 0 r 1111 0x000017 0xf0f0f0f0};
    lappend clist { 0 r 1111 0x000016 0x0f0f0f0f};
    lappend clist { 0 r 1111 0x000019 0xff00ff00};
    lappend clist { 0 r 1111 0x000018 0x00ff00ff};
    lappend clist { 0 r 1111 0x00001d 0xf00ff00f};
    lappend clist { 0 r 1111 0x00001c 0x0ff00ff0};
    lappend clist { 0 r 1111 0x000010 0x00000000};
    lappend clist { 0 r 1111 0x00001e 0x01234567};
    lappend clist { 0 r 1111 0x00001a 0x0000ffff};
    lappend clist { 0 r 1111 0x00001f 0x89abcdef};
    lappend clist { 0 r 1111 0x00001b 0xffff0000};
    lappend clist { 0 r 1111 0x000012 0x00000000};
    lappend clist { 0 r 1111 0x00001f 0x89abcdef};
    lappend clist { 0 r 1111 0x000016 0x0f0f0f0f};
    lappend clist { 0 r 1111 0x000018 0x00ff00ff};
    lappend clist { 0 r 1111 0x000017 0xf0f0f0f0};
    lappend clist { 0 r 1111 0x000019 0xff00ff00};
    lappend clist { 0 r 1111 0x00001d 0xf00ff00f};
    lappend clist { 0 r 1111 0x00001c 0x0ff00ff0};
    lappend clist { 0 r 1111 0x00001e 0x01234567};
    ## C write alternating all-0 and all-1 at low and top addresses
    lappend clist { 0 w 1111 0x000020 0x00000000};
    lappend clist { 0 w 1111 0x000021 0xffffffff};
    lappend clist { 0 w 1111 0x000022 0x00000000};
    lappend clist { 0 w 1111 0x000023 0xffffffff};
    lappend clist { 0 w 1111 0x000024 0x00000000};
    lappend clist { 0 w 1111 0x000025 0xffffffff};
    lappend clist { 0 w 1111 0x000026 0x00000000};
    lappend clist { 0 w 1111 0x000027 0xffffffff};
    lappend clist { 0 w 1111 0x000028 0x00000000};
    lappend clist { 0 w 1111 0x03fff9 0xffffffff};
    lappend clist { 0 w 1111 0x00002a 0x00000000};
    lappend clist { 0 w 1111 0x03fffb 0xffffffff};
    lappend clist { 0 w 1111 0x03fffc 0x00000000};
    lappend clist { 0 w 1111 0x00002d 0xffffffff};
    lappend clist { 0 w 1111 0x03fffe 0x00000000};
    lappend clist { 0 w 1111 0x00002f 0xffffffff};
    lappend clist { 0 w 1111 0x03fff0 0x00000000};
    lappend clist { 0 w 1111 0x03fff1 0xffffffff};
    lappend clist { 0 w 1111 0x03fff2 0x00000000};
    lappend clist { 0 w 1111 0x03fff3 0xffffffff};
    lappend clist { 0 w 1111 0x03fff4 0x00000000};
    lappend clist { 0 w 1111 0x03fff5 0xffffffff};
    lappend clist { 0 w 1111 0x03fff6 0x00000000};
    lappend clist { 0 w 1111 0x03fff7 0xffffffff};
    lappend clist { 0 w 1111 0x03fff8 0x00000000};
    lappend clist { 0 w 1111 0x000029 0xffffffff};
    lappend clist { 0 w 1111 0x03fffa 0x00000000};
    lappend clist { 0 w 1111 0x00002b 0xffffffff};
    lappend clist { 0 w 1111 0x00002c 0x00000000};
    lappend clist { 0 w 1111 0x03fffd 0xffffffff};
    lappend clist { 0 w 1111 0x00002e 0x00000000};
    lappend clist { 0 w 1111 0x03ffff 0xffffffff};
    ## C read alternating all-0 and all-1 sequence, only data bounce
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000022 0x00000000};
    lappend clist { 0 r 1111 0x000023 0xffffffff};
    lappend clist { 0 r 1111 0x000024 0x00000000};
    lappend clist { 0 r 1111 0x000025 0xffffffff};
    lappend clist { 0 r 1111 0x000026 0x00000000};
    lappend clist { 0 r 1111 0x000027 0xffffffff};
    lappend clist { 0 r 1111 0x000028 0x00000000};
    lappend clist { 0 r 1111 0x000029 0xffffffff};
    lappend clist { 0 r 1111 0x00002a 0x00000000};
    lappend clist { 0 r 1111 0x00002b 0xffffffff};
    lappend clist { 0 r 1111 0x00002c 0x00000000};
    lappend clist { 0 r 1111 0x00002d 0xffffffff};
    lappend clist { 0 r 1111 0x00002e 0x00000000};
    lappend clist { 0 r 1111 0x00002f 0xffffffff};
    lappend clist { 0 r 1111 0x03fff0 0x00000000};
    lappend clist { 0 r 1111 0x03fff1 0xffffffff};
    lappend clist { 0 r 1111 0x03fff2 0x00000000};
    lappend clist { 0 r 1111 0x03fff3 0xffffffff};
    lappend clist { 0 r 1111 0x03fff4 0x00000000};
    lappend clist { 0 r 1111 0x03fff5 0xffffffff};
    lappend clist { 0 r 1111 0x03fff6 0x00000000};
    lappend clist { 0 r 1111 0x03fff7 0xffffffff};
    lappend clist { 0 r 1111 0x03fff8 0x00000000};
    lappend clist { 0 r 1111 0x03fff9 0xffffffff};
    lappend clist { 0 r 1111 0x03fffa 0x00000000};
    lappend clist { 0 r 1111 0x03fffb 0xffffffff};
    lappend clist { 0 r 1111 0x03fffc 0x00000000};
    lappend clist { 0 r 1111 0x03fffd 0xffffffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    ## C read alternating all-0 and all-1 sequence, addr and data bounce
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x03fff1 0xffffffff};
    lappend clist { 0 r 1111 0x000022 0x00000000};
    lappend clist { 0 r 1111 0x03fff3 0xffffffff};
    lappend clist { 0 r 1111 0x000024 0x00000000};
    lappend clist { 0 r 1111 0x03fff5 0xffffffff};
    lappend clist { 0 r 1111 0x000026 0x00000000};
    lappend clist { 0 r 1111 0x03fff7 0xffffffff};
    lappend clist { 0 r 1111 0x000028 0x00000000};
    lappend clist { 0 r 1111 0x000029 0xffffffff};
    lappend clist { 0 r 1111 0x03fffa 0x00000000};
    lappend clist { 0 r 1111 0x00002b 0xffffffff};
    lappend clist { 0 r 1111 0x03fffc 0x00000000};
    lappend clist { 0 r 1111 0x00002d 0xffffffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00002f 0xffffffff};
    lappend clist { 0 r 1111 0x03fff0 0x00000000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x03fff2 0x00000000};
    lappend clist { 0 r 1111 0x000023 0xffffffff};
    lappend clist { 0 r 1111 0x03fff4 0x00000000};
    lappend clist { 0 r 1111 0x000025 0xffffffff};
    lappend clist { 0 r 1111 0x03fff6 0x00000000};
    lappend clist { 0 r 1111 0x000027 0xffffffff};
    lappend clist { 0 r 1111 0x03fff8 0x00000000};
    lappend clist { 0 r 1111 0x03fff9 0xffffffff};
    lappend clist { 0 r 1111 0x00002a 0x00000000};
    lappend clist { 0 r 1111 0x03fffb 0xffffffff};
    lappend clist { 0 r 1111 0x00002c 0x00000000};
    lappend clist { 0 r 1111 0x03fffd 0xffffffff};
    lappend clist { 0 r 1111 0x00002e 0x00000000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    ## C write 32 words with single 1 bit (and verify)
    lappend clist { 0 w 1111 0x000040 0x00000001};
    lappend clist { 0 w 1111 0x000041 0x00000002};
    lappend clist { 0 w 1111 0x000042 0x00000004};
    lappend clist { 0 w 1111 0x000043 0x00000008};
    lappend clist { 0 w 1111 0x000044 0x00000010};
    lappend clist { 0 w 1111 0x000045 0x00000020};
    lappend clist { 0 w 1111 0x000046 0x00000040};
    lappend clist { 0 w 1111 0x000047 0x00000080};
    lappend clist { 0 w 1111 0x000048 0x00000100};
    lappend clist { 0 w 1111 0x000049 0x00000200};
    lappend clist { 0 w 1111 0x00004a 0x00000400};
    lappend clist { 0 w 1111 0x00004b 0x00000800};
    lappend clist { 0 w 1111 0x00004c 0x00001000};
    lappend clist { 0 w 1111 0x00004d 0x00002000};
    lappend clist { 0 w 1111 0x00004e 0x00004000};
    lappend clist { 0 w 1111 0x00004f 0x00008000};
    lappend clist { 0 w 1111 0x000050 0x00010000};
    lappend clist { 0 w 1111 0x000051 0x00020000};
    lappend clist { 0 w 1111 0x000052 0x00040000};
    lappend clist { 0 w 1111 0x000053 0x00080000};
    lappend clist { 0 w 1111 0x000054 0x00100000};
    lappend clist { 0 w 1111 0x000055 0x00200000};
    lappend clist { 0 w 1111 0x000056 0x00400000};
    lappend clist { 0 w 1111 0x000057 0x00800000};
    lappend clist { 0 w 1111 0x000058 0x01000000};
    lappend clist { 0 w 1111 0x000059 0x02000000};
    lappend clist { 0 w 1111 0x00005a 0x04000000};
    lappend clist { 0 w 1111 0x00005b 0x08000000};
    lappend clist { 0 w 1111 0x00005c 0x10000000};
    lappend clist { 0 w 1111 0x00005d 0x20000000};
    lappend clist { 0 w 1111 0x00005e 0x40000000};
    lappend clist { 0 w 1111 0x00005f 0x80000000};
    lappend clist { 0 r 1111 0x000040 0x00000001};
    lappend clist { 0 r 1111 0x000041 0x00000002};
    lappend clist { 0 r 1111 0x000042 0x00000004};
    lappend clist { 0 r 1111 0x000043 0x00000008};
    lappend clist { 0 r 1111 0x000044 0x00000010};
    lappend clist { 0 r 1111 0x000045 0x00000020};
    lappend clist { 0 r 1111 0x000046 0x00000040};
    lappend clist { 0 r 1111 0x000047 0x00000080};
    lappend clist { 0 r 1111 0x000048 0x00000100};
    lappend clist { 0 r 1111 0x000049 0x00000200};
    lappend clist { 0 r 1111 0x00004a 0x00000400};
    lappend clist { 0 r 1111 0x00004b 0x00000800};
    lappend clist { 0 r 1111 0x00004c 0x00001000};
    lappend clist { 0 r 1111 0x00004d 0x00002000};
    lappend clist { 0 r 1111 0x00004e 0x00004000};
    lappend clist { 0 r 1111 0x00004f 0x00008000};
    lappend clist { 0 r 1111 0x000050 0x00010000};
    lappend clist { 0 r 1111 0x000051 0x00020000};
    lappend clist { 0 r 1111 0x000052 0x00040000};
    lappend clist { 0 r 1111 0x000053 0x00080000};
    lappend clist { 0 r 1111 0x000054 0x00100000};
    lappend clist { 0 r 1111 0x000055 0x00200000};
    lappend clist { 0 r 1111 0x000056 0x00400000};
    lappend clist { 0 r 1111 0x000057 0x00800000};
    lappend clist { 0 r 1111 0x000058 0x01000000};
    lappend clist { 0 r 1111 0x000059 0x02000000};
    lappend clist { 0 r 1111 0x00005a 0x04000000};
    lappend clist { 0 r 1111 0x00005b 0x08000000};
    lappend clist { 0 r 1111 0x00005c 0x10000000};
    lappend clist { 0 r 1111 0x00005d 0x20000000};
    lappend clist { 0 r 1111 0x00005e 0x40000000};
    lappend clist { 0 r 1111 0x00005f 0x80000000};
    ## C alternating read of 1 bit and all-1 word
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000040 0x00000001};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000041 0x00000002};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000042 0x00000004};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000043 0x00000008};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000044 0x00000010};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000045 0x00000020};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000046 0x00000040};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000047 0x00000080};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000048 0x00000100};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000049 0x00000200};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00004a 0x00000400};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00004b 0x00000800};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00004c 0x00001000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00004d 0x00002000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00004e 0x00004000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00004f 0x00008000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000050 0x00010000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000051 0x00020000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000052 0x00040000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000053 0x00080000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000054 0x00100000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000055 0x00200000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000056 0x00400000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000057 0x00800000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000058 0x01000000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000059 0x02000000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00005a 0x04000000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00005b 0x08000000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00005c 0x10000000};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00005d 0x20000000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00005e 0x40000000};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00005f 0x80000000};
    ## C write 32 words with thermometer code (and verify)
    lappend clist { 0 w 1111 0x000060 0x00000001};
    lappend clist { 0 w 1111 0x000061 0x00000003};
    lappend clist { 0 w 1111 0x000062 0x00000007};
    lappend clist { 0 w 1111 0x000063 0x0000000f};
    lappend clist { 0 w 1111 0x000064 0x0000001f};
    lappend clist { 0 w 1111 0x000065 0x0000003f};
    lappend clist { 0 w 1111 0x000066 0x0000007f};
    lappend clist { 0 w 1111 0x000067 0x000000ff};
    lappend clist { 0 w 1111 0x000068 0x000001ff};
    lappend clist { 0 w 1111 0x000069 0x000003ff};
    lappend clist { 0 w 1111 0x00006a 0x000007ff};
    lappend clist { 0 w 1111 0x00006b 0x00000fff};
    lappend clist { 0 w 1111 0x00006c 0x00001fff};
    lappend clist { 0 w 1111 0x00006d 0x00003fff};
    lappend clist { 0 w 1111 0x00006e 0x00007fff};
    lappend clist { 0 w 1111 0x00006f 0x0000ffff};
    lappend clist { 0 w 1111 0x000070 0x0001ffff};
    lappend clist { 0 w 1111 0x000071 0x0003ffff};
    lappend clist { 0 w 1111 0x000072 0x0007ffff};
    lappend clist { 0 w 1111 0x000073 0x000fffff};
    lappend clist { 0 w 1111 0x000074 0x001fffff};
    lappend clist { 0 w 1111 0x000075 0x003fffff};
    lappend clist { 0 w 1111 0x000076 0x007fffff};
    lappend clist { 0 w 1111 0x000077 0x00ffffff};
    lappend clist { 0 w 1111 0x000078 0x01ffffff};
    lappend clist { 0 w 1111 0x000079 0x03ffffff};
    lappend clist { 0 w 1111 0x00007a 0x07ffffff};
    lappend clist { 0 w 1111 0x00007b 0x0fffffff};
    lappend clist { 0 w 1111 0x00007c 0x1fffffff};
    lappend clist { 0 w 1111 0x00007d 0x3fffffff};
    lappend clist { 0 w 1111 0x00007e 0x7fffffff};
    lappend clist { 0 w 1111 0x00007f 0xffffffff};
    lappend clist { 0 r 1111 0x000060 0x00000001};
    lappend clist { 0 r 1111 0x000061 0x00000003};
    lappend clist { 0 r 1111 0x000062 0x00000007};
    lappend clist { 0 r 1111 0x000063 0x0000000f};
    lappend clist { 0 r 1111 0x000064 0x0000001f};
    lappend clist { 0 r 1111 0x000065 0x0000003f};
    lappend clist { 0 r 1111 0x000066 0x0000007f};
    lappend clist { 0 r 1111 0x000067 0x000000ff};
    lappend clist { 0 r 1111 0x000068 0x000001ff};
    lappend clist { 0 r 1111 0x000069 0x000003ff};
    lappend clist { 0 r 1111 0x00006a 0x000007ff};
    lappend clist { 0 r 1111 0x00006b 0x00000fff};
    lappend clist { 0 r 1111 0x00006c 0x00001fff};
    lappend clist { 0 r 1111 0x00006d 0x00003fff};
    lappend clist { 0 r 1111 0x00006e 0x00007fff};
    lappend clist { 0 r 1111 0x00006f 0x0000ffff};
    lappend clist { 0 r 1111 0x000070 0x0001ffff};
    lappend clist { 0 r 1111 0x000071 0x0003ffff};
    lappend clist { 0 r 1111 0x000072 0x0007ffff};
    lappend clist { 0 r 1111 0x000073 0x000fffff};
    lappend clist { 0 r 1111 0x000074 0x001fffff};
    lappend clist { 0 r 1111 0x000075 0x003fffff};
    lappend clist { 0 r 1111 0x000076 0x007fffff};
    lappend clist { 0 r 1111 0x000077 0x00ffffff};
    lappend clist { 0 r 1111 0x000078 0x01ffffff};
    lappend clist { 0 r 1111 0x000079 0x03ffffff};
    lappend clist { 0 r 1111 0x00007a 0x07ffffff};
    lappend clist { 0 r 1111 0x00007b 0x0fffffff};
    lappend clist { 0 r 1111 0x00007c 0x1fffffff};
    lappend clist { 0 r 1111 0x00007d 0x3fffffff};
    lappend clist { 0 r 1111 0x00007e 0x7fffffff};
    lappend clist { 0 r 1111 0x00007f 0xffffffff};
    ## C alternating read of thermometer code and all-1 word
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000060 0x00000001};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000061 0x00000003};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000062 0x00000007};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000063 0x0000000f};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000064 0x0000001f};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000065 0x0000003f};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000066 0x0000007f};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000067 0x000000ff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000068 0x000001ff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000069 0x000003ff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00006a 0x000007ff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00006b 0x00000fff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00006c 0x00001fff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00006d 0x00003fff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00006e 0x00007fff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00006f 0x0000ffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000070 0x0001ffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000071 0x0003ffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000072 0x0007ffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000073 0x000fffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000074 0x001fffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000075 0x003fffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000076 0x007fffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x000077 0x00ffffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000078 0x01ffffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x000079 0x03ffffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00007a 0x07ffffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00007b 0x0fffffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00007c 0x1fffffff};
    lappend clist { 0 r 1111 0x000021 0xffffffff};
    lappend clist { 0 r 1111 0x00007d 0x3fffffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00007e 0x7fffffff};
    lappend clist { 0 r 1111 0x03ffff 0xffffffff};
    lappend clist { 0 r 1111 0x00007f 0xffffffff};
    ## C alternating read of thermometer code and all-0 word
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000060 0x00000001};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000061 0x00000003};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000062 0x00000007};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000063 0x0000000f};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000064 0x0000001f};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000065 0x0000003f};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000066 0x0000007f};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000067 0x000000ff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000068 0x000001ff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000069 0x000003ff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00006a 0x000007ff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00006b 0x00000fff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x00006c 0x00001fff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x00006d 0x00003fff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00006e 0x00007fff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00006f 0x0000ffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000070 0x0001ffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000071 0x0003ffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000072 0x0007ffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000073 0x000fffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000074 0x001fffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000075 0x003fffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000076 0x007fffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x000077 0x00ffffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000078 0x01ffffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x000079 0x03ffffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00007a 0x07ffffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00007b 0x0fffffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x00007c 0x1fffffff};
    lappend clist { 0 r 1111 0x000020 0x00000000};
    lappend clist { 0 r 1111 0x00007d 0x3fffffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00007e 0x7fffffff};
    lappend clist { 0 r 1111 0x03fffe 0x00000000};
    lappend clist { 0 r 1111 0x00007f 0xffffffff};
## # random sequence generated with gen_tst_sram_ranseq 64
## C now do some write/read tests with random addr/data
## C   16 writes
    lappend clist { 0 w 1111 0x0039dc 0x96d0e73e};
    lappend clist { 0 w 1111 0x006d4a 0xbbbb4372};
    lappend clist { 0 w 1111 0x0092b6 0xf58ace40};
    lappend clist { 0 w 1111 0x01393e 0xeb748a98};
    lappend clist { 0 w 1111 0x019b4c 0x69281826};
    lappend clist { 0 w 1111 0x02a8ba 0xdae538d7};
    lappend clist { 0 w 1111 0x00341a 0x8f42ffbd};
    lappend clist { 0 w 1111 0x01b18a 0x5b523e97};
    lappend clist { 0 w 1111 0x039bb7 0x46eea237};
    lappend clist { 0 w 1111 0x03f294 0x8824fcef};
    lappend clist { 0 w 1111 0x036375 0xd1c10ba8};
    lappend clist { 0 w 1111 0x0067f6 0xfc93d1dc};
    lappend clist { 0 w 1111 0x01242e 0x1316562d};
    lappend clist { 0 w 1111 0x00a090 0x0779b757};
    lappend clist { 0 w 1111 0x01aebe 0xe06ae43f};
    lappend clist { 0 w 1111 0x019109 0xf558ccb4};
    ## C   16 writes and 16 reads mixed
    lappend clist { 0 w 1111 0x03c4a6 0x96dbbcff};
    lappend clist { 0 r 1111 0x0039dc 0x96d0e73e};
    lappend clist { 0 w 1111 0x016ea6 0x14010c8f};
    lappend clist { 0 r 1111 0x006d4a 0xbbbb4372};
    lappend clist { 0 r 1111 0x0092b6 0xf58ace40};
    lappend clist { 0 w 1111 0x037728 0xe4b4e052};
    lappend clist { 0 w 1111 0x0265d5 0x9d612c95};
    lappend clist { 0 r 1111 0x01393e 0xeb748a98};
    lappend clist { 0 w 1111 0x017b76 0xfe2576be};
    lappend clist { 0 r 1111 0x019b4c 0x69281826};
    lappend clist { 0 w 1111 0x0172cc 0x4f67af1f};
    lappend clist { 0 w 1111 0x005b4b 0x8f7e559d};
    lappend clist { 0 w 1111 0x019341 0xa829717d};
    lappend clist { 0 r 1111 0x02a8ba 0xdae538d7};
    lappend clist { 0 r 1111 0x00341a 0x8f42ffbd};
    lappend clist { 0 r 1111 0x01b18a 0x5b523e97};
    lappend clist { 0 w 1111 0x034de2 0xd53f120f};
    lappend clist { 0 r 1111 0x039bb7 0x46eea237};
    lappend clist { 0 w 1111 0x02119e 0x6253f647};
    lappend clist { 0 r 1111 0x03f294 0x8824fcef};
    lappend clist { 0 w 1111 0x00f1ac 0x936c2522};
    lappend clist { 0 r 1111 0x036375 0xd1c10ba8};
    lappend clist { 0 w 1111 0x00716b 0x2db9e1fa};
    lappend clist { 0 r 1111 0x0067f6 0xfc93d1dc};
    lappend clist { 0 w 1111 0x01781f 0xae31b1e7};
    lappend clist { 0 r 1111 0x01242e 0x1316562d};
    lappend clist { 0 w 1111 0x0187bf 0xccdbf8e7};
    lappend clist { 0 w 1111 0x029b82 0x95274e53};
    lappend clist { 0 r 1111 0x00a090 0x0779b757};
    lappend clist { 0 r 1111 0x01aebe 0xe06ae43f};
    lappend clist { 0 w 1111 0x0244c7 0x5fd2ee97};
    lappend clist { 0 r 1111 0x019109 0xf558ccb4};
    ## C   16 writes and 16 reads mixed, with waits
    lappend clist { 0 w 1111 0x0239b6 0x8f147909};
    lappend clist { 1 r 1111 0x03c4a6 0x96dbbcff};
    lappend clist { 0 w 1111 0x03b485 0x9f2c58f4};
    lappend clist { 2 r 1111 0x016ea6 0x14010c8f};
    lappend clist { 0 w 1111 0x01e384 0xde6a4ad3};
    lappend clist { 0 r 1111 0x037728 0xe4b4e052};
    lappend clist { 1 w 1111 0x00abc1 0x4a3aafbe};
    lappend clist { 0 r 1111 0x0265d5 0x9d612c95};
    lappend clist { 2 w 1111 0x03cbb0 0x0adff6f0};
    lappend clist { 0 r 1111 0x017b76 0xfe2576be};
    lappend clist { 2 r 1111 0x0172cc 0x4f67af1f};
    lappend clist { 0 w 1111 0x0128cc 0x94959a76};
    lappend clist { 1 r 1111 0x005b4b 0x8f7e559d};
    lappend clist { 0 r 1111 0x019341 0xa829717d};
    lappend clist { 2 w 1111 0x029a71 0xad031981};
    lappend clist { 0 r 1111 0x034de2 0xd53f120f};
    lappend clist { 3 r 1111 0x02119e 0x6253f647};
    lappend clist { 0 w 1111 0x004b60 0xcb3cfc9a};
    lappend clist { 1 r 1111 0x00f1ac 0x936c2522};
    lappend clist { 0 w 1111 0x03dc56 0x1bd4948d};
    lappend clist { 2 w 1111 0x01a28a 0x9b8c1f3d};
    lappend clist { 0 r 1111 0x00716b 0x2db9e1fa};
    lappend clist { 3 w 1111 0x037682 0x4f8e2aca};
    lappend clist { 0 w 1111 0x00d920 0xb6f4fdfc};
    lappend clist { 1 r 1111 0x01781f 0xae31b1e7};
    lappend clist { 0 w 1111 0x024aed 0x289e121a};
    lappend clist { 2 w 1111 0x037d2d 0x43b8b430};
    lappend clist { 0 r 1111 0x0187bf 0xccdbf8e7};
    lappend clist { 3 w 1111 0x008798 0x19a1600a};
    lappend clist { 0 w 1111 0x02eb94 0xda68509a};
    lappend clist { 1 r 1111 0x029b82 0x95274e53};
    lappend clist { 2 r 1111 0x0244c7 0x5fd2ee97};
    ## C   finally 16 reads
    lappend clist { 0 r 1111 0x0239b6 0x8f147909};
    lappend clist { 0 r 1111 0x03b485 0x9f2c58f4};
    lappend clist { 0 r 1111 0x01e384 0xde6a4ad3};
    lappend clist { 0 r 1111 0x00abc1 0x4a3aafbe};
    lappend clist { 0 r 1111 0x03cbb0 0x0adff6f0};
    lappend clist { 0 r 1111 0x0128cc 0x94959a76};
    lappend clist { 0 r 1111 0x029a71 0xad031981};
    lappend clist { 0 r 1111 0x004b60 0xcb3cfc9a};
    lappend clist { 0 r 1111 0x03dc56 0x1bd4948d};
    lappend clist { 0 r 1111 0x01a28a 0x9b8c1f3d};
    lappend clist { 0 r 1111 0x037682 0x4f8e2aca};
    lappend clist { 0 r 1111 0x00d920 0xb6f4fdfc};
    lappend clist { 0 r 1111 0x024aed 0x289e121a};
    lappend clist { 0 r 1111 0x037d2d 0x43b8b430};
    lappend clist { 0 r 1111 0x008798 0x19a1600a};
    lappend clist { 0 r 1111 0x02eb94 0xda68509a};

    return $clist
  }
}
