--- Quote Start ---
Hi !!
When i compile my programm, I have these errors :
My programm consists to a variable control_2 (std_logic_vector (15 downto 0)) which count up to a constant value . When this value is egal, control_2 is initialized to 0 and count up a new time, etc...
The constant can be 4 values defined by the position of a commutator (hardware).
Here I don't understand all these errors, and more even if my constant et control_2 is always 16 bits, sometimes i don't have these errors sometimes i have. It depends the value of the constant.
An exemple :
Here divide_2 is the constant. The values of divide_2 generate or not the compilation errors.
Why if for 8000Hz my value is "000000001101101" I have these errors?
And why for this case if my value is "000000001111101" I don't have errors...? The compilation is ok and my outpout is ok.
Please Help me...:confused:
--- Quote End ---
Hi,
your post is also a little bit confusing. You posted that your compilation isn't successful, but later on you wrote that the compilation and your output is ok ?
BTW: What is the width of your signal, 16 bit ? You compare values are 17 bit or 15 bit ???
11101010011000000 17 bit
011000011010100 15 bit
000010011100010
000000001111101
000000000000001
Kind regards
GPK