jeremiah-c-leary / vhdl-style-guide

Style guide enforcement for VHDL
GNU General Public License v3.0
192 stars 39 forks source link

Add structure rules for package instantiation declarations #1324

Open JHertz5 opened 1 week ago

JHertz5 commented 1 week ago

Subtask of #1306. Implement structure rules for package instantiation declarations.

For example, rules to fix this

package
my_pkg
is
new
my_generic_pkg
  generic map (
    g_my_generic => 2
  );

to this

package my_pkg is new my_generic_pkg
  generic map (
    g_my_generic => 2
  );
JHertz5 commented 1 week ago

I've raised a PR https://github.com/jeremiah-c-leary/vhdl-style-guide/pull/1328 to resolve this issue.