Forum Discussion
ShengN_altera
Super Contributor
9 months agoHi,
It's not a bug. Just the pro and standard version support different format for RAM byteenable.
The format provided by you is only supported in pro version check this link https://www.intel.com/content/www/us/en/docs/programmable/683082/24-2/ram-with-byte-enable-signals.html
For Standard version link https://www.intel.com/content/www/us/en/docs/programmable/683323/18-1/ram-with-byte-enable-signals.html, have to change to something like below:
if Wr_Be(0) = '1' then
Mem_v(to_integer(unsigned(Wr_Addr)))(7 downto 0) := unsigned(Wr_Data(7 downto 0));
end if;
if Wr_Be(1) = '1' then
Mem_v(to_integer(unsigned(Wr_Addr)))(15 downto
end if;
Then the ram will be inferred check attached screenshot.