add an on_Display function which is being used by some of us
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 Dec 2021 12:47:24 +0000 (12:47 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 Dec 2021 12:47:24 +0000 (12:47 +0000)
for debugging purposes (needs a patch, normally would not be needed
but because this is low-level a dummy on_Display has to be provided)

src/openpower/decoder/test/_pyrtl.py

index b6c3ff1f2d1d12d6cba185a832db10bb2f020c11..453926362de534033f3fb1de376aef47edce41a7 100644 (file)
@@ -386,6 +386,9 @@ class _StatementCompiler(StatementVisitor, _Compiler):
             with self.emitter.nest():
                 self(stmts)
 
+    def on_Display(self, stmt):
+        raise NotImplementedError # :nocov:
+
     def on_Assert(self, stmt):
         raise NotImplementedError # :nocov: