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

Refactoring py/ports #131

Merged
merged 43 commits into from
Feb 16, 2022
Merged

Refactoring py/ports #131

merged 43 commits into from
Feb 16, 2022

Conversation

PhilippPlank
Copy link
Contributor

Refactored the creation of implicit var ports into a common function in the RefPort class, which can be used by the compiler or elsewhere in the future.

Refactored inheritance of PyInPorts and PyOutPorts to a common IO parent class and removed the anonymous argument list in the init function. (Issue #84)

PhilippPlank and others added 27 commits November 12, 2021 14:53
…ass and removed anonymous argument list for their init functions
@PhilippPlank PhilippPlank added the 1-feature New feature request label Nov 30, 2021
@PhilippPlank PhilippPlank added this to the Sprint #16 milestone Nov 30, 2021
Copy link
Contributor

@phstratmann phstratmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have only reviewed the documentation. In general, a great job, Philipp!
There were a few places where I felt that a reformulation or more information could make things clearer to a newcomer. These points are added to the file changes as conversations. Let me know if you have any questions!

Copy link
Contributor

@phstratmann phstratmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment concerning VECTOR_DENSE, VECTOR_SPARSE,...
Then I'll be happy to approve.

Thanks for your work!

Copy link
Contributor

@phstratmann phstratmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your great revision!

@PhilippPlank PhilippPlank merged commit e253a6a into lava-nc:main Feb 16, 2022
@PhilippPlank PhilippPlank deleted the refactor_ports branch February 16, 2022 18:48
monkin77 pushed a commit to monkin77/thesis-lava that referenced this pull request Jul 12, 2024
* - refactor creation of ImplicitVarPort into a common function

* - refactor creation of ImplicitVarPort into a common function

* - refactor inheritage of PyInPort and PyOutPort to a common parent class and removed anonymous argument list for their init functions

* - Adressed requested changes of PR (rename of class, adding comments)

* - fix unit tests
- try resolving conflict

* - Adressed requested changes of PR (adding comments)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-needs-review For all new issues 1-feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incomplete PyPort hierarchy PyProcessBuilder: clean up Ref-/VarPort initialization
4 participants