Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
Modelsim is usually correct in these things. Quartus (and Xilinx) tend to just work without complaint.
I could check the LRM for you? - Altera_Forum
Honored Contributor
--- 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.
doest the trick. Regards, Josyfunction slv2u( v : std_logic_vector) return unsigned is return unsigned(v) ; end function; control_ccassigns_6_D <= slv2u(WD)((WIDTH + START) - 1 downto START); - Altera_Forum
Honored Contributor
Tricky,
did you find a moment to check the LRM about this? Regards, Josy - Altera_Forum
Honored Contributor
Sorry - no. Ill have a look tomorrow if I remember (its on my work laptop).