aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/annotations/SampleAnnotations.anno.json
diff options
context:
space:
mode:
authorJack Koenig2018-02-27 18:07:11 -0800
committerGitHub2018-02-27 18:07:11 -0800
commitc7eb1570dfb1c7701ea32d1209982a053f3cec1d (patch)
tree3f509b202d82841c5dad5588d1f953a25d389b44 /src/test/resources/annotations/SampleAnnotations.anno.json
parentb90fc784a1819c1d7905910130a7da022214bc22 (diff)
Refactor Annotations (#721)
- Old Annotation renamed to deprecated LegacyAnnotation - Annotation is now a trait that can be extended - New JsonProtocol for Annotation [de]serialization - Replace AnnotationMap with AnnotationSeq - Deprecate Transform.getMyAnnotations - Update Transforms - Turn on deprecation warnings - Remove deprecated Driver.compile - Make AnnotationTests abstract with Legacy and Json subclasses - Add functionality to convert LegacyAnnotations of built-in annos This will give a noisy warning and is more of a best effort than a robust solution. Fixes #475 Closes #609
Diffstat (limited to 'src/test/resources/annotations/SampleAnnotations.anno.json')
-rw-r--r--src/test/resources/annotations/SampleAnnotations.anno.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/test/resources/annotations/SampleAnnotations.anno.json b/src/test/resources/annotations/SampleAnnotations.anno.json
new file mode 100644
index 00000000..e4d912a2
--- /dev/null
+++ b/src/test/resources/annotations/SampleAnnotations.anno.json
@@ -0,0 +1,39 @@
+[
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"Top.Foo"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"Top.Bar"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"Top.Foo.x"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"Top.Foo.y"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"Top"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"OtherTop"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"OtherTop.Foo.x"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"OtherTop.Bar"
+ },
+ {
+ "class":"firrtl.passes.InlineAnnotation",
+ "target":"OtherTop.Foo.y"
+ }
+]
+