sphinx-vhdl icon indicating copy to clipboard operation
sphinx-vhdl copied to clipboard

The autoconsts is not supported in package type

Open yangyt96 opened this issue 9 months ago • 0 comments

-- This package provides basic mathematic functions utilised all through
-- the design
package math_pack is
    -- This function calculates the base 2 logarithm of a number.
    --
    -- .. vhdl:parameters:: log2
    --
    --     a : in unsigned
    --         The number of which to calculate the logarithm
    function log2  (a : unsigned) return integer;



    -- Width of counter
    constant CNT_WIDTH_A : natural := 8;


end package math_pack;

.. vhdl:autoconstants:: math_pack

The issue is same as the topic

yangyt96 avatar May 13 '25 09:05 yangyt96