Altera_Forum
Honored Contributor
16 years agoProblem with LPM_MUX
This is a basic problem but it is catching me out, I am trying to implement a simple 2-to-1 mux using the LPM but Quartus is kindly telling me I am using the 2D_std_logic type incorrectly
mux : LPM_MUX
GENERIC MAP(
LPM_WIDTH => 12,
LPM_SIZE => 2,
LPM_WIDTHS => 1
)
PORT MAP (
DATA(0, 11 downto 0) => Ramp_Up_I(11 downto 0),
DATA(1, 11 downto 0) => Ramp_Down_Q(11 downto 0), SEL => clockdivide(0),
RESULT(11 downto 0) => Muxed_IQ(11 downto 0)
);The error is slice of object cannot be specified for object that has an array type of more than one dimension Any help would be greatly appreciated