CSE465 HW1

 

 

Due: Thursday 3/24/05

 

 

Introduction:

The focus of this assignment is analyzing the example simulation wave form provided for MP4.

 

 

Simulation set up:

The follow steps show how to run the example simulation.  The two files needed for simulation are located at  /usr/local/cvsroot/cse465-s05/cse465_admin/MP4_sim”

 

1.)   copy “mp4_sol_data.wlf” and “mp4_sol_wave.do” to your local directory

2.)   start vsim using the command:  vsim &

3.)   in vsim use the mouse to wiew->wave

4.)   in the wave window

a.      File->open->Dataset

                                                    i.     use the browse button to open “mp4_sol_wave.wlf”

b.     File->open->Format

                                                    i.     use the browse button to open “mp4_sol_data.do”

 

The Echo program starts execution at the second rising of the “goleon” signal.  All analysis of the simulation should be done starting from this point.  In other words the simulation before the start of the Echo program is irrelevant to this assignment.

 

 

Questions:

 

1.)   At what time during simulation is the “hello” packet received by the Network Packet device (i.e. when does the first word of the IP header arrive)

 

Sim Time:

 

2.)   At what time during simulation is the “hello” packet transmitted by the Network Packet device (i.e. when is the first word of the IP header transmitted)

 

Sim Time:

 

3.)   At what time during simulation does the Echo program’s polling of the receive queue indicate that the “hello” packet has been queued.  Zoom in on the appropriate section of the simulation and take a screen shoot of this event.  Make sure to only include the relevant signals. (Hint: If your screen shot has more than 15 signals you have too many)

 

Sim Time:

 

4.)   Between what times in simulation does the Echo program read in the “hello” packet from the Network Packet device?  Zoom in on the simulation to only show this time range, take a screen shot.  Again only include relevant signals in the screen shot. 

 

Sim Time of first word read:

 

Sim Time of last word read:

 

5.)   At what time during simulation does the Echo program send the length of the “hello” packet to the Network Packet device in order to initiate transmission?  Zoom in on the appropriate section of the simulation and take a screen shoot of this event. 

 

Sim Time:

 

6.)    Time stamps

a.      What is the value of the arrival time stamp for the “hello” packet

 

Time Stamp (Hex):

 

b.     What is the value of the departure time stamp for the “hello” packet

 

Time Stamp (Hex):

 

c.      How much time elapsed between the time stamps?  This is the time spent in hardware and software processing the “hello” packet.  Assume a 25 MHz clock is used.  Show your work.

 

 

Processing time: