Guest
Hi,
I am learning vhdl and found when writing a simple clock divider I did a
if rising_edge(clk) and div=someval. ISE throws an error saying "The description style you are using to describe a synchronous element (register, memory, etc.) is not supported in the current software release."
I rearranged it to do
if(rising_edge(clk) then
if (div = someval)
....
and it works fine. I don't seem to understand what seems to be wrong?
Thanks,
Gautam.
I am learning vhdl and found when writing a simple clock divider I did a
if rising_edge(clk) and div=someval. ISE throws an error saying "The description style you are using to describe a synchronous element (register, memory, etc.) is not supported in the current software release."
I rearranged it to do
if(rising_edge(clk) then
if (div = someval)
....
and it works fine. I don't seem to understand what seems to be wrong?
Thanks,
Gautam.