-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
When trying to work with real values, for example:
@hif.api
class TbInitiator(object):
@hif.imp
async def setv(self, voltage: ctypes.c_double):
passThe c_double type gets resolved to real in systemverilog and the 'real' keyword is used in some decorations. Xcelium is bombing on this, I think, because 'real' is a reserved keyword. If I use a datatype other than real, I no longer get the compilation error.
real __voltage = pyhdl_if::real(pyhdl_if::PyTuple_GetItem(args, 0));
|
xmvlog: *E,ILLPREF (hdl_call_if_api.svh,74|46): Illegal syntax for a package reference name (real).
Can the library be changed to use a different keyword that is not reserved?
Metadata
Metadata
Assignees
Labels
No labels