5 releases
0.1.0 | Feb 22, 2022 |
---|---|
0.0.3 | Mar 15, 2020 |
0.0.2 | May 13, 2018 |
0.0.1 | Jan 17, 2018 |
0.0.0 | Jan 17, 2018 |
#1127 in Parser implementations
49 downloads per month
Used in 2 crates
(via xc2bit)
30KB
747 lines
JEDEC programming file parser/writer
Parse and write .jed
files for PAL/GAL/CPLD devices. Compatible with no_std
.
Parsing
let parsed = JEDECFile::from_bytes(..., &Quirks::new()).unwrap();
// access bits
parsed.f.get(...);
Writing
let mut jed = JEDECFile::new(100);
jed.header = Cow::Borrowed(b"File written by example tool\n");
jed.f.set(12345, true);
jed.write_io(..., &Quirks::new()).unwrap();
lib.rs
:
JEDEC programming file format parser and writer
Dependencies
~1MB
~23K SLoC