Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 08-14-2007, 07:26 AM   #1
Default VHDL problem - Signal counter cannot be synthesized, bad synchronous description.


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


shipacpoloy
shipacpoloy is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
vhdl std_logic_vector slice access problem topi1234 Software 0 04-18-2008 12:07 PM
Need help on Modelsim VHDL syntax? ASAP:) kaji General Help Related Topics 0 03-14-2007 10:43 PM
Need help on a Modelsim VHDL Syntax? ASAP:) kaji Software 0 03-14-2007 10:43 PM
Need Help on a Modelsim VHDL Syntax....ASAP:) kaji Hardware 0 03-14-2007 10:41 PM
I need help with a vhdl description aarelovich Hardware 0 10-11-2006 02:35 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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