私は6ビットのstd_logic_vectorを複数の定数の任意の(つまり実行していない)6ビットの値と比較したいif節を持っています。私は "|"ケースストラクチャでは、しかしifステートメントを維持しながら、次のことを短縮する方法がありますか?私は100%確信していませんが、残りのデザインはVHDL93を使用していると思います。std_logic_vectorを複数の定数と比較する
if not (de_inst(31 downto 30) = FMT3 and (
de_inst(24 downto 19) = LDSB or
de_inst(24 downto 19) = LDSH or
de_inst(24 downto 19) = LDUB or
de_inst(24 downto 19) = LDUH or
de_inst(24 downto 19) = LD or
de_inst(24 downto 19) = LDD or
de_inst(24 downto 19) = STB or
de_inst(24 downto 19) = STH or
de_inst(24 downto 19) = ST or
de_inst(24 downto 19) = ISTD or
de_inst(24 downto 19) = IAND or
de_inst(24 downto 19) = ANDN or
de_inst(24 downto 19) = IOR or
de_inst(24 downto 19) = ORN or
de_inst(24 downto 19) = IXOR or
de_inst(24 downto 19) = IXNOR or
de_inst(24 downto 19) = ISLL or
de_inst(24 downto 19) = ISRL or
de_inst(24 downto 19) = ISRA or
de_inst(24 downto 19) = IADD or
de_inst(24 downto 19) = ISUB or
de_inst(24 downto 19) = UMUL or
de_inst(24 downto 19) = SMUL or
de_inst(24 downto 19) = UDIV or
de_inst(24 downto 19) = SDIV)) then
親愛なるdownvoter、downvoteを与えるための理由でコメントを残したので、それは問題を改善することができます。 –