Convert Enumeration to Integer

Nov 25, 2005 0 Replies

Hi,



I've read the VHDL FAQ 4.2.21 "How to Convert Between Enumeration and Integer Values". Anyway, I have questions to these function:



function slv2pec ( signal id : std_logic_vector(2 downto 0)) -- signal id : std_logic_vector(natural range )) return pattern_edge_comb_t is



begin -- Error: No feasible entries for infix operator "


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required