Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Bad synchronous description, how to fix it??

 
Thread Tools Search this Thread
Old 06-13-2008, 11:08 AM   #1
Smile Bad synchronous description, how to fix it??


hi all,

I met a problem when synthesizing the following code in Xilinx ISE9.2i, saying
" Signal pmu_ready cannot be synthesized ,bad synchronous description ",
I 've compiled and simulated it in ModelSim already,with its function run well, but I fail to figure out what cause the synthesize problem, could anybody give me some advices? Many many thanks!

-----------------------------------------------------------------------------
signal pmu_ready:std_logic;

signal bmu_ready:std_logic; ----- come from another process

signal traceback_ready:std_logic; ----- come from another process

process

begin
if rst='1' then
pmu_ready<='0';
else

if rising_edge(bmu_ready) then
c_pm0:=0;
c_pm1:=0;
c_pm2:=0;
c_pm3:=0;

TB(0)<=(others=>'0');
TB(1)<=(others=>'0');
TB(2)<=(others=>'0');
TB(3)<=(others=>'0');

for i in 0 to 19 loop
........... ---- useless sentences
end loop;

pmu_ready<='1';

end if;

if rising_edge(clk) then
if pmu_ready = '1' then
pmu_ready <='0';
end if;
end if;

if rising_edge(traceback_finish) then
pmu_ready <='0';
end if;
end if;

end process;
-----------------------------------------------------------------------


tarzandavid

Last edited by tarzandavid : 06-13-2008 at 11:10 AM.
tarzandavid is offline   Reply With Quote
Old 06-13-2008, 09:48 PM   #2
jeppe
Senior Member
 
Join Date: Mar 2008
Location: Denmark
Posts: 246
Default
Well - In generel should a process ONLY contain ONE rising_edge or ONE falling_edge statement.

I succed in having both a falling and rising edge block
but only because the two blocks was working at different signals.

Try to make a drawing of the circuit you expect as a result of your code - I quess your will having big problems doing this and the same is true for the tools.

Best regards
Jeppe

PS! VHDL was first intended as a simulation tool - but even if your allowed to simulate dosn't mean that the code can be synthezised.


jeppe

Last edited by jeppe : 06-13-2008 at 09:50 PM.
jeppe 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 problem - Signal counter cannot be synthesized, bad synchronous description. shipacpoloy Software 0 08-14-2007 07:26 AM
I need help with a vhdl description aarelovich Hardware 0 10-11-2006 02:35 PM
Audio Description Tracks Ian Griffiths DVD Video 5 07-07-2006 03:53 PM
Very slow recognising DVD disc Terry Pinnell DVD Video 1 03-28-2006 06:53 PM
Now I introduce some popular software of multimedia eightsome@gmail.com DVD Video 0 03-28-2006 02:29 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