lpm_constant function in Altera Quartus 7.1

Jul 10, 2007 1 Replies

Hi. Is it buggy again, while using 32-bit hexdecimal number where most significant bit is one? What is the simplest workaround of this?



Use a vhdl constant instead of an lpm_constant:

constant reg_len_c : positive := 32; subtype reg_t is unsigned(reg_len_c-1 downto 0); constant reg_init_c : reg_t := x"87654321";

-- Mike Treseler

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required