In reply to dave_59:
In reply to chr_sue:
struct defined in sequence_item…and this
bit eh
is handle of that structure
class avst_sequence_item extends uvm_sequence_item;
....................
typedef struct{
rand bit [47:0] dst_addr;
rand bit [47:0] src_addr;
rand bit [15:0] ether_type;
} eth_header;
rand eth_header eh;
......................
endclass