Altera_Forum
Honored Contributor
14 years agoA bug of LUT component?
Platform: xp + dsp builder 9.1 sp2 + matlab R2010a
The LUT component works well in simulink. When I generate VHDL files and use them in Quartus, its instance outputs only the first value, but never changes when the address input changes. I check the VHDL file, and find that a SCLR input linked to OPEN. But there is no options related to SCLR in simulink. I manually link SCLR with the same wire linked to ACLR. Then the LUT works. Is this a bug, or my improper usage of this component? My problem is that I have to modify code for every instance of LUT, every time I update MDL and autogenerated VHDL files.