loading the lena256.hex at same time as xess_sdramspinst.bit to sdram and fpga
if state_r == t_State.INIT:
            enr_x.next = NO
            enw_x.next = NO
            addr_x.next = 131072
            dataToRam_x.next = 0
            datain_x.next = 0
            muxsel_x.next = 0
            state_x.next = t_State.WRITE
:020000040004F6
:100000000000
elif state_r == t_State.WRITE:
            if (done_s == NO):
                wr_s.next = YES
                #enw_x.next = NO

            elif (addr_r <= 131077):
                #enw_x.next = YES
                addr_x.next = addr_r + 1
                dataToRam_x.next = dataToRam_r + 1
                #datain_x.next = dataToRam_r + 1
            else:
                addr_x.next = 131072
                enw_x.next = NO
                enr_x.next = NO
                sum_x.next = 0
                state_x.next = t_State.READ_AND_SUM_DATA
This is demonstrating the writing
:020000040004F6
:1000000000000001000200030004000500060000DB

      elif state_r == t_State.READ_AND_SUM_DATA:
            if (done_s == NO):
                rd_s.next = YES
                #enr_x.next = NO
                #enw_x.next = NO
            elif (addr_r <= 131077):
                #enr_x.next = YES
                #dataToRam_x.next = dataout_r
                sum_x.next = sum_r + (dataFromRam_s )
                addr_x.next = addr_r + 1
            else:
                #muxsel_x.next = YES
                enr_x.next = NO
                addr_x.next = 0
                state_x.next = t_State.CK_SDRAM_RD
This is demonstrating the reading
:020000040004F6
:10000000 0000 0001 0002 0003 0004 0005 0006 0000 DB
          0 +  1 +  2 +  3 +  4 +  5 = 0x000f
0b00000000000000000001110 0x000f 0x0000
This is demonstrating the reading and writing to FIF0
Then reading from FIFO and writing to Sdram
:10000000009C009C00A400A400A400A4009C00A4E8
:10001000009C00A40094009C009C009C009C009C00
:10002000009C009C009C00A400A400A400AC00ACB8
:1000300000AC00AC00AC00A40094009C007C0074F8
:10004000005C005C0054006C006C00640064006C98
:10005000006C006C006C006C006C006C006C006C40
:10006000006C006C0064006C006C00740074007C18
:100070000074007C007C00740074007C007C0084B0
:1000800000840084007C0084008400840084007C60
:10009000008400840084007C007C007C0084008C50

:020000040004F6
:10000000000000010002000300040005000600A437
:1000100000A4009C00A4009C00A40094009C009CF0
:10002000009C009C009C009C009C009C00A400A4E0
:1000300000A400AC00AC00AC00AC00AC00A4009488
:10004000009C007C0074005C005C0054006C006C40
:1000500000640064006C006C006C006C006C006C50
:10006000006C006C006C006C006C0064006C006C38
:1000700000740074007C0074007C007C00740074C8
:10008000007C007C008400840084007C0084008468
:1000900000840084007C008400840084007C007C58
:1000A000007C0084008C007C008400840084008438
:1000B0000084008C0084008C008400840084008410
:1000C000008C00840084008C008400840084008400
:1000D0000084008C0084008C0084008400840084F0
:1000E0000084008400840084008C008400840084E8
:1000F0000084007C0084008C0084008400840084E0
:100100000084007C0084008C00840084007C0084D7
:10011000007C008C008400840084007C008C0084BF
:10012000007C007C0084007C0084008400840084C7
:10013000007C0084007C007C007C0074007C0074E7
:10014000006C0074006400640074007C0084008C07
:100150000094009C009C009C00A400A4009C0094BF
:10016000009C009C00940094009C009C0094009CC7