Search the Community
Showing results for tags 'dynamic array'.
-
Hi, Does SystemC support queue like SystemVerilog? I want to create dynamic array in SystemC TLM2.0, can any one suggest a better way to do it? Thanks Zubin
-
I am using QuestaSim 10.3a_1 and try to record a dynamic array in the sequence item. But it doesn't show in the waveform window. When I try to fix the array size and use uvm_field_sarray_int to record it, it works well and data show as expected in the waveform windows. My code: # sequence item parameter int P_BIT_DEPTH = 10; rand int unsigned data_len; rand bit unsigned [P_BIT_DEPTH-1:0] data []; ... `uvm_field_array_int(data, UVM_ALL_ON+UVM_UNSIGNED) `uvm_field_int (data_len, UVM_ALL_ON+UVM_UNSIGNED) ... constraint
- 1 reply
-
- uvm_field_array_int
- dynamic array
-
(and 3 more)
Tagged with: