Guest
I will not even consider myself a newbie in VHDL. I am trying to hack
someone else's code to do what I need it to do...which is trivial. I
am using Xilinx tools by the way.
I have a signal coming into a module:
USB_FIFODATA_I : std_logic_vector(31 downto 0);
All I want to do is make a trigger signal that asserts whenever that
input is NOT '0'.
So I have tried all the tricks I know (I don't know any tricks) and my
parser keeps giving me fits. Here's some examples of my stupidity:
trigger <= USB_FIFODATA_I /= '0';
trigger <= USB_FIFODATA_I(31 downto 0) /= '0';
trigger <= USB_FIFODATA_I /= "00000000000000000000000000000000";
Obviously, I don't know what I am doing. I have a book, but I can't
seem to find what I am looking for. Could someone please help me out
so I can debug what I need to!
Thanks!!
someone else's code to do what I need it to do...which is trivial. I
am using Xilinx tools by the way.
I have a signal coming into a module:
USB_FIFODATA_I : std_logic_vector(31 downto 0);
All I want to do is make a trigger signal that asserts whenever that
input is NOT '0'.
So I have tried all the tricks I know (I don't know any tricks) and my
parser keeps giving me fits. Here's some examples of my stupidity:
trigger <= USB_FIFODATA_I /= '0';
trigger <= USB_FIFODATA_I(31 downto 0) /= '0';
trigger <= USB_FIFODATA_I /= "00000000000000000000000000000000";
Obviously, I don't know what I am doing. I have a book, but I can't
seem to find what I am looking for. Could someone please help me out
so I can debug what I need to!
Thanks!!