Commit Graph

23 Commits

Author SHA1 Message Date
Gwenhael Goavec-Merou 790d2bccab fsParser: adding GW5A-25 IDCODE 2023-10-29 07:02:12 +01:00
Alexey Starikovskiy 6a0de15bff Parse LoadingRate field 2023-09-20 07:58:06 +02:00
Alexey Starikovskiy 1908ccd83b make output buffer const 2023-08-29 19:51:41 +03:00
Icenowy Zheng 0de2ea6b39 gowin: add preliminary support for GW5AST-138
Arora V series is a new series of Gowin FPGA, in which the flashing
process has changed.

Add preliminary support by adding FS file line count and deal with the
SRAM writing process. Flash writing is not yet done.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
2023-08-12 12:36:06 +08:00
Gwenhael Goavec-Merou 6f070d8e97 fsParser: fix usercode/checksum size 2023-02-16 19:59:58 +01:00
Cedric de Wijs 0bdef7bab1 typo's, added git as dependency 2022-12-18 13:56:54 +01:00
Icenowy Zheng dc4a454b94 gowin: add support for GW1NR-9C
GW1NR-9C has a different idcode with GW1NR-9.

Add support for it by adding the idcode.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2022-01-22 20:49:35 +08:00
Gwenhael Goavec-Merou 2ef040774e fsparser: gw1nsr-4c idcode/nb_line 2021-09-03 07:47:58 +02:00
Gwenhael Goavec-Merou cd64bce4f2 fix warning in Debug mode 2021-07-14 17:59:02 +02:00
Gwenhael Goavec-Merou 8f95303daf move to APACHE-2.0 license 2021-06-26 15:24:07 +02:00
Gwenhael Goavec-Merou b4fe045060 fsparser: don't try to analyze header after then end of header area 2021-06-18 13:33:40 +02:00
Gwenhael Goavec-Merou b28ae236a1 fsparser: drop CR at the end of line 2021-05-26 17:40:16 +02:00
Gwenhael Goavec-Merou 200bc6364e fsparser: fix checksum with GW1NS-2C, when configuration data is smaller than theory 2021-04-26 19:28:44 +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 590553e432 src/fsparser: rewrite to use header instead of comments, add support for compressed bitstream 2021-02-12 07:34:14 +01:00
Gwenhael Goavec-Merou 956d506bf7 fsparser: display warning message for missing or unknown idcode 2021-01-28 07:23:38 +01:00
Gwenhael Goavec-Merou 502546fcfc fsparser: add missing GW1N-4(ES) idcode 2021-01-28 06:07:51 +01:00
phdussud a11ec92a25 Fix gcc 10.2 error messages. 2020-12-12 15:48:45 -08:00
Gwenhael Goavec-Merou 487bc21d66 Fix fsparser:
- first bit in header lines maybe be 0 or 1 depending on crc_check
- data line length depend on crc_check too. Instead of trying to deduce
  length, use idcode to have this.
2020-10-09 19:26:50 +02:00
Gwenhael Goavec-Merou 7b048d2d82 fsparser: fix checksum for gw1n with ram 2020-09-29 08:07:57 +02:00
Gwenhael Goavec-Merou 5a3c78c1c3 fsparser: compute configuration data checksum instead of using the one provided in the comments 2020-03-22 19:16:52 +01:00
Gwenhael Goavec-Merou a373bf1613 fsparser: use map provided by configBitstreamParser instead of a lot a variable. 2020-03-20 18:55:13 +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