F
Fred
Guest
Not sure the best way to do this. Using Xilinx ISE 7.1. This is all in a
"clocked" if statement.
I was intending to use a case statement where there might be some "don't
care" bits in the "when" range.
case expression(2 downto 0)
when "0xx"
perform this
when "100"
perform that
etc
How can I concatenate a number of when expressions.
case expression(2 downto 0)
when "000"
perform this
when "001"
perform that
when "010"
perform this
when "011"
perform that
etc
Where "perform this" may be a long series of expressions.
Is there a better way of doing it?
"clocked" if statement.
I was intending to use a case statement where there might be some "don't
care" bits in the "when" range.
case expression(2 downto 0)
when "0xx"
perform this
when "100"
perform that
etc
How can I concatenate a number of when expressions.
case expression(2 downto 0)
when "000"
perform this
when "001"
perform that
when "010"
perform this
when "011"
perform that
etc
Where "perform this" may be a long series of expressions.
Is there a better way of doing it?