[Libre-soc-dev] SVP64 auto-generated table for microwatt decoding

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat Feb 27 17:26:04 GMT 2021


https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/power_svp64.py;h=5ef9c0c4185a6d9f9dca0925d1a2c2db75d3b817;hb=HEAD#l63

rright.  apologies.  i just realised i will need to use the above.

this is an intermediary analysis phase that combines svp64 EXTRA info with
the opcode CSV files to *extend* those CSV files with the identification
information needed.

where in decode1.vhdl there is in1/in2/in3/out this must be joined by
sv_in1 sv_out etc. where that column specifies the sub-field index (0-3) of
SVP64 EXTRA info that must be read.

that index can then be used e.g. here:
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/power_decoder2.py;h=0662284351b588a659ebd96a663dc72df94cc34f;hb=HEAD#l109

to actually grab the right EXTRA2/3 which tells you that in1 for example
has been extended to Vector.

i will update sv_decode.vhdl shortly.

l.


-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the Libre-soc-dev mailing list