mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Move hardcoded value where it belongs
Keep FPGA parameters together in the same place
This commit is contained in:
parent
3e4b7d07ff
commit
f47e4ed115
2 changed files with 6 additions and 3 deletions
|
@ -23,9 +23,11 @@
|
|||
#define FPGA_BITSTREAM_FIXED_HEADER_SIZE sizeof(bitparse_fixed_header)
|
||||
#define FPGA_INTERLEAVE_SIZE 288
|
||||
#if defined XC3
|
||||
#define FPGA_CONFIG_SIZE 72864L // our current fpga_[lh]f.bit files are 72742 bytes. Rounded up to next multiple of FPGA_INTERLEAVE_SIZE
|
||||
#define FPGA_TYPE "3s100evq100"
|
||||
#define FPGA_CONFIG_SIZE 72864L // FPGA .bit file rounded up to next multiple of FPGA_INTERLEAVE_SIZE
|
||||
#else
|
||||
#define FPGA_CONFIG_SIZE 42336L // our current fpga_[lh]f.bit files are 42175 bytes. Rounded up to next multiple of FPGA_INTERLEAVE_SIZE
|
||||
#define FPGA_TYPE "2s30vq100"
|
||||
#define FPGA_CONFIG_SIZE 42336L // FPGA .bit file rounded up to next multiple of FPGA_INTERLEAVE_SIZE
|
||||
#endif
|
||||
#define FPGA_RING_BUFFER_BYTES (1024 * 30)
|
||||
#define FPGA_TRACE_SIZE 3072
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue