You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(xcelium): the -enable_cmdline_define_redefinition argument is not supported for Xcelium 24 and below #532
I'm assuming that this argument was added to some kind of ancient version of Xcelium from 1876. Cadence is supporting Xcelium up to 2-4 years, older versions of Xcelium are nuked.
xmhelp xrun BDOPT
xmhelp(64): 24.03-s005: (c) Copyright 1995-2024 Cadence Design Systems, Inc.
xrun/BDOPT =
The mentioned option is not handled by the xrun utility.
(Default severity: 'SE')
But the Xcelium 25 is accepting this option. Still, this option is not documented in any version of Xcelium.
It seems that this option was added silently by Cadence in the Xcelium 25.
Conclusion, cannot use the xcelium backend with the Cadence Xcelium < 25 because of the -enable_cmdline_define_redefinition argument. User must use at least the Cadence Xcelium 25 with hotfixes and above.
Possible fix could parse the version of the Xcelium to 3 elements tuple (like in case of the Python version). And do something like this:
changed the title [-]bug(xcelium): the -enable_cmdline_define_redefinition argument is not supported[/-][+]bug(xcelium): the -enable_cmdline_define_redefinition argument is not supported for Xcelium 24 and below[/+]on Jun 23, 2026
Ouch... that makes things a bit complicated. The reason for having it was basically to allow different parts of a design to be compiled with different defines, and especially allow having identically named modules with different designs but located in different logical libraries. If we can find a way around that, I'm happy to let it go.
Ouch... that makes things a bit complicated. The reason for having it was basically to allow different parts of a design to be compiled with different defines, and especially allow having identically named modules with different designs but located in different logical libraries. If we can find a way around that, I'm happy to let it go.
But this is already supported by -makelib ... -endlib 🤔 You can even use it per file for the same library and define with different value like this:
Activity
tymonx commentedon Jun 23, 2026
When using Cadence Xcelium 24 (still supported):
From the
xmhelpcommand:But the Xcelium 25 is accepting this option. Still, this option is not documented in any version of Xcelium.
And:
Returns nothing.
It seems that this option was added silently by Cadence in the Xcelium 25.
Conclusion, cannot use the
xceliumbackend with the Cadence Xcelium < 25 because of the-enable_cmdline_define_redefinitionargument. User must use at least the Cadence Xcelium 25 with hotfixes and above.Possible fix could parse the version of the Xcelium to 3 elements tuple (like in case of the Python version). And do something like this:
[-]bug(xcelium): the -enable_cmdline_define_redefinition argument is not supported[/-][+]bug(xcelium): the -enable_cmdline_define_redefinition argument is not supported for Xcelium 24 and below[/+]olofk commentedon Aug 10, 2026
Ouch... that makes things a bit complicated. The reason for having it was basically to allow different parts of a design to be compiled with different defines, and especially allow having identically named modules with different designs but located in different logical libraries. If we can find a way around that, I'm happy to let it go.
tymonx commentedon Aug 10, 2026
But this is already supported by
-makelib ... -endlib🤔 You can even use it per file for the same library and define with different value like this:tymonx commentedon Aug 10, 2026
One of my previous PR guarantees that the
libwill be always setedalize/edalize/tools/xcelium.py
Line 140 in e8e25d0
As affect of that, the
xceliumbackend will always use the-makelib <lib> <file> <defines> -endlib:edalize/edalize/tools/xcelium.py
Lines 154 to 164 in 6c1afd6
We can now safely drop the
-enable_cmdline_define_redefinition. I will raise a PR for that.tymonx commentedon Aug 11, 2026
And PR was born #558