We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc27599 commit e2eb4beCopy full SHA for e2eb4be
hls4ml/backends/libero/libero_types.py
@@ -103,6 +103,9 @@ def definition_cpp(self):
103
if args[2] == 'AP_TRN' and args[3] == 'AP_WRAP':
104
# This is the default, so we won't write the full definition for brevity
105
args[2] = args[3] = None
106
+ else:
107
+ args[2] = 'hls::' + str(args[2])
108
+ args[3] = 'hls::' + str(args[3])
109
110
args = ','.join([str(arg) for arg in args if arg is not None])
111
typestring = 'hls::ap_{signed}fixpt<{args}>'.format(signed='u' if not self.signed else '', args=args)
0 commit comments