[Libre-soc-dev] efficient decoding algorithm for variable-length instructions

Jacob Lifshay programmerjake at gmail.com
Wed Nov 25 06:06:10 GMT 2020


I wrote out the following decoding algorithm for variable-length instructions:
https://libre-soc.org/openpower/sv/16_bit_compressed/decoding/

It uses the 16/32/48/64-bit encoding that I proposed in earlier
emails. It has a circuit depth of O(log N) for a decoder that can
decode N instructions per cycle.

Jacob



More information about the Libre-soc-dev mailing list