python3 ./fpga_lattice_convert.py csi2_aggr_vc_RD_NX_impl_1.bit test_new.bin
Text metadata header removed. Preamble found at offset 359.
Extracted 862756 bytes of clean hardware-ready payload.
Success! Output file saved to: test_new.bin
vovan@localhost:~/LATTICE/NEW> mc
vovan@localhost:~/LATTICE/NEW> hexdump test_new.bin
0000000 ffff b3bd ffff ffff ffff ffff ffff ffff
0000010 ffff ffff ffff ffff 003b 0000 ffff ffff
0000020 003b 0000 ffff ffff 00e2 0000 0f11 4310
0000030 0022 0000 0000 0000 00b4 0000 0000 0080
0000040 9182 2000 0000 0000 0000 0000 0000 0000
0000050 0000 0000 0000 0000 0000 0000 0000 0000
*
0000090 0000 0001 0000 1f00 7605 ff0f 0000 0000
00000a0 0000 0000 0000 0000 0000 0000 0000 0000
00000b0 0000 0000 0100 0000 0000 0000 0000 0000
00000c0 0000 0000 0000 0000 0000 0000 0000 0000