Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能很容易,但遗憾的是我无法真正找到答案。假设我有...
input [31:0] controls;
我将如何声明一个可以返回的位数组,它等于这些位的一部分,例如 6-0 或 31-25?
我不确定我是否完全理解这个问题(这对我来说有点模糊),但你只是在寻找这个吗?
wire [6:0] controls_part; assign controls_part = controls[31:25];
或者你能详细说明一下吗?