Commit Graph

16 Commits

Author SHA1 Message Date
Gwenhael Goavec-Merou e75e15bb63 configBitstreamParser: added static method to switch bits for 32bits value 2024-11-09 11:26:02 +01:00
Alexey Starikovskiy 9e91c31e31 Fixes for PVS errors 2023-09-01 22:30:24 +03:00
Gwenhael Goavec-Merou 74790c40b6 configBitstreamParser: string::find return size_t not uint32_t 2022-03-20 08:24:49 +01:00
Gwenhael Goavec-Merou dfed1d1799 configBitstreamParser: cleanup 2021-12-03 07:21:22 +01:00
Gwenhael Goavec-Merou 9005b2880b CMakeList/configBitstreamParser: add optional zlib-ng support. No zlibxx is required 2021-12-02 07:20:58 +01:00
Gwenhael Goavec-Merou 7a19f94f19 add zlib support (currently limited to altera spiOverJtag) 2021-11-25 08:11:50 +01:00
Gwenhael Goavec-Merou cd64bce4f2 fix warning in Debug mode 2021-07-14 17:59:02 +02:00
Gwenhael Goavec-Merou 1e0a06288d configBitstreamParser: don't compute reverseByte, use a precomputed table: gain: 200ms for arty @30MHz 2021-07-14 08:44:22 +02:00
Gwenhael Goavec-Merou 8f95303daf move to APACHE-2.0 license 2021-06-26 15:24:07 +02:00
Gwenhael Goavec-Merou 0cae46b367 configBitstreamParser: fix CRLF vs LF: use fread with FILE (or stdin) instead of c++ stream 2021-05-26 17:56:21 +02:00
Gwenhael Goavec-Merou 16932786db all parser:
- _raw_data is now filled in configBitstreamParser
- source may be a file or a pipe
- displayHeader become a common method (configBitstreamParser)
- improve/rewrite some parser (efinixHexparser 1s -> 11ms)
2021-02-24 06:36:48 +01:00
Gwenhael Goavec-Merou 210bdac09a configBitstreamParser: external access to header keys/values 2021-02-10 08:02:20 +01:00
Gwenhael Goavec-Merou 46beaea14d configBitstreamParser: introduce a buffer for unprocessed file content 2021-01-24 18:16:09 +01:00
Gwenhael Goavec-Merou 2b3c9f0f8f cppcheck 2020-08-19 16:53:49 +02:00
Gwenhael Goavec-Merou 232b189286 configBitstreamParser: add map to store file header 2020-03-20 18:01:48 +01:00
Fabien Marteau a86eff6b57 Update cmake according to trabucayre request https://github.com/trabucayre/openFPGALoader/pull/17 2020-01-27 09:47:42 +01:00