File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,6 @@ impl<'a> AnalyzeContext<'a> {
363363 }
364364 }
365365 }
366- // @TODO Ignored for now
367366 Attribute :: Specification ( ref mut attr_spec) => {
368367 let AttributeSpecification {
369368 ident,
@@ -441,6 +440,8 @@ impl<'a> AnalyzeContext<'a> {
441440 err. add_to ( diagnostics) ?;
442441 }
443442 }
443+ } else if let Some ( ent) = overloaded. as_unique ( ) {
444+ designator. set_unique_reference ( ent) ;
444445 } else {
445446 diagnostics. push ( Diagnostic :: signature_required ( designator) ) ;
446447 }
Original file line number Diff line number Diff line change @@ -1287,11 +1287,14 @@ signal bad_sig : integer_vector(0 to 15);
12871287attribute ram_style of good_sig : signal is 0;
12881288attribute ram_style of bad_sig[return integer] : signal is 0;
12891289
1290- function good_fun return natural;
1291- function bad_fun1 return natural;
1292- function bad_fun2 return natural;
1293-
1294- attribute ram_style of good_fun[return natural] : signal is 0;
1290+ function good_fun1 return natural;
1291+ function good_fun2 return natural;
1292+ function bad_fun1 return natural;
1293+ function bad_fun1 return character;
1294+ function bad_fun2 return natural;
1295+
1296+ attribute ram_style of good_fun1 : signal is 0;
1297+ attribute ram_style of good_fun2[return natural] : signal is 0;
12951298attribute ram_style of bad_fun1 : signal is 0;
12961299attribute ram_style of bad_fun2[return boolean] : signal is 0;
12971300
You can’t perform that action at this time.
0 commit comments