Skip to content

Conversation

@WorldofKerry
Copy link
Owner

@WorldofKerry WorldofKerry commented Sep 21, 2023

  • Made simulation tests only write when write flag is passed
  • A test failed, was re-ran, then passed without any changes

@WorldofKerry WorldofKerry requested a review from Haxrox September 21, 2023 18:07
)
# warnings.warn(cmd)
if self.args.write:
mod_path = Path(__file__).parent / "bell.sv"
Copy link
Collaborator

Choose a reason for hiding this comment

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

How does this syntax work?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Which syntax?

Copy link
Collaborator

Choose a reason for hiding this comment

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

The Path(__file__).parent / "bell.sv"

Copy link
Owner Author

@WorldofKerry WorldofKerry Sep 21, 2023

Choose a reason for hiding this comment

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

Take the parent of the current file then join with bell.sv



def fib(n: int):
"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the point of this? Or will the comment be more descriptive in the future?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Test to make sure the added feature works.

Users can not have triple-quote comments in the functions they decorate with verilogify.

@WorldofKerry WorldofKerry changed the title Added support for triple-quote comments Added support for triple-quote comments (note weird test behavior) Sep 21, 2023
@WorldofKerry WorldofKerry changed the title Added support for triple-quote comments (note weird test behavior) Added support for triple-quote comments (weird test behavior) Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants