Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I could check the LRM for you? --- Quote End --- That's the spirit. I skimmed through the LRM, but that's not my kind of literature :) If it truly is an error, it is kind of funny that when we replace the unsigned cast by a function doing the exact same thing, Modelsim thinks it's fine.
function slv2u( v : std_logic_vector) return unsigned is
return unsigned(v) ;
end function;
control_ccassigns_6_D <= slv2u(WD)((WIDTH + START) - 1 downto START);
doest the trick. Regards, Josy