General discussion & key points #123
Replies: 9 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
New discussion topics:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
|
Beta Was this translation helpful? Give feedback.
-
Considering that generic constants should be emitted as module XXX {
int param;
};
impl XXX {
int n;
const unsigned bus<n> b = 0;
for (i in [0:10]) {
if (i == param) {
n = 143;
}
}
} |
Beta Was this translation helpful? Give feedback.
-
Another builtin ideas:
|
Beta Was this translation helpful? Give feedback.
-
HIRL / HIRN parameter binding issueimpl X {
int a = 7;
generic_module m{
param: a + 1 // this will have 65-bit width and will cause HIRL elab error (everything is a bus)
};
}
|
Beta Was this translation helpful? Give feedback.
-
Can we enforce generic assigment in declaration scope? |
Beta Was this translation helpful? Give feedback.
-
ideas / solutions to be discussed:
Beta Was this translation helpful? Give feedback.
All reactions