Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Documentation Tables for Constants, etc. #702

Open
jchang-endiag opened this issue Nov 13, 2024 · 0 comments
Open

Separate Documentation Tables for Constants, etc. #702

jchang-endiag opened this issue Nov 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jchang-endiag
Copy link

jchang-endiag commented Nov 13, 2024

Is your feature request related to a problem? Please describe.
There currently does not appear to be a way to create separate tables for groups of constants. All constants are currently put into one table. This applies to signals, types, etc.

Describe the solution you'd like
It would be very useful to be able to create separate tables for each group of constants, etc., similar to how @virtualbus allows groupings of ports together.

Describe alternatives you've considered
I tried using @virtualbus on the off chance that it would work for constants, but it did not. I suppose it is possible to separate groups into different VHDL files, but this would require jumping to different files for groups of constants, etc. that should probably belong in single file.

Additional context
Example of VHDL with two groups of constants put into single constant table in documentation.

library ieee;
use ieee.std_logic_1164.all;



entity constant_tables is
end entity constant_tables;



architecture behavioral of constant_tables is

    --! Logic
    constant ZERO : std_logic := '0';               --! zero
    constant ONE  : std_logic := '1';               --! one

    --! Unknown
    constant UNKNOWN         : std_logic := 'U';    --! unknown
    constant DRIVING_UNKNOWN : std_logic := 'X';    --! driving unknown

begin
end architecture behavioral;

image

@jchang-endiag jchang-endiag added the enhancement New feature or request label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant