テストベンチで使用できる uvm_field_* マクロが見つかりません。私は構造体を定義しました:
typedef struct {
unsigned byte red;
unsigned byte green;
unsigned byte blue;
} pixel;
ここで、シーケンス アイテムで次のように宣言します。
rand pixel unsigned data[];
rand int unsigned height;
rand int unsigned width;
`uvm_object_utils_begin(cgs_rgb_trans_t)
`uvm_field_int(height, UVM_ALL_ON)
`uvm_field_int(width, UVM_ALL_ON)
`uvm_field_array_pixel(data, UVM_ALL_ON)
`uvm_object_utils_end
これがうまくいくとは思えません。uvm_field_array_int として登録することはできますか? これを行う方法は何ですか?