Forum Discussion
Altera_Forum
Honored Contributor
9 years agoType problem? Compiler doesn't help me!
Hi everyone, My software works for the compilation. But now I had a table 7seg to display my work. But it doesn't compile without error! I'm lost. My two questions are: questions 1): W...
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.