Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global alias for DUT parameter #2134

Merged
merged 1 commit into from Oct 21, 2020
Merged

Conversation

ktbarrett
Copy link
Member

This feature will allow users to parameterize module-level classes and functions, and arguments to TestFactorys. This was mentioned in #1502 (comment).

Closes #1827.

@ktbarrett ktbarrett added the type:feature new or enhanced functionality label Oct 17, 2020
cocotb/__init__.py Outdated Show resolved Hide resolved
@ktbarrett ktbarrett force-pushed the global-dut branch 2 times, most recently from bfe044b to 9fe691f Compare October 19, 2020 17:09
@ktbarrett ktbarrett requested a review from cmarqu October 19, 2020 17:20
cocotb/__init__.py Outdated Show resolved Hide resolved
cocotb/__init__.py Outdated Show resolved Hide resolved
cocotb/__init__.py Outdated Show resolved Hide resolved
@cmarqu
Copy link
Contributor

cmarqu commented Oct 20, 2020

cocotb/__init__.py Outdated Show resolved Hide resolved
cocotb/__init__.py Outdated Show resolved Hide resolved
cocotb/__init__.py Outdated Show resolved Hide resolved
@cmarqu
Copy link
Contributor

cmarqu commented Oct 20, 2020

Oh, actually, what would be nice is to also have a reference to cocotb.top from the description of the TOPLEVEL envvar (in documentation/source/building.rst).

This feature will allow users to parameterize module-level classes and
functions, and arguments to `TestFactory`s.
@ktbarrett ktbarrett merged commit 4b6d152 into cocotb:master Oct 21, 2020
@ktbarrett ktbarrett deleted the global-dut branch October 21, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature new or enhanced functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Global DUT handle
4 participants