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
The SystemRDL spec appears to support concatenation and replication operators just as Verilog does, but I'm having trouble getting it to work in PeakRDL Regblock. Am I missing some key to making this work? I have a single bit field which I'm trying to use as a mask on a wider bit field.
hwmask.rdl:45:46: fatal: Concatenation operator can only be used for integral or string types
mode.feature_mode->hwmask = {3{feature.enable}};
I've been trying to determine if there is a way I need to explicitly set the feature.enable field as an integral type, but I thought it would be integral (bit/logic) by default? If anyone has any insight, I'd be grateful!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The SystemRDL spec appears to support concatenation and replication operators just as Verilog does, but I'm having trouble getting it to work in PeakRDL Regblock. Am I missing some key to making this work? I have a single bit field which I'm trying to use as a mask on a wider bit field.
I also tried concatenation...
Both lead to the following error.
I've been trying to determine if there is a way I need to explicitly set the feature.enable field as an integral type, but I thought it would be integral (bit/logic) by default? If anyone has any insight, I'd be grateful!
Beta Was this translation helpful? Give feedback.
All reactions