blob: 8a32d1803c4db0d3954dbcd2c6264bc9b8d63099 [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
class ${name}_common_vseq extends ${name}_base_vseq;
`uvm_object_utils(${name}_common_vseq)
constraint num_trans_c {
num_trans inside {[1:2]};
}
`uvm_object_new
virtual task body();
% if is_cip:
run_common_vseq_wrapper(num_trans);
% elif has_ral:
run_csr_vseq_wrapper(num_trans);
% endif
endtask : body
endclass