【发布时间】:2011-04-25 22:52:54
【问题描述】:
我的状态定义如下:
type state_type is (s0, s1, s2, s3);
signal state : state_type;
现在我想用这个状态信息来形成另一个信号
signal data : std_logic_vector(3 downto 0);
signal data_plus_state : std_logic_vector(5 downto 0);
....
data_plus_state <= data & state;
有谁知道我如何将状态协调到 std_logic_vector 中,以便我可以连接这些 两个信号?
非常感谢, 抢
【问题讨论】:
-
属于 ChipHacker,但 SO 未提供选项。太糟糕了!