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.
我想从 specman 读取 2D 逻辑数组。 verilog代码是:
logic [3:0][31:0] logic_array;
如何才能做到这一点?
我使用logic_array[0]获取条目 0 的位 #0 的值来访问它。
logic_array[0]
logic_array:uint列表(位:32);
保持 logic_array.size() == 4;
var v1:uint(bits:32) = logic_array[0];
为 logic_array[0][0] 访问 v1[0]