![]() |
|
|
|||||||
![]() |
VHDL - Bad synchronous description, how to fix it?? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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. |
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2008
Location: Denmark
Posts: 246
|
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. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |