![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |