RE: sinteza
>>-----Original Message-----
>>From: Ana Balevic [mailto:alegria@ikomline.net]
>>Sent: Friday, January 23, 2004 11:08 PM
>>
>>
>>p.s. deluje mi da se sintetizatoru posebno ne svidja ovo parce koda:
>>FIFOReceive : process(WB_CLK_I) is
>>begin
>> if rising_edge(WB_CLK_I) then
>> if CTRLRxE='1' and DataReady='1' and Rfull='0' and RxTaken='0' then
>> RxFIFO_WR<='1';
>> if RxTaken='0' then *****
>> RxTaken<='1';
>> end if;
>> else RxFIFO_WR<='0';
>> end if;
>> end if;
>>end process FIFOReceive;
Pogledaj red sa zvezdicama. Mislim da nema potrebe da pišeš taj if jer je
RxTaken='0' uslov da se taj red uopšte izvrši. Znači kod bi trebalo da
izgleda
>>FIFOReceive : process(WB_CLK_I) is
>>begin
>> if rising_edge(WB_CLK_I) then
>> if CTRLRxE='1' and DataReady='1' and Rfull='0' and RxTaken='0' then
>> RxFIFO_WR<='1';
>> RxTaken<='1';
>> else RxFIFO_WR<='0';
>> end if;
>> end if;
>>end process FIFOReceive;
Poz,
-+- I V A N -+-
>>From: Ana Balevic [mailto:alegria@ikomline.net]
>>Sent: Friday, January 23, 2004 11:08 PM
>>
>>
>>p.s. deluje mi da se sintetizatoru posebno ne svidja ovo parce koda:
>>FIFOReceive : process(WB_CLK_I) is
>>begin
>> if rising_edge(WB_CLK_I) then
>> if CTRLRxE='1' and DataReady='1' and Rfull='0' and RxTaken='0' then
>> RxFIFO_WR<='1';
>> if RxTaken='0' then *****
>> RxTaken<='1';
>> end if;
>> else RxFIFO_WR<='0';
>> end if;
>> end if;
>>end process FIFOReceive;
Pogledaj red sa zvezdicama. Mislim da nema potrebe da pišeš taj if jer je
RxTaken='0' uslov da se taj red uopšte izvrši. Znači kod bi trebalo da
izgleda
>>FIFOReceive : process(WB_CLK_I) is
>>begin
>> if rising_edge(WB_CLK_I) then
>> if CTRLRxE='1' and DataReady='1' and Rfull='0' and RxTaken='0' then
>> RxFIFO_WR<='1';
>> RxTaken<='1';
>> else RxFIFO_WR<='0';
>> end if;
>> end if;
>>end process FIFOReceive;
Poz,
-+- I V A N -+-
- References:
- sinteza
- From: Ana Balevic <alegria@ikomline.net>
- sinteza
Previous by date: Re: Block Read pitanje
Next by date: RE: Block Read pitanje
Previous by thread: sinteza Next by thread: RE: FIFO red
Previous by thread: sinteza Next by thread: RE: FIFO red