diff options
| author | Jiuyang Liu | 2021-02-27 05:01:10 +0800 |
|---|---|---|
| committer | GitHub | 2021-02-26 13:01:10 -0800 |
| commit | 923ccbde1353e37f0948d3c5d94b49965dc6d950 (patch) | |
| tree | 0565112847c8aef6cf8aaf2562a3e97ead026d24 /src/main/scala/chisel3/util | |
| parent | c2ba4098d0a2f7ca056ea198d68b1d3bfaf40f3b (diff) | |
Expose AnnotationSeq to Module. (#1731)
Diffstat (limited to 'src/main/scala/chisel3/util')
| -rw-r--r-- | src/main/scala/chisel3/util/experimental/getAnnotations.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/scala/chisel3/util/experimental/getAnnotations.scala b/src/main/scala/chisel3/util/experimental/getAnnotations.scala new file mode 100644 index 00000000..dc9b75ee --- /dev/null +++ b/src/main/scala/chisel3/util/experimental/getAnnotations.scala @@ -0,0 +1,9 @@ +package chisel3.util.experimental + +import chisel3.internal.Builder +import firrtl.AnnotationSeq + +object getAnnotations { + /** Returns the global Annotations */ + def apply(): AnnotationSeq = Builder.annotationSeq +} |
