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

Update in light of annotations refactor. #191

Merged
merged 2 commits into from
Mar 1, 2018
Merged

Update in light of annotations refactor. #191

merged 2 commits into from
Mar 1, 2018

Conversation

ucbjrl
Copy link
Contributor

@ucbjrl ucbjrl commented Mar 1, 2018

)
))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of using firrtl.annotations.Annotation(....) (which is deprecated), you can just use the BlackBoxTargetDirAnno, ie.

val annotations = optionsManager.firrtlOptions.annotations ++
  List(BlackBoxTargetDirAnno(optionsManager.targetDirName))

firrtl.annotations.Annotation(
CircuitName(circuit.name),
classOf[BlackBoxSourceHelper],
BlackBoxTargetDir(optionsManager.targetDirName).serialize
BlackBoxTargetDirAnno(optionsManager.targetDirName).serialize
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similar to the above

Copy link
Collaborator

@jackkoenig jackkoenig left a comment

Choose a reason for hiding this comment

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

lgtm

@ucbjrl ucbjrl merged commit 469b225 into master Mar 1, 2018
@ucbjrl ucbjrl deleted the refactor-annos branch March 1, 2018 23:32
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.

2 participants