blob: 8a32d1803c4db0d3954dbcd2c6264bc9b8d63099 [file] [log] [blame]
lowRISC Contributors802543a2019-08-31 12:12:56 +01001// Copyright lowRISC contributors.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
Shailendra Kushwah5d862e12019-09-05 11:42:25 -07005class ${name}_common_vseq extends ${name}_base_vseq;
6 `uvm_object_utils(${name}_common_vseq)
lowRISC Contributors802543a2019-08-31 12:12:56 +01007
8 constraint num_trans_c {
9 num_trans inside {[1:2]};
10 }
11 `uvm_object_new
12
13 virtual task body();
Udi Jonnalagadda4eb39e62020-03-16 17:15:27 -070014% if is_cip:
Shailendra Kushwah5d862e12019-09-05 11:42:25 -070015 run_common_vseq_wrapper(num_trans);
Udi Jonnalagadda4eb39e62020-03-16 17:15:27 -070016% elif has_ral:
17 run_csr_vseq_wrapper(num_trans);
18% endif
lowRISC Contributors802543a2019-08-31 12:12:56 +010019 endtask : body
20
lowRISC Contributors802543a2019-08-31 12:12:56 +010021endclass