xls icon indicating copy to clipboard operation
xls copied to clipboard

DSLX: `typeof` specifier?

Open RobSpringer opened this issue 2 years ago • 0 comments

Being able to specify a value or type in terms of another value's type might be handy.

pub const BAR = u32:0;
pub const FOO = typeof(BAR):3;

When dealing with imported symbols from other sources (say, imported Verilog types), this might make parameterized implementation easier.

RobSpringer avatar Mar 01 '22 20:03 RobSpringer