Python Implementation of Universal Verification Methodology
Project description
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
- Description: # Package Description
pyuvm is a Python implementation of the Universal Verification Methodology
## Installation
You can install pyuvm with pip
`bash % pip install pyuvm `
# Usage
Testbenches written in the SystemVerilog UVM usually import the package like this:
`SystemVerilog import uvm_pkg::*; `
This gives you access to the class names without needing a path. To get similar behavior with pyuvm us the from import syntax.
`Python from pyuvm import * `
Then you can run a simple test:
` % python >>> from pyuvm import * >>> ff = uvm_object("ff") >>> type(ff) <class 's05_base_classes.uvm_object'> >>> print(ff.get_name()) ff `
Platform: UNKNOWN Description-Content-Type: text/markdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.