Guest
Did VHDL-2008 ever add a way to do this?
constant k : integer := 5 when BOOLEAN_GENERIC else 8;
I.e, to do the Verilog ?: operator? Having to write a function to make this work is awkward and verbose.
constant k : integer := 5 when BOOLEAN_GENERIC else 8;
I.e, to do the Verilog ?: operator? Having to write a function to make this work is awkward and verbose.