Redundant: Syntax Regularization between Entity and Component

Proposal Information

  • Who Updates: OPEN, JimLewis
  • Date Proposed: 2014-03-23
  • Date Last Updated: 2014-03-23
  • Priority:
  • Complexity:
  • Focus: General Language

Summary

See Bugzilla 258

Entity syntax from 3.2.1:

  entity identifier is
    entity_header
    entity_declarative_part
  [ begin
     entity_statement_part ]
  end [ entity ] [ entity_simple_name ] ;

Component Syntax from 6.8:
  component identifier [ is ]
    [ local_generic_clause ]
    [ local_port_clause ]
  end component [ component_simple_name ] ;

Proposed change: To make these more compatible, the is on entity needs to be optional and the component that is part of end component needs to be optional. Hence, the productions change to:

  entity identifier [ is ]
    entity_header
    entity_declarative_part
  [ begin
     entity_statement_part ]
  end [ entity ] [ entity_simple_name ] ;

  component identifier [ is ]
    [ local_generic_clause ]
    [ local_port_clause ]
  end [ component ] [ component_simple_name ] ;

Related Issues: None = General

Competing Issues: None at this time

Use cases

Language impact

Non-supporters

Add your signature here to indicate non-support for this proposal.

Supporters

Add your signature here to indicate support for this proposal.

Topic revision: r3 - 2020-02-17 - 15:35:00 - JimLewis
 
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback