ROYAL MILITARY COLLEGE OF CANADA
LABORATORY REPORT # 1
8-Bit Multiplier
EEE 469A
Submitted by:
Dated:
1.0 INTRODUCTION
1.1 Purpose. The purpose of this lab is to: a. b.
2.0 DESCRIPTION
2.1 Lab Preparation. (set-up steps)
2.2 Procedures.
2.2.1 Part 1. VHDL Circuit 1 (VHDL documented code - Appendix A)
2.2.1.1 Circuit Description (schematic - VHDL diagram - Appendix B)
2.2.1.2 The following tests were conducted on this circuit: a. b.
2.2.2 Part 2. VHDL Circuit 2 (VHDL documented code - Appendix C)
2.2.2.1 Same
2.2.2.2 Same a.
b.
1
3.0
RESULTS
3.1 Part 1. The results associated with Part 1 are as follows:
1.1
blah blah
1.2
more of the same
1.3
…
1.4
3.2 Part 2. The results associated with Part 2 are as follows:
2.1
…
2.2
…
4.0 CONCLUSION
4.1 Summary. Laboratory 1 served to ….
4.2 Discussion. This is a very important part of the lab. Here you tell me what you learned, why it is important, how it fits in with the topics we are studying, how it relates to other ideas, literature, research you have been doing, etc. Here is an example from some other students’ lab report in another course.
Analysis of the ARP
This part of the lab really helped show what ARP was and how it works. After just creating a new network with subnets, our machine did not have any knowledge of IP or MAC addresses to any other machines in another subnet. In order to gain this knowledge and effectively communicate with other machines we would need to use the ARP. The ARP will send out a “who-has” broadcast to the LAN and then waits for an ARP reply packet containing a MAC address of the machine with the IP address sent in the “who-has” packet. Each host on a network stores all the MAC/IP addresses in its ARP cache. We used the command prompt to look at our ARP cache, which contained only the router’s interface address. We then cleared it, and pinged the PC of Chenevert and Drolet while listening in on the network traffic with windump . The IP for the ARP who-has in the packet seen was 10.0.4.1, which is our router interface. The reason this IP is used is because the router has the connection to the rest of the network therefore it can tell where the message should be sent just by looking at the net address of the IP. This is the purpose of a router, it would make no sense for every machine to have to know every address in the network, especially on a larger scale network.The destination MAC address in the ARP who-has broadcast is ff:ff:ff:ff:ff:ff because this represents all 1s in hexadecimal which is the broadcast MAC address.
We then pinged the Telnet server after clearing our ARP cache once more. When examining the ping echo request header we found that it was using the MAC address
2
00:1e:7a:01:1c:5c which is that of our router interface. This address did not correspond with the IP address in the same packet of 10.28.0.1 which is the IP of the Telnet server. This is because the IP represents a layer three “final destination” while the MAC represents a layer two “next hop”. The router would then determine the following hop and use the MAC address for that hardware as it passes the message along.
The role of the ARP is to map addresses in network communications across layer 2 and layer 3 OSI. DHCP is a protocol that broadcasts across the layer 3 IP subnet. In our network, the IP address 10.28.255.255 would be used to broadcast across the services subnet, and 10.0.4.255 would be used for the lab subnet. It is important to note and is clearly seen within the packet analysis that ARP packets do not cross routers. However they do cross hubs and switches since they operate on layer 1.
5.0 REFERENCES
5.1 Text Books. The following text books were used in support of this lab:
5.3 Other References. The following other references were used in support of this lab:
Appendices: 3
3