Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > VHDL problem - Signal counter cannot be synthesized, bad synchronous description.

Reply
Thread Tools

VHDL problem - Signal counter cannot be synthesized, bad synchronous description.

 
 
shipacpoloy shipacpoloy is offline
Junior Member
Join Date: Aug 2007
Posts: 2
 
      08-14-2007
Ei guyz. I'm still a noob in VHDL. I know this code is quite simple but it doesn't work (don't have any idea why).

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;

entity oneShot_tryA is
port (CLOCK : in STD_LOGIC;
ENABLER_A : in STD_LOGIC;
OUTPUT : buffer STD_LOGIC);
end oneShot_tryA;

architecture OneShot_TryA_ARCH of oneShot_tryA is
signal counter : STD_LOGIC:='0';
begin

process (CLOCK)
begin

if rising_edge(CLOCK) then
if ENABLER_A='1' or OUTPUT='1' then
OUTPUT <= not counter;
end if;
elsif OUTPUT='1' then
OUTPUT <= not counter;
counter <= '1';
elsif ENABLER_A='0' then
counter <= '0';
end if;

end process;

end OneShot_TryA_ARCH;



It has this error message => "Signal counter cannot be synthesized, bad synchronous description."

HELP! Thanx
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between synchronous (proactor pattern) and synchronous model in web server Rickert C++ 0 10-06-2011 04:54 AM
cannot be synthesized, bad synchronous description Zenock VHDL 7 03-10-2010 10:16 AM
counter with reset which is synchronous with one of two clocks Thunder VHDL 4 06-29-2007 02:45 PM
HELP:What is the difference between asynchronous and synchronous counter? ckyz VHDL 0 07-29-2006 04:34 AM
bad synchronous Pedro Claro VHDL 1 08-18-2003 04:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57