lpm_constant function in Altera Quartus 7.1

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

Reply to
drop669
Loading thread data ...

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

Reply to
Mike Treseler

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.