Essays24.com - Term Papers and Free Essays
Search

Usb

Essay by   •  November 11, 2010  •  392 Words (2 Pages)  •  1,037 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