Hi. Is it buggy again, while using 32-bit hexdecimal number where most significant bit is one? What is the simplest workaround of this?
- posted
15 years ago
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
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.