Forum Discussion
Altera_Forum
Honored Contributor
9 years agosignal iCntBCD: natural (3 downto 0);
Is illegal. naturals and other integer types do not have accessible bits. Also, 3 downto 0 is illegal for an integer type. did you mean signal iCntBCD : natural range 0 to 3; --- Quote Start --- IS IT RIGHT to declar the cast like this? OR WHAT IS WRONG? --- Quote End --- You cannot do this. I still cannot quite see what you're trying to do.