Essays24.com - Term Papers and Free Essays
Search

Usb

Essay by   •  November 11, 2010  •  392 Words (2 Pages)  •  973 Views

Essay Preview: Usb

Report this essay
Page 1 of 2

Pseudo USB SIMULATION

(PROJECT 3)

"ROOT" MODEL:

The "root" in USB is the one that initiates all the transactions, be it input or output transactions. When the root receives a "PACK" , it implies that there is an endpoint at a particular address. Then an acknowledgement signal sent from the endpoint device that consists of data. The corresponding data is displayed on the screen. In the architecture body of the "root" model, two signals called "timer" and "wakeup" are declared. The "wakeup" signal is a pulse signal with 50 percent duty cycle. It basically behaves like a control signal. With the data in the "pack" modified, the root sends a "pin" packet to the endpoint address. The root also sends a "POUT" packet to the endpoint address to check if endpoint has stored the received the data. Then the root waits for a specific time for an acknowledgement "PACK" .Then the returned data is displayed on the terminal.

library ieee;

use ieee.std_logic_1164.all;

library work;

use work.usbpkg.all;

library std;

use std.textio.all;

entity root is

generic (

ADDR : natural := 0

);

port (

signal dport : inout pkt

);

end root;

architecture a of root is

signal timer :boolean;

signal wakeup :boolean;

type boolvec is array (natural range ) of boolean;

...

...

Download as:   txt (2 Kb)   pdf (57.7 Kb)   docx (9.4 Kb)  
Continue for 1 more page »
Only available on Essays24.com
Citation Generator

(2010, 11). Usb. Essays24.com. Retrieved 11, 2010, from https://www.essays24.com/essay/Usb/10227.html

"Usb" Essays24.com. 11 2010. 2010. 11 2010 <https://www.essays24.com/essay/Usb/10227.html>.

"Usb." Essays24.com. Essays24.com, 11 2010. Web. 11 2010. <https://www.essays24.com/essay/Usb/10227.html>.

"Usb." Essays24.com. 11, 2010. Accessed 11, 2010. https://www.essays24.com/essay/Usb/10227.html.