25.12.2013 Aufrufe

Gecko3 - CCC Event Weblog

Gecko3 - CCC Event Weblog

Gecko3 - CCC Event Weblog

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

E.2. Loopback Core<br />

WRUint WRX, RDYU => RDYUint , RDYX =><br />

RDYX,<br />

z e r o => zero , writeEN => writeEN , we => we , up => up , down => down<br />

) ;<br />

i d a t a p a t h : datapath<br />

port map(<br />

90 c l k => CLK, r e s e t => RESET, z e r o => zero , we => we , up => up , down => down ,<br />

writeEN => writeEN , data => DATA<br />

) ;<br />

end B e h a v i o r a l ;<br />

E.2.2. Datenpfad<br />

1 −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−<br />

−− Diplomwork :<br />

−− <strong>Gecko3</strong> SoC HW/SW Development Board<br />

−−<br />

−− ( ‘ \ ( ) ( ) ( )<br />

6 −− | ( ) ) | ( | | | | Berne U n i v e r s i t y o f Applied S c i e n c e s<br />

−− | < ’| ) | | School o f Engineering and<br />

−− | ( ) ) | | | | | | Information Technology<br />

−− ( / ’( ) ( ) ( )<br />

−−<br />

11 −−<br />

−− Author : Christoph Zimmermann<br />

−− Date o f c r e a t i o n : 8.11.2006<br />

−− D e s c r i p t i o n :<br />

−− Datapath f o r t h e l o o p b a c k module<br />

16 −−<br />

−− Target Devices : X i l i n x Spartan3 FPGA’ s ( usage o f BlockRam in t h e Datapath )<br />

−− Tool v e r s i o n s : 8.2 i<br />

−− Dependencies :<br />

−−<br />

21 −−<br />

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−<br />

library IEEE ;<br />

use IEEE . STD LOGIC 1164 .ALL;<br />

26 use IEEE . STD LOGIC ARITH .ALL;<br />

use IEEE . STD LOGIC UNSIGNED .ALL;<br />

−−−− Uncomment t h e f o l l o w i n g l i b r a r y d e c l a r a t i o n i f i n s t a n t i a t i n g<br />

−−−− any X i l i n x p r i m i t i v e s in t h i s code .<br />

31 library UNISIM ;<br />

use UNISIM . VComponents . a l l ;<br />

entity datapath i s<br />

port (<br />

36 clk , r e s e t , we , up , down , writeEN : IN s t d l o g i c ;<br />

z e r o : OUT s t d l o g i c ;<br />

data : inout s t d l o g i c v e c t o r (15 downto 0)<br />

Project Report 97

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!