applet.interface.jtag_xvc: fix `--frequency` optio...
by whitequark 3 months 1 week
applet.interface.jtag_xvc: fix `--frequency` option help.
b829cdb6
applet.interface.uart: add parity loopback test
by Thomas Watson 3 months 1 week
d67b2806
gateware.uart: fix parity computation
by Thomas Watson 3 months 1 week
gateware.uart: fix parity computation

Iteration over a `Shape` has not been a thing since Amaranth 0.4,
causing a `TypeError` when setting up non-constant parity. Use the
reduction XOR operator instead of hand-rolling the parity computation.

Tested that both odd and even parity work, and that mismatched settings
generate receive errors, when listening to an FT232R on macOS running
CoolTerm. Tested also that a loopback connection works.
e293eb7f
support.logging: fix off-by-1.
by whitequark 3 months 1 week
57d9a995
gateware.crc: add gateware for checksumming packet...
by whitequark 3 months 1 week
gateware.crc: add gateware for checksumming packet streams.
8b4a8774
tests: remove unused imports.
by whitequark 3 months 1 week
0f041017
applet: prepare for testing after building applet.
by whitequark 3 months 1 week
applet: prepare for testing after building applet.

This ensures that pins can be retrieved in `prepare` method.
13fa0545
examples/boilerplate: add more types.
by whitequark 3 months 2 weeks
7bb4b0f1
gateware.cobs: fix an internal overflow.
by whitequark 3 months 1 week
gateware.cobs: fix an internal overflow.

This bug was causing data corruption when the FIFO would fill up.

Co-authored-by: Wanda <wanda@phinode.net>
c87b6126
gateware.cobs: re-export `encode` and `decode` fro...
by whitequark 3 months 2 weeks
gateware.cobs: re-export `encode` and `decode` from `cobs` package.

This simplifies import management, and also allows us to easily replace
these functions with a faster implementation.
6070fd78
Report a bug