]> git.zerfleddert.de Git - proxmark3-svn/blob - common/fpga.h
e2acc1ec27cc1f5422756849bc5583e6d1ab262b
[proxmark3-svn] / common / fpga.h
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
4 // the license.
5 //-----------------------------------------------------------------------------
6
7 #ifndef __FPGA_H
8 #define __FPGA_H
9
10 #define FPGA_BITSTREAM_FIXED_HEADER_SIZE sizeof(bitparse_fixed_header)
11 #define FPGA_INTERLEAVE_SIZE 288
12 #define FPGA_CONFIG_SIZE ((size_t)42336) // our current fpga_[lh]f.bit files are 42175 bytes. Rounded up to next multiple of FPGA_INTERLEAVE_SIZE
13 #define FPGA_TRACE_SIZE 3072
14
15 static const uint8_t bitparse_fixed_header[] = {0x00, 0x09, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x00, 0x00, 0x01};
16 extern const int fpga_bitstream_num;
17 extern const char* const fpga_version_information[];
18
19 #endif
Impressum, Datenschutz