Skip to content

New line after port and port map, generic and generic map #68

Description

@pcdeni

Report a bug

Setting to have a new line after port and port map, generic and generic map doesn't result in the desired outcome.
Sometimes between port and port map there will be an inserted new line. The code block following it will not be indented making it look like it doesn't belong under it. This is the same for generic and generic map. However for the component instantiation part it works, as there is no "map" keyword.
Sometimes it does it properly without new line between port and map, only for the first occurrence in a file, for the consequent occurrences it fails.

component something
    generic
    (
      DEBUG_ILA_ENABLE : boolean := true
    );
    port
    (
      clk                               : in  std_logic;
      reset                             : in  std_logic
    );
  end component;
something_0 : something
  generic
  map
  (
  DEBUG_ILA_ENABLE => DEBUG_ILA_ENABLE
  )
  port
  map
  (
  clk   => clk64,
  reset => reset64
  );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions