File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -2885,3 +2885,31 @@ firrtl.circuit "SimulationPortType3" {
2885
2885
out success : !firrtl.reset
2886
2886
)
2887
2887
}
2888
+
2889
+ // -----
2890
+
2891
+ firrtl.circuit " BindTargetMissingModule" {
2892
+ firrtl.module @BindTargetMissing () {}
2893
+ // expected-error @below {{Referenced module doesn't exist "XXX"::"YYY}}
2894
+ firrtl.bind <@XXX ::@YYY >
2895
+ }
2896
+
2897
+ // -----
2898
+
2899
+ firrtl.circuit " BindTargetMissingInstance" {
2900
+ firrtl.module @BindTargetMissingInstance () {}
2901
+ // expected-error @below {{Referenced module doesn't exist "BindTargetMissing"::"YYY"}}
2902
+ firrtl.bind <@BindTargetMissing ::@YYY >
2903
+ }
2904
+
2905
+ // -----
2906
+
2907
+ firrtl.circuit " BindTargetMissingDoNotPrintFlag" {
2908
+ firrtl.module @Target () {}
2909
+ firrtl.module @BindTargetMissingDoNotPrintFlag () {
2910
+ firrtl.instance target sym @target @Target ()
2911
+ }
2912
+
2913
+ // expected-error @below {{Referenced instance isn't marked as doNotPrint}}
2914
+ firrtl.bind <@BindTargetMissingDoNotPrintFlag ::@target >
2915
+ }
You can’t perform that action at this time.
0 commit comments