ChaXi
Junior Member level 1

Hello...
I'm trying to resolve a problem...
I need to have a component that does simply OR between bits of a vector which have a different length decided in top level by a generic map...
how can i write a correct sintax for this OR?
For example if i have
signal X : std_logic_vector (width-1 downto 0) --- my input;
signal MyOr: std_logic; --- my output
MyOr <= X(width-1) or ....:???:.... or X(0);
Anyone have a suggestion, please?
I'm trying to resolve a problem...
I need to have a component that does simply OR between bits of a vector which have a different length decided in top level by a generic map...
how can i write a correct sintax for this OR?
For example if i have
signal X : std_logic_vector (width-1 downto 0) --- my input;
signal MyOr: std_logic; --- my output
MyOr <= X(width-1) or ....:???:.... or X(0);
Anyone have a suggestion, please?