Closed djoffe closed 2 months ago
Hello,
I appreciate this tool; it has been saving me time with my Python-DPI interactions!
A task that lacks a return value or parameters is generated without a semicolon, leading to invalid SystemVerilog code.
@hif.api class FooDPI(object): @hif.imptask async def say_foo(self): pass
virtual task invokeTask( output pyhdl_if::PyObject retval, input string method, input pyhdl_if::PyObject args); retval = pyhdl_if::None; case (method) "say_foo": begin say_foo end default: begin $display("Fatal: unsupported method call %0s", method); end endcase endtask
Closed by #2.
Hello,
I appreciate this tool; it has been saving me time with my Python-DPI interactions!
A task that lacks a return value or parameters is generated without a semicolon, leading to invalid SystemVerilog code.