forked from everactive/bathtub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from williaml33moore/127-bathtub_interface
Create interface class for bathtub.
- Loading branch information
Showing
8 changed files
with
158 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
MIT License | ||
Copyright (c) 2024 William L. Moore | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
|
||
`ifndef __BATHTUB_INTERFACE_SVH | ||
`define __BATHTUB_INTERFACE_SVH | ||
|
||
import uvm_pkg::*; | ||
|
||
`include "uvm_macros.svh" | ||
|
||
`include "bathtub_pkg/bathtub_pkg.svh" | ||
|
||
typedef class plusarg_options; | ||
|
||
interface class bathtub_interface; | ||
|
||
pure virtual function void configure( | ||
uvm_sequencer_base sequencer, | ||
uvm_sequence_base parent_sequence = null, | ||
int sequence_priority = 100, | ||
bit sequence_call_pre_post = 1 | ||
); | ||
pure virtual function plusarg_options get_plusarg_opts(); | ||
pure virtual function strings_t get_feature_files(); | ||
pure virtual function void concat_feature_files(string files[$]); | ||
pure virtual function void push_back_feature_file(string file); | ||
pure virtual function void set_report_object(uvm_report_object report_object); | ||
pure virtual function uvm_report_object get_report_object(); | ||
pure virtual function uvm_sequencer_base get_sequencer(); | ||
pure virtual function int get_sequence_priority(); | ||
pure virtual function bit get_sequence_call_pre_post(); | ||
pure virtual function bit get_dry_run(); | ||
pure virtual function int get_starting_scenario_number(); | ||
pure virtual function int get_stopping_scenario_number(); | ||
pure virtual function strings_t get_include_tags(); | ||
pure virtual function strings_t get_exclude_tags(); | ||
pure virtual function void concat_undefined_steps(gherkin_pkg::step steps[$]); | ||
pure virtual function uvm_sequence_base as_sequence(); | ||
|
||
endclass : bathtub_interface | ||
|
||
`include "bathtub_pkg/plusarg_options.svh" | ||
|
||
`endif // __BATHTUB_INTERFACE_SVH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
MIT License | ||
Copyright (c) 2024 William L. Moore | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
|
||
`ifndef __STEP_ATTRIBUTES_POOL_T_SVH | ||
`define __STEP_ATTRIBUTES_POOL_T_SVH | ||
|
||
import uvm_pkg::*; | ||
typedef class step_nurture; | ||
|
||
typedef uvm_pool#(uvm_sequence_base, step_nurture) step_attributes_pool_t; | ||
|
||
`include "bathtub_pkg/step_nurture.svh" | ||
|
||
`endif // __STEP_ATTRIBUTES_POOL_T_SVH |
Oops, something went wrong.