From: Luke Kenneth Casson Leighton Date: Sat, 23 Jan 2021 19:19:47 +0000 (+0000) Subject: and now for something completely different... X-Git-Tag: 24jan2021_ls180~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5bb9a0d7bade979eedf71c242dcfbc58b87b391;p=soc.git and now for something completely different... --- diff --git a/src/soc/sv/trans/svp64.py b/src/soc/sv/trans/svp64.py index 034c2eae..7fe92317 100644 --- a/src/soc/sv/trans/svp64.py +++ b/src/soc/sv/trans/svp64.py @@ -410,6 +410,8 @@ class SVP64: svp64_rm += (srcwid << 6) # srcwid: bits 6-7 svp64_rm += (destwid << 4) # destwid: bits 4-5 + # nice debug printout. (and now for something completely different) + # https://youtu.be/u0WOIwlXE9g?t=146 print ("svp64_rm", hex(svp64_rm), bin(svp64_rm)) print (" mmode 0 :", bin(mmode)) print (" pmask 1-3 :", bin(pmask))