From e5bb9a0d7bade979eedf71c242dcfbc58b87b391 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 23 Jan 2021 19:19:47 +0000 Subject: [PATCH] and now for something completely different... --- src/soc/sv/trans/svp64.py | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.30.2