json4vhdl: use base16 encodings by eine · Pull Request #595 · VUnit/vunit

Copy link Copy Markdown

Collaborator

@eine eine commented

Nov 27, 2019

edited

Loading

Close #588

This is a proof of concept to encode stringified JSON generics in Python and decode them in VHDL. Example json4vhdl is reworked to handle three separate tests: stringified JSON, stringified and b16encoded JSON, and path to a JSON file.

In the current implementation, a package named encodings is added to VUnit. This includes b16decode and b16encode only, for now. Nonetheless, as commented in #588, this package might be merged into JSON-for-VHDL, instead of being added to VUnit.