xls
xls copied to clipboard
DSLX: `typeof` specifier?
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.