LPM_MULT not working for Cyclone 10 GX device
I can't get a simple LPM_MULT instantiation to work. It simulates fine in Questa, synthesizes in Quartus Prime 24.2.0 Build 40 06/27/2024 SC Pro Edition without warnings, but 'result' is always 0 with 'dataa' of 8333 and 'datab' of 100. The FPGA family is Cyclone 10 GX. I can post additional code and a screenshot of the SignalTap upon request:
component mul_18bit_7bit is
port (
dataa : in std_logic_vector (17 downto 0) := (others => 'X');
result : out std_logic_vector (24 downto 0);
datab : in std_logic_vector (6 downto 0) := (others => 'X');
clock : in std_logic := 'X'
);
end component mul_18bit_7bit;
Component is pipelined with one clock, unsigned. I've tried adding synchronous and asynchronous resets. 'datab' is a constant in this case, and I've tried instantiations where I specify 'datab' as a constant. 'clock' is a free-running at 100 MHz. All attempts yield a 0 'result'.
Any ideas would be greatly appreciated!
I could strip down the design, but I have some new information. I was able to work around the issue by changing the implementation style to "Use logic elements", in lieu of "Use the default implementation" or "Use the dedicated multiplier circuitry". I believe the default implementation is to use the dedicated multiplier circuitry. I think there really is a bug in the Altera LPM_MULT IP when using multiplier blocks.
Changed to "Use loigc elements"Signal Tap showing ckt works as expected