├── .github ├── test.tcl └── workflows │ └── Pipeline.yml ├── .gitignore ├── .gitmodules ├── AUTHORS.md ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CONTRIBUTORS.md ├── HELPWANTED.md ├── LICENSE.md ├── OsvvmLibraries.pro ├── OsvvmRegression.pro ├── README.md ├── RunAllTests.pro ├── RunAllTestsVti.pro ├── RunAllTestsWithCoverage.pro ├── RunDemoTests.pro └── RunDemoTestsWithCoverage.pro /.github/test.tcl: -------------------------------------------------------------------------------- 1 | source ../Scripts/[lindex $argv 0] 2 | build ../OsvvmRegression.pro 3 | -------------------------------------------------------------------------------- /.github/workflows/Pipeline.yml: -------------------------------------------------------------------------------- 1 | name: OSVVM Regression Testing 2 | 3 | on: 4 | push: 5 | pull_request: 6 | workflow_dispatch: 7 | schedule: 8 | - cron: '0 15 * * *' 9 | 10 | jobs: 11 | Variables: 12 | name: 💻 Pipeline variables 13 | runs-on: ubuntu-24.04 14 | outputs: 15 | branch: ${{ steps.Variables.outputs.branch }} 16 | tag: ${{ steps.Variables.outputs.tag }} 17 | steps: 18 | - name: 💻 Compute pipeline variables 19 | id: Variables 20 | run: | 21 | ref="${{ github.ref }}" 22 | 23 | branch="" 24 | tag="" 25 | if [[ "${{ startsWith(github.ref, 'refs/heads/') }}" == "true" ]]; then 26 | branch="${ref:11}" 27 | elif [[ "${{ startsWith(github.ref, 'refs/tags/') }}" == "true" ]]; then 28 | tag="${ref:10}" 29 | elif [[ "${{ startsWith(github.ref, 'refs/pull/') }}" == "true" ]]; then 30 | printf "Detected a pull request.\n" 31 | else 32 | printf "::error title=%s::%s\n" "Variables" "Unsupported Git reference format: '${ref}'." 33 | exit 1 34 | fi 35 | 36 | tee "${GITHUB_OUTPUT}" < Any-JUnit) 239 | PublishTestResults: 240 | name: 📊 Publish Tests Results 241 | runs-on: ubuntu-24.04 242 | needs: 243 | - GHDL 244 | - NVC 245 | 246 | if: always() 247 | 248 | steps: 249 | - name: ⏬ Checkout repository 250 | uses: actions/checkout@v4 251 | 252 | - name: '📥 Download artifact: package' 253 | uses: actions/download-artifact@v4 254 | with: 255 | pattern: xml-* 256 | path: artifacts 257 | 258 | - name: 🔎 Inspect all artifacts 259 | run: | 260 | tree artifacts 261 | 262 | - name: 🔧 Install pyEDAA.Reports (JUunit Parser and Merger) 263 | run: | 264 | python -m pip install --disable-pip-version-check --break-system-packages -U pyEDAA.Reports 265 | 266 | - name: Rename JUnit files and move them all into 'junit/' 267 | run: | 268 | mkdir -p junit 269 | find artifacts/ -type f -path "*.xml" -exec sh -c 'cp -v $0 "junit/$(basename $(dirname $0)).$(basename $0)"' {} ';' 270 | tree -pash junit 271 | 272 | - name: 🔁 Merge JUnit Unit Test Summaries 273 | run: | 274 | pyedaa-reports -d unittest \ 275 | "--merge=Any-JUnit:junit/*.xml" \ 276 | --render=tree \ 277 | "--name=OSVVM Regression" \ 278 | "--output=pyTest-JUnit:Unittesting.xml" 279 | printf "%s\n" "cat Unittesting.xml" 280 | cat Unittesting.xml 281 | 282 | - name: 📊 Publish Unit Test Results 283 | uses: dorny/test-reporter@v1 284 | if: ${{ github.event_name != 'pull_request' }} 285 | with: 286 | name: OSVVM VC Regression Results 287 | path: Unittesting.xml 288 | reporter: java-junit 289 | # list-suites: all 290 | # list-tests: failed 291 | 292 | - name: 📤 Upload merged 'JUnit Test Summary' artifact 293 | uses: pyTooling/upload-artifact@v4 294 | with: 295 | name: xml 296 | path: Unittesting.xml 297 | if-no-files-found: error 298 | retention-days: 1 299 | 300 | Package: 301 | name: 📦 Package OSVVMLibraries incl. all Git submodules as artifact 302 | runs-on: ubuntu-24.04 303 | 304 | steps: 305 | - name: ⏬ Checkout repository 306 | uses: actions/checkout@v4 307 | with: 308 | path: OsvvmLibraries 309 | submodules: recursive 310 | 311 | - name: Remove .git directory 312 | run: | 313 | rm -Rf OsvvmLibraries/.git 314 | 315 | - name: 🔎 Inspect content of 'OsvvmLibraries' ... 316 | run: | 317 | tree OsvvmLibraries 318 | 319 | - name: '📤 Upload artifact: osvvm' 320 | uses: pyTooling/upload-artifact@v4 321 | with: 322 | name: osvvm 323 | working-directory: OsvvmLibraries 324 | path: | 325 | * 326 | .git* 327 | include-hidden-files: true 328 | if-no-files-found: error 329 | retention-days: 1 330 | 331 | Release: 332 | uses: pyTooling/Actions/.github/workflows/NightlyRelease.yml@dev 333 | needs: 334 | - Variables 335 | - Package 336 | - GHDL 337 | - NVC 338 | if: startsWith(github.ref, 'refs/tags/') 339 | secrets: inherit 340 | permissions: 341 | contents: write 342 | actions: write 343 | attestations: write 344 | with: 345 | replacements: | 346 | osvvm=${{ needs.Variables.outputs.tag }} 347 | nightly_name: ${{ needs.Variables.outputs.tag }} 348 | nightly_description: | 349 | This release contains all important artifacts created by OSVVM's CI pipeline. 350 | 351 | # OSVVM %osvvm% 352 | 353 | All Git repositories and submodules have been packaged in a single zip file. This file contains the following 354 | OSVVM components. 355 | 356 | ## Core Components 357 | * [OSVVM Utility Library](https://github.com/OSVVM/OSVVM) 358 | * [OSVVM Model Independent Transactions](https://github.com/OSVVM/OSVVM-Common) 359 | 360 | ## Verification Components 361 | * [AXI4](https://github.com/OSVVM/AXI4) 362 | * [CoSim](https://github.com/OSVVM/CoSim) 363 | * [DpRam](https://github.com/OSVVM/DpRam) 364 | * [Ethernet](https://github.com/OSVVM/Ethernet) 365 | * [UART](https://github.com/OSVVM/UART) 366 | 367 | ## Third-Party Verification Components 368 | * [SPI (by Guy Eschemann)](https://github.com/OSVVM/SPI_GuyEschemann) 369 | * [VideoBus (by Louis Adriaens)](https://github.com/OSVVM/VideoBus_LouisAdriaens) 370 | 371 | ## Scripting 372 | * [OSVVM Scripts](https://github.com/OSVVM/OSVVM-Scripts) 373 | 374 | ## Documentation 375 | 376 | * [Documentation](https://github.com/OSVVM/Documentation) 377 | * [Further resources available at OSVVM.org](https://OSVVM.org) 378 | 379 | inventory-json: "inventory.json" 380 | inventory-version: ${{ needs.Variables.outputs.tag }} 381 | inventory-categories: "kind" 382 | assets: | 383 | osvvm: !OsvvmLibraries-%osvvm%.zip: osvvm,zip: OsvvmLibraries - %osvvm% - all-in-one (ZIP) 384 | osvvm: $OsvvmLibraries-%osvvm%.tar.gz: osvvm,tgz: OsvvmLibraries - %osvvm% - all-in-one (TAR/GZ) 385 | osvvm: $OsvvmLibraries-%osvvm%.tar.zst: osvvm,tzst: OsvvmLibraries - %osvvm% - all-in-one (TAR/ZST) 386 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | sim 2 | sim_aldec 3 | sim_mentor 4 | 5 | temp/ 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "osvvm"] 2 | path = osvvm 3 | url = ../OSVVM.git 4 | [submodule "Common"] 5 | path = Common 6 | url = ../OSVVM-Common.git 7 | [submodule "Scripts"] 8 | path = Scripts 9 | url = ../OSVVM-Scripts.git 10 | [submodule "AXI4"] 11 | path = AXI4 12 | url = ../AXI4.git 13 | [submodule "UART"] 14 | path = UART 15 | url = ../UART.git 16 | [submodule "Documentation"] 17 | path = Documentation 18 | url = ../Documentation.git 19 | [submodule "DpRam"] 20 | path = DpRam 21 | url = ../DpRam.git 22 | [submodule "Ethernet"] 23 | path = Ethernet 24 | url = ../Ethernet.git 25 | [submodule "CoSim"] 26 | path = CoSim 27 | url = ../CoSim.git 28 | [submodule "VideoBus_LouisAdriaens"] 29 | path = VideoBus_LouisAdriaens 30 | url = ../VideoBus_LouisAdriaens.git 31 | [submodule "SPI_GuyEschemann"] 32 | path = SPI_GuyEschemann 33 | url = ../SPI_GuyEschemann.git 34 | branch = main 35 | [submodule "Wishbone"] 36 | path = Wishbone 37 | url = ../Wishbone.git 38 | -------------------------------------------------------------------------------- /AUTHORS.md: -------------------------------------------------------------------------------- 1 | ## OSVVM Project Authors and Contributors 2 | 3 | ### OSVVM Project Authors - The people and/or organizations who own the copyrights 4 | 5 | #### [SynthWorks](https://SynthWorks.com) - Organization 6 | * Represented by Jim Lewis 7 | * located at 11898 SW 128th Ave, Tigard Oregon, USA 97223 8 | 9 | #### Simon Southwell - Individual 10 | 11 | #### Patrick Lehmann - Individual 12 | 13 | #### Rob Gaddi - Individual 14 | 15 | #### Lars Asplund - Individual 16 | 17 | ### OSVVM Project Contributors - The people who contribute to OSVVM and their roles 18 | 19 | #### [Jim Lewis](https://opensource.ieee.org/jim) 20 | * Technical/Project lead 21 | * Maintainer / Contributor 22 | * email: jim (at) synthworks.com 23 | 24 | #### [Simon Southwell](https://www.linkedin.com/in/simon-southwell-7684482/) 25 | * Project lead of CoSim effort 26 | * Contributor 27 | * email: simon.southwell (at) gmail.com 28 | * https://github.com/wyvernSemi 29 | 30 | #### [Patrick Lehmann](https://opensource.ieee.org/patrick.lehmann) 31 | * Maintainer / Contributor 32 | 33 | #### [Rob Gaddi](https://opensource.ieee.org/) 34 | * Contributor 35 | 36 | #### [Lars Asplund](https://opensource.ieee.org/) 37 | * Contributor 38 | 39 | 40 | ### [Full contributors list](https://github.com/OSVVM/OsvvmLibraries/graphs/contributors) 41 | 42 | 43 | ## Participating 44 | The OSVVM project welcomes your participation with either 45 | issue reports or pull requests. 46 | For details on [how to participate see](https://github.com/OSVVM/OsvvmLibraries/blob/main/CONTRIBUTING.md) 47 | 48 | 49 | #### Copyright and License 50 | 51 | Copyright (C) 2020 - 2024 by [OSVVM Authors](AUTHORS.md) 52 | 53 | This file is part of OSVVM. 54 | 55 | Licensed under Apache License, Version 2.0 (the "License") 56 | You may not use this file except in compliance with the License. 57 | You may obtain a copy of the License at 58 | 59 | [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 60 | 61 | Unless required by applicable law or agreed to in writing, software 62 | distributed under the License is distributed on an "AS IS" BASIS, 63 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 64 | See the License for the specific language governing permissions and 65 | limitations under the License. 66 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | OsvvmLibraries collects together all of the OSVVM family of repositories as submodules. 3 | Changes for the OSVVM project are documented in 4 | the CHANGELOG files for each submodule. 5 | Links to these files are below. 6 | 7 | - [OSVVM](https://github.com/OSVVM/osvvm/blob/master/CHANGELOG.md) 8 | - [OSVVM-Common](https://github.com/OSVVM/OSVVM-Common/blob/master/CHANGELOG.md) 9 | - [OSVVM-Scripts](https://github.com/OSVVM/OSVVM-Scripts/blob/master/CHANGELOG.md) 10 | - [AXI4](https://github.com/OSVVM/AXI4/blob/master/CHANGELOG.md) 11 | - [UART](https://github.com/OSVVM/UART/blob/master/CHANGELOG.md) 12 | 13 | 14 | For revision dates see the revision date in the submodule. 15 | 16 | 17 | ## Copyright and License 18 | Copyright (C) 2006-2022 by [SynthWorks Design Inc.](http://www.synthworks.com/) 19 | Copyright (C) 2020-2022 by [OSVVM contributors](CONTRIBUTOR.md) 20 | 21 | This file is part of OSVVM. 22 | 23 | Licensed under Apache License, Version 2.0 (the "License") 24 | You may not use this file except in compliance with the License. 25 | You may obtain a copy of the License at 26 | 27 | [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 28 | 29 | Unless required by applicable law or agreed to in writing, software 30 | distributed under the License is distributed on an "AS IS" BASIS, 31 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 32 | See the License for the specific language governing permissions and 33 | limitations under the License. 34 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | You may contribute bug reports and feature requests by submitting GitLab issues. 4 | 5 | If you would like to propose code changes (aka pull requests), you must have filled out an IEEE CLA for the project. Get the [IEEE CLA here](https://opensource.ieee.org/community/cla). 6 | 7 | Before contributing code to this repository, please propose your change via GitLab issues to first discuss the change you wish to make. When adding features, we want to make sure to have consistency (such as naming) with other features - including features in other OSVVM packages. After discussion and agreement, then post a GitLab pull request. 8 | 9 | Looking for ideas on what to contribute, please see our [Help Wanted List](HELPWANTED.md). 10 | 11 | Please note that this project adheres to IEEE's [code of conduct](https://www.ieee.org/content/dam/ieee-org/ieee/web/org/about/ieee_code_of_conduct.pdf), we count on you to follow it in all your interactions with the project. Instances of abusive, harassing, or otherwise unacceptable behavior shall be reported to [supportcenter@ieee.org](mailto:supportcenter@ieee.org). 12 | 13 | ## Pull Request Process 14 | 15 | 1. It is recommended that you refer to the [Git SCM](https://git-scm.com) webpage to chose the git client sw you will use. Our instructions assume you are using [gitbash](https://www.git-scm.com/book/en/v2/Appendix-A%3A-Git-in-Other-Environments-Git-in-Bash) or its equivalent. 16 | 17 | 2. Get a copy of the project and change its default alias to "upstream": 18 | ``` 19 | git clone -- recursive https://opensource.ieee.org/osvvm/VerificationIP.git 20 | git cd VerificationIP 21 | git remote -v 22 | git remote rename origin upstream 23 | git checkout master 24 | ``` 25 | 26 | 3. add your own repository under the default alias "origin" and save there the copy of the "upstream" repository: 27 | ``` 28 | git remote add origin https://opensource.ieee.org/<<-YOUR-USERID->>/VerificationIP 29 | git push origin master 30 | ``` 31 | 32 | 4. each time you may want to synchronize your copy of the repository with the "upstream" repository: 33 | ``` 34 | git fetch upstream 35 | git checkout master 36 | git rebase upstream/master 37 | git push -f origin master 38 | ``` 39 | 40 | 5. If you want to prepare some changes to merge with the "upstream" repository, first creat a branch and later create a merge request: 41 | ``` 42 | git checkout -b <<-MY-BRANCH-NAME->> 43 | # add any new files or modify existing source 44 | git add <<-MY-NEW-OR-UPDATED-FILE->> 45 | git commit -m "My great contriution to this project is ..." -s 46 | git push origin <<-MY-BRANCH-NAME->> 47 | ``` 48 | 49 | 6. Ensure any install or build dependencies are removed before pushing the changes. 50 | 51 | 7. Update the necessary README.md files with details of the changes; this includes new environment variables, references to Issues, useful file locations and parameters needed to invoque a build that will use the changes (helps for debugging or studying the change). 52 | 53 | 8. Increase the version numbers in the CHANGELOG.md, any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is [Calendar Versioning YYYY.MM](https://calver.org/). 54 | 55 | 9. All contributions must be done using a merge request to allow for review. 56 | 57 | ## Our Pledge 58 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 59 | 60 | ### Our Collaborative space 61 | Examples of behavior that contributes to creating a positive environment include: 62 | * Using welcoming and inclusive language 63 | * Being respectful of differing viewpoints and experiences 64 | * Gracefully accepting constructive criticism 65 | * Focusing on what is best for the community 66 | * Showing empathy towards other community members 67 | 68 | Examples of unacceptable behavior by participants include: 69 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 70 | * Trolling, insulting/derogatory comments, and personal or political attacks 71 | * Public or private harassment 72 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 73 | * Other conduct which could reasonably be considered inappropriate in a professional setting 74 | 75 | ### Scope 76 | This pledge applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 77 | 78 | ### Attribution 79 | This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/version/1/4/code-of-conduct/) 80 | 81 | 82 | #### Copyright and License 83 | 84 | Copyright (C) 2006 - 2020 by [SynthWorks Design Inc.](http://www.synthworks.com/) 85 | Copyright (C) 2020 - 2021 by [OSVVM Authors](AUTHORS.md) 86 | 87 | This file is part of OSVVM. 88 | 89 | Licensed under Apache License, Version 2.0 (the "License") 90 | You may not use this file except in compliance with the License. 91 | You may obtain a copy of the License at 92 | 93 | [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 94 | 95 | Unless required by applicable law or agreed to in writing, software 96 | distributed under the License is distributed on an "AS IS" BASIS, 97 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 98 | See the License for the specific language governing permissions and 99 | limitations under the License. 100 | 101 | 102 | -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- 1 | This file is deprecated. 2 | See [AUTHORS](AUTHORS.md). 3 | -------------------------------------------------------------------------------- /HELPWANTED.md: -------------------------------------------------------------------------------- 1 | # Help Wanted 2 | OSVVM always welcomes contributions. 3 | The issue reports and pull requests have been extremely helpful. 4 | 5 | Currently we have a limited set of verification components. 6 | It is our intention to grow this set of verification components. 7 | 8 | We like to keep each family of verification components in a 9 | separate submodule and its own library. This makes it easy to 10 | contribute as you can contribute it via your own repository 11 | and we can clone it. 12 | 13 | We can partner with you in releasing your verification component 14 | including support for code reviews. 15 | 16 | We are particularly interested in the following verification components: 17 | * Wishbone 18 | * Avalon & Avalon Stream 19 | * I2C 20 | * Ethernet (layers above xMII that exist in OSVVM Library) 21 | * SPI 22 | 23 | # Copyright and License 24 | Copyright (C) 2020 - 2022 by [OSVVM Authors](AUTHORS.md) 25 | 26 | This file is part of OSVVM. 27 | 28 | Licensed under Apache License, Version 2.0 (the "License") 29 | You may not use this file except in compliance with the License. 30 | You may obtain a copy of the License at 31 | 32 | [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 33 | 34 | Unless required by applicable law or agreed to in writing, software 35 | distributed under the License is distributed on an "AS IS" BASIS, 36 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | See the License for the specific language governing permissions and 38 | limitations under the License. 39 | 40 | 41 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | This is a local copy of the Apache License Version 2.0. 2 | The original can be obtained here: [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 3 | 4 | -------------------------------------------------------------------------------- 5 | 6 | # Apache License 7 | 8 | Version 2.0, January 2004 9 | 10 | ## TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 11 | 12 | ### 1. Definitions. 13 | 14 | *"License"* shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. 15 | 16 | *"Licensor"* shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. 17 | 18 | *"Legal Entity"* shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. 19 | 20 | *"You"* (or *"Your"*) shall mean an individual or Legal Entity exercising permissions granted by this License. 21 | 22 | *"Source"* form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. 23 | 24 | *"Object"* form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. 25 | 26 | *"Work"* shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). 27 | 28 | *"Derivative Works"* shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. 29 | 30 | *"Contribution"* shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, *"submitted"* means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as *"Not a Contribution."* 31 | 32 | *"Contributor"* shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 33 | 34 | ### 2. Grant of Copyright License. 35 | Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 36 | 37 | ### 3. Grant of Patent License. 38 | Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 39 | 40 | ### 4. Redistribution. 41 | You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: 42 | 43 | - You must give any other recipients of the Work or Derivative Works a copy of this License; and 44 | - You must cause any modified files to carry prominent notices stating that You changed the files; and 45 | - You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and 46 | - If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. 47 | 48 | You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 49 | 50 | ### 5. Submission of Contributions. 51 | Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 52 | 53 | ### 6. Trademarks. 54 | This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 55 | 56 | ### 7. Disclaimer of Warranty. 57 | Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 58 | 59 | ### 8. Limitation of Liability. 60 | In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 61 | 62 | ### 9. Accepting Warranty or Additional Liability. 63 | While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. 64 | 65 | 66 | ## Appendix: How to apply the Apache License to your work 67 | 68 | To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. 69 | 70 | Copyright [yyyy] [name of copyright owner] 71 | 72 | Licensed under the Apache License, Version 2.0 (the "License"); 73 | you may not use this file except in compliance with the License. 74 | You may obtain a copy of the License at 75 | 76 | http://www.apache.org/licenses/LICENSE-2.0 77 | 78 | Unless required by applicable law or agreed to in writing, software 79 | distributed under the License is distributed on an "AS IS" BASIS, 80 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 81 | See the License for the specific language governing permissions and 82 | limitations under the License. 83 | -------------------------------------------------------------------------------- /OsvvmLibraries.pro: -------------------------------------------------------------------------------- 1 | # File Name: OsvvmLibraries.pro 2 | # Revision: STANDARD VERSION 3 | # 4 | # Maintainer: Jim Lewis email: jim@synthworks.com 5 | # Contributor(s): 6 | # Jim Lewis jim@synthworks.com 7 | # 8 | # 9 | # Description: 10 | # Build OSVVM Libraries Verification Components and Libraries 11 | # 12 | # Developed for: 13 | # SynthWorks Design Inc. 14 | # VHDL Training Classes 15 | # 11898 SW 128th Ave. Tigard, Or 97223 16 | # http://www.SynthWorks.com 17 | # 18 | # Revision History: 19 | # Date Version Description 20 | # 1/2019 2019.01 Compile Script for OSVVM 21 | # 1/2020 2020.01 Updated Licenses to Apache 22 | # 23 | # 24 | # This file is part of OSVVM. 25 | # 26 | # Copyright (c) 2019 - 2020 by SynthWorks Design Inc. 27 | # 28 | # Licensed under the Apache License, Version 2.0 (the "License"); 29 | # you may not use this file except in compliance with the License. 30 | # You may obtain a copy of the License at 31 | # 32 | # https://www.apache.org/licenses/LICENSE-2.0 33 | # 34 | # Unless required by applicable law or agreed to in writing, software 35 | # distributed under the License is distributed on an "AS IS" BASIS, 36 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | # See the License for the specific language governing permissions and 38 | # limitations under the License. 39 | # 40 | include ./osvvm/osvvm.pro 41 | include ./Common/Common.pro 42 | 43 | if {[DirectoryExists UART]} { 44 | include ./UART/UART.pro 45 | } 46 | if {[DirectoryExists AXI4]} { 47 | include ./AXI4/AXI4.pro 48 | } 49 | if {[DirectoryExists Wishbone]} { 50 | include ./Wishbone/build.pro 51 | } 52 | if {[DirectoryExists DpRam]} { 53 | include ./DpRam/DpRam.pro 54 | } 55 | if {[DirectoryExists Ethernet]} { 56 | include ./Ethernet/Ethernet.pro 57 | } 58 | if {[DirectoryExists VideoBus_LouisAdriaens]} { 59 | include ./VideoBus_LouisAdriaens/VideoBus.pro 60 | } 61 | if {[DirectoryExists SPI_GuyEschemann]} { 62 | include ./SPI_GuyEschemann/spi.pro 63 | } 64 | if {($::osvvm::ToolName ne "XSIM") && ($::osvvm::ToolVendor ne "Cadence") && ($::osvvm::ToolVendor ne "Synopsys")} { 65 | if {[DirectoryExists CoSim]} { 66 | include ./CoSim/CoSim.pro 67 | } 68 | } -------------------------------------------------------------------------------- /OsvvmRegression.pro: -------------------------------------------------------------------------------- 1 | set ::osvvm::FailOnBuildErrors "false" 2 | include OsvvmLibraries.pro 3 | include RunAllTests.pro 4 | include RunAllTestsVti.pro 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # The OSVVM VHDL Verification Libraries and Scripts 2 | OSVVM is an advanced verification methodology that 3 | defines a VHDL verification framework, verification utility library, 4 | verification component library, scripting API, and co-simulation capability 5 | that simplifies your FPGA or ASIC verification project from start to finish. 6 | Using these libraries you can create a simple, readable, 7 | and powerful testbench that will boost productivity for either 8 | low level block tests (unit tests) or complex FPGA and ASIC tests. 9 | 10 | OSVVM is developed by the same VHDL experts who 11 | have helped develop VHDL standards. 12 | We have used our expert VHDL skills to create 13 | advanced verification capabilities that provide: 14 | 15 | - A structured transaction-based framework using verification components that is suitable for all verification tasks - from Unit/RTL to full chip/system level testing. 16 | - Test cases and verification components that can be written any VHDL Engineer. 17 | - Test cases that are readable and reviewable by the whole team including software and system engineers. 18 | - Unmatched reuse through the entire verification process. 19 | - Unmatched test reporting with HTML based test suite reports, test case reports, and logs that facilitate debug and test artifact collection. 20 | - Support for continuous integration (CI/CD) with JUnit XML test suite reporting. 21 | - Powerful and concise verification capabilities including Constrained Random, Functional Coverage, Scoreboards, FIFOs, Memory Models, error logging and reporting, and message filtering that are simple to use and work like built-in language features. 22 | - A common scripting API to run all simulators - including GHDL, NVC, Aldec Riviera-PRO and ActiveHDL, Siemens Questa and ModelSim, Synopsys VCS, and Cadence Xcelium. 23 | - A Co-simulation capability that supports running software (C++) in a hardware simulation environment. 24 | - A Model Independent Transaction (MIT) library that defines a transaction API (procedures such as read, write, send, get, …) and transaction interface (a record) that simplifies writing verification components and test cases. 25 | - A rival to the verification capabilities of SystemVerilog + UVM. 26 | 27 | ## Learning OSVVM 28 | You can find an overview of OSVVM at [osvvm.github.io](https://osvvm.github.io). 29 | Alternately you can find our pdf documentation at 30 | [OSVVM Documentation Repository](https://github.com/OSVVM/Documentation#readme). 31 | 32 | You can also learn OSVVM by taking the class, [Advanced VHDL Verification and Testbenches - OSVVM™ BootCamp](https://synthworks.com/vhdl_testbench_verification.htm) 33 | 34 | ## Run The Demos 35 | A great way to get oriented with OSVVM is to run the demos. 36 | For directions on running the demos, see [OSVVM Scripts](https://github.com/osvvm/OSVVM-Scripts#readme). 37 | 38 | ## [OsvvmLibraries](https://github.com/osvvm/OsvvmLibraries) 39 | OsvvmLibraries contains all other OSVVM repositories as submodules. If you want everything, this is the one you need to clone. 40 | 41 | ### Download using git 42 | Be sure to use “–recursive” to include the submodules: 43 | ``` 44 | $ git clone --recursive https://github.com/osvvm/OsvvmLibraries 45 | ``` 46 | 47 | ### Download a Zip file 48 | Get a zip file from [osvvm.org Downloads Page](https://osvvm.org/downloads). 49 | 50 | ## [OSVVM Utility Library Repository](https://github.com/osvvm/osvvm#readme) 51 | The OSVVM Utility library (named osvvm) implements 52 | buzz word verification capabilities including Constrained Random, Functional Coverage, 53 | Scoreboards, FIFOs, Memory Models, error logging and reporting, and message filtering 54 | that are simple to use and work like built-in language features. 55 | 56 | 57 | ## [OSVVM Verification Script Library Repository](https://github.com/osvvm/OSVVM-Scripts) 58 | The OSVVM script library implements 59 | a common scripting API to run all simulators - 60 | including GHDL, NVC, Aldec Riviera-PRO and ActiveHDL, Siemens Questa and ModelSim, Synopsys VCS, and Cadence Xcelium. 61 | Our motto: "One Script to RUn them ALL" 62 | 63 | ## [OSVVM Model Independent Transaction Library Repository](https://github.com/osvvm/OSVVM-Common#readme) 64 | The Model Independent Transaction (MIT) library (osvvm_common) defines a transaction API (procedures such as read, write, send, get, …) 65 | and transaction interface (a record) that simplifies writing verification components and test cases. 66 | The MIT library is used (and required) by all OSVVM verification components. 67 | Usi8ng OSVVM MIT makes verification component deveopment as easy as any "Lite" based approach. 68 | 69 | 70 | ## The OSVVM Verification Component Libraries 71 | The OSVVM Verification Component Libraries are a growing set of 72 | verification components commonly used for FPGA and ASIC verification. 73 | Each family of verification components is a separate git repository. 74 | The library currently contains the following repositories: 75 | 76 | - [AXI4 Repository](https://github.com/osvvm/AXI4#readme) 77 | - Axi4 Full Manager (burst), Memory (burst), Subordinate Verification Components 78 | - Axi4 Lite Manager and Subordinate Verification Components 79 | - AxiStream Transmitter and Receiver Verification Components 80 | - [UART Repository](https://github.com/osvvm/UART#readme) 81 | - UART Transmitter and Receiver 82 | - [DpRam Repository](https://github.com/osvvm/DpRam) 83 | - DpRam behavioral model 84 | - DpRam Manager VC to read and write to the DpRam interface 85 | - [Ethernet xMII Repository](https://github.com/osvvm/Ethernet) 86 | - Verification components for Ethernet Phy and MAC that support GMII/RGMII/MII/RMII. 87 | 88 | ## [OSVVM Co-simulation Repository](https://github.com/OSVVM/CoSim#readme) 89 | OSVVM co-simulation supports running software (C++) in a hardware simulation environment. 90 | This includes either writing tests cases in C++ or running C++ models such as instruction set simulators. 91 | 92 | ## [OSVVM Documentation Repository](https://github.com/OSVVM/Documentation#readme) 93 | PDF documentation for all things OSVVM. 94 | 95 | 96 | ## OSVVM Transaction Interfaces 97 | OSVVM verification components use records for the 98 | transaction interfaces, so connecting them to your 99 | testbench is simple - connect only a single signal. 100 | 101 | The OSVVM methodology uses records whose elements 102 | are a resolved type from the package ResolutionPkg.vhd. 103 | 104 | The long term plan is to switch to VHDL-2019 interfaces. 105 | VHDL-2019 uses records just like OSVVM and adds mode 106 | views. So the transition to VHDL-2019 interfaces 107 | is fairly simple. Due to their similarity, OSVVM 108 | interfaces are an effective prototype for VHDL-2019 109 | interfaces. 110 | 111 | ## Testbenches are Included 112 | 113 | Testbenches are in the Git repository, so you can 114 | run a simulation and see a live example 115 | of how to use the models. 116 | 117 | ## Participating and Project Organization 118 | The OSVVM project welcomes your participation with either 119 | issue reports or pull requests. 120 | For details on [how to participate see](CONTRIBUTING.md) 121 | 122 | You can find the project [Authors here](AUTHORS.md) and 123 | [Contributors here](CONTRIBUTORS.md). 124 | 125 | ## More Information on OSVVM 126 | 127 | **OSVVM Forums and Blog:** [http://www.osvvm.org/](http://www.osvvm.org/) 128 | **Gitter:** [https://gitter.im/OSVVM/Lobby](https://gitter.im/OSVVM/Lobby) 129 | **Documentation:** [osvvm.github.io](https://osvvm.github.io) 130 | **Documentation:** [PDF Documentation](https://github.com/OSVVM/Documentation) 131 | 132 | ## Copyright and License 133 | Copyright (C) 2006-2022 by [SynthWorks Design Inc.](http://www.synthworks.com/) 134 | Copyright (C) 2022 by [OSVVM Authors](AUTHORS.md) 135 | 136 | This file is part of OSVVM. 137 | 138 | Licensed under Apache License, Version 2.0 (the "License") 139 | You may not use this file except in compliance with the License. 140 | You may obtain a copy of the License at 141 | 142 | [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 143 | 144 | Unless required by applicable law or agreed to in writing, software 145 | distributed under the License is distributed on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 147 | See the License for the specific language governing permissions and 148 | limitations under the License. 149 | -------------------------------------------------------------------------------- /RunAllTests.pro: -------------------------------------------------------------------------------- 1 | # File Name: RunAllTests.pro 2 | # Revision: STANDARD VERSION 3 | # 4 | # Maintainer: Jim Lewis email: jim@synthworks.com 5 | # Contributor(s): 6 | # Jim Lewis jim@synthworks.com 7 | # 8 | # 9 | # Description: 10 | # Run all OSVVM Libraries Verification Component tests 11 | # 12 | # Developed for: 13 | # SynthWorks Design Inc. 14 | # VHDL Training Classes 15 | # 11898 SW 128th Ave. Tigard, Or 97223 16 | # http://www.SynthWorks.com 17 | # 18 | # Revision History: 19 | # Date Version Description 20 | # 11/2022 2022.11 Added Common RunAllTests 21 | # 1/2020 2020.01 Updated Licenses to Apache 22 | # 1/2019 2019.01 Compile Script for OSVVM 23 | # 24 | # 25 | # This file is part of OSVVM. 26 | # 27 | # Copyright (c) 2019 - 2022 by SynthWorks Design Inc. 28 | # 29 | # Licensed under the Apache License, Version 2.0 (the "License"); 30 | # you may not use this file except in compliance with the License. 31 | # You may obtain a copy of the License at 32 | # 33 | # https://www.apache.org/licenses/LICENSE-2.0 34 | # 35 | # Unless required by applicable law or agreed to in writing, software 36 | # distributed under the License is distributed on an "AS IS" BASIS, 37 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 38 | # See the License for the specific language governing permissions and 39 | # limitations under the License. 40 | # 41 | 42 | # if {[DirectoryExists CoSim]} { 43 | # if {$::osvvm::ToolVendor eq "GHDL"} { 44 | # include ./CoSim/RunAllTests.pro 45 | # } 46 | # } 47 | 48 | include ./Common/RunAllTests.pro 49 | 50 | if {[DirectoryExists AXI4]} { 51 | include ./AXI4/RunAllTests.pro 52 | } 53 | if {[DirectoryExists UART]} { 54 | include ./UART/RunAllTests.pro 55 | } 56 | if {[DirectoryExists Wishbone]} { 57 | include ./Wishbone/RunAllTests.pro 58 | } 59 | if {[DirectoryExists DpRam]} { 60 | include ./DpRam/RunAllTests.pro 61 | } 62 | if {[DirectoryExists Ethernet]} { 63 | include ./Ethernet/RunAllTests.pro 64 | } 65 | 66 | if {$::osvvm::ToolNameVersion ne "XSIM-2023.2"} { 67 | if {[DirectoryExists VideoBus_LouisAdriaens]} { 68 | include ./VideoBus_LouisAdriaens/RunAllTests.pro 69 | } 70 | } else { 71 | # TestSuite VideoBus 72 | # SkipTest VideoBus "VideoBus VC not updated for Xilinx" 73 | } 74 | 75 | if {$::osvvm::ToolNameVersion ne "XSIM-2023.2"} { 76 | if {[DirectoryExists SPI_GuyEschemann]} { 77 | # 78 | # include ./SPI_GuyEschemann/RunAllTests.pro 79 | # TestSuite SPI 80 | # SkipTest SPI "SPI VC tested using a separate design not included with OSVVM" 81 | } 82 | } else { 83 | # TestSuite SPI 84 | # SkipTest SPI "SPI VC not updated for Xilinx" 85 | } 86 | 87 | 88 | -------------------------------------------------------------------------------- /RunAllTestsVti.pro: -------------------------------------------------------------------------------- 1 | # File Name: RunAllTests.pro 2 | # Revision: STANDARD VERSION 3 | # 4 | # Maintainer: Jim Lewis email: jim@synthworks.com 5 | # Contributor(s): 6 | # Jim Lewis jim@synthworks.com 7 | # 8 | # 9 | # Description: 10 | # Run all OSVVM Libraries Verification Component tests 11 | # 12 | # Developed for: 13 | # SynthWorks Design Inc. 14 | # VHDL Training Classes 15 | # 11898 SW 128th Ave. Tigard, Or 97223 16 | # http://www.SynthWorks.com 17 | # 18 | # Revision History: 19 | # Date Version Description 20 | # 1/2019 2019.01 Compile Script for OSVVM 21 | # 1/2020 2020.01 Updated Licenses to Apache 22 | # 23 | # 24 | # This file is part of OSVVM. 25 | # 26 | # Copyright (c) 2019 - 2020 by SynthWorks Design Inc. 27 | # 28 | # Licensed under the Apache License, Version 2.0 (the "License"); 29 | # you may not use this file except in compliance with the License. 30 | # You may obtain a copy of the License at 31 | # 32 | # https://www.apache.org/licenses/LICENSE-2.0 33 | # 34 | # Unless required by applicable law or agreed to in writing, software 35 | # distributed under the License is distributed on an "AS IS" BASIS, 36 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | # See the License for the specific language governing permissions and 38 | # limitations under the License. 39 | # 40 | if {$::osvvm::ToolNameVersion ne "XSIM-2023.2"} { 41 | 42 | if {[DirectoryExists AXI4]} { 43 | include ./AXI4/RunAllTestsVti.pro 44 | } 45 | if {[DirectoryExists UART]} { 46 | # include ./UART/RunAllTestsVti.pro 47 | } 48 | if {[DirectoryExists DpRam]} { 49 | # include ./DpRam/RunAllTestsVti.pro 50 | } 51 | } -------------------------------------------------------------------------------- /RunAllTestsWithCoverage.pro: -------------------------------------------------------------------------------- 1 | SetCoverageAnalyzeEnable true 2 | # SetCoverageAnalyzeOptions "options go here" ; # see Scripts/VendorScripts_.tcl for defaults 3 | SetCoverageSimulateEnable true 4 | # SetCoverageSimulateOptions "options go here" ; # see Scripts/VendorScripts_.tcl for defaults 5 | 6 | include OsvvmLibraries.pro 7 | 8 | # Turn Analyze coverage off so we do not collect coverage on testbenches 9 | SetCoverageAnalyzeEnable false 10 | 11 | include RunAllTests.pro 12 | include RunAllTestsVti.pro 13 | 14 | SetCoverageSimulateEnable false 15 | -------------------------------------------------------------------------------- /RunDemoTests.pro: -------------------------------------------------------------------------------- 1 | # File Name: RunAllTests.pro 2 | # Revision: STANDARD VERSION 3 | # 4 | # Maintainer: Jim Lewis email: jim@synthworks.com 5 | # Contributor(s): 6 | # Jim Lewis jim@synthworks.com 7 | # 8 | # 9 | # Description: 10 | # Run all OSVVM Libraries Verification Component tests 11 | # 12 | # Developed for: 13 | # SynthWorks Design Inc. 14 | # VHDL Training Classes 15 | # 11898 SW 128th Ave. Tigard, Or 97223 16 | # http://www.SynthWorks.com 17 | # 18 | # Revision History: 19 | # Date Version Description 20 | # 1/2019 2019.01 Compile Script for OSVVM 21 | # 1/2020 2020.01 Updated Licenses to Apache 22 | # 23 | # 24 | # This file is part of OSVVM. 25 | # 26 | # Copyright (c) 2019 - 2020 by SynthWorks Design Inc. 27 | # 28 | # Licensed under the Apache License, Version 2.0 (the "License"); 29 | # you may not use this file except in compliance with the License. 30 | # You may obtain a copy of the License at 31 | # 32 | # https://www.apache.org/licenses/LICENSE-2.0 33 | # 34 | # Unless required by applicable law or agreed to in writing, software 35 | # distributed under the License is distributed on an "AS IS" BASIS, 36 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | # See the License for the specific language governing permissions and 38 | # limitations under the License. 39 | # 40 | if {[DirectoryExists AXI4]} { 41 | include ./AXI4/Axi4/RunDemoTests.pro 42 | include ./AXI4/AxiStream/RunDemoTests.pro 43 | } 44 | if {[DirectoryExists UART]} { 45 | include ./UART/RunDemoTests.pro 46 | } 47 | if {[DirectoryExists Ethernet]} { 48 | include ./Ethernet/RunDemoTests.pro 49 | } 50 | 51 | -------------------------------------------------------------------------------- /RunDemoTestsWithCoverage.pro: -------------------------------------------------------------------------------- 1 | # File Name: RunAllTests.pro 2 | # Revision: STANDARD VERSION 3 | # 4 | # Maintainer: Jim Lewis email: jim@synthworks.com 5 | # Contributor(s): 6 | # Jim Lewis jim@synthworks.com 7 | # 8 | # 9 | # Description: 10 | # Run all OSVVM Libraries Verification Component tests 11 | # 12 | # Developed for: 13 | # SynthWorks Design Inc. 14 | # VHDL Training Classes 15 | # 11898 SW 128th Ave. Tigard, Or 97223 16 | # http://www.SynthWorks.com 17 | # 18 | # Revision History: 19 | # Date Version Description 20 | # 1/2020 2020.01 Updated Licenses to Apache 21 | # 1/2019 2019.01 Compile Script for OSVVM 22 | # 23 | # 24 | # This file is part of OSVVM. 25 | # 26 | # Copyright (c) 2019 - 2022 by SynthWorks Design Inc. 27 | # 28 | # Licensed under the Apache License, Version 2.0 (the "License"); 29 | # you may not use this file except in compliance with the License. 30 | # You may obtain a copy of the License at 31 | # 32 | # https://www.apache.org/licenses/LICENSE-2.0 33 | # 34 | # Unless required by applicable law or agreed to in writing, software 35 | # distributed under the License is distributed on an "AS IS" BASIS, 36 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | # See the License for the specific language governing permissions and 38 | # limitations under the License. 39 | # 40 | 41 | SetCoverageAnalyzeEnable true 42 | # SetCoverageAnalyzeOptions "options go here" ; # see Scripts/VendorScripts_.tcl for defaults 43 | SetCoverageSimulateEnable true 44 | # SetCoverageSimulateOptions "options go here" ; # see Scripts/VendorScripts_.tcl for defaults 45 | 46 | include OsvvmLibraries.pro 47 | 48 | # Turn Analyze coverage off so we do not collect coverage on testbenches 49 | SetCoverageAnalyzeEnable false 50 | 51 | if {[DirectoryExists AXI4]} { 52 | include ./AXI4/Axi4/RunDemoTests.pro 53 | include ./AXI4/AxiStream/RunDemoTests.pro 54 | } 55 | if {[DirectoryExists UART]} { 56 | include ./UART/RunDemoTests.pro 57 | } 58 | if {[DirectoryExists Ethernet]} { 59 | include ./Ethernet/RunDemoTests.pro 60 | } 61 | SetCoverageSimulateEnable false 62 | --------------------------------------------------------------------------------