• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
computer architecture lab manual
 

computer architecture lab manual

on

  • 2,802 views

This CAO lab manual is strictly designed as per the BPUT syllabus covering all the experiments. Any suggestion and comments are welcome at neelamani.samal@gmail.com

This CAO lab manual is strictly designed as per the BPUT syllabus covering all the experiments. Any suggestion and comments are welcome at neelamani.samal@gmail.com

Statistics

Views

Total Views
2,802
Views on SlideShare
2,802
Embed Views
0

Actions

Likes
3
Downloads
252
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    computer architecture lab manual computer architecture lab manual Document Transcript

    • Department Of CSE & IT CONTENTExperiment Page Name of the Experiment No. No. 1 1 To recognize various component of PC. Dismantling and assembling of PC. 6 2 3 Use of h/w trainer kit. 12 Simulation of simple fundamental units like 4 half adder full adder etc. 25Page | 1 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITHARDWARE AND SOFTWARE REQUIREMENTS :-1.PC components.2. Hardware trainer kit for Printer ,SMPS, Motherboard, Real time clock, CPU, Hard disk.3. Simulation software(XLINIX).Page | 2 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITLab Experiment No. :- 1Objective :- To Recognize the various components of a Personal Computer.Theory:-The basic components of a PC are 1. Input Unit 2. Output unit 3. Memory unit 4. Control unit 5. Arithmetic logic unitInput Unit :-It is the unit through which data/instructions can be entered into thecomputers .e.g. Keyboard , Mouse etc.Output Unit :-It is the unit by which we can get output from the entered input from thecomputer.e.g. Monitors ,Printer, Speaker etc.Page | 3 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITMemory Unit :-It stores the information by providing facility to the CPU actively byproviding necessary data to CPU.Memory units are of two types 1.Primary memory 2. Secondary memory.Primary Memory:- It is also of two types: i) RAM ii) ROMRAM:- It can be randomly accessed. Memory is temporarily used because when the power goes off ,allthe data stored in it are erased.So it is volatile in nature.It can be read andthe data can be written into it.ROM:- It is also randomly accessed. It is only readmemory unit.It is non-volatile in nature.It can be read only but datas can’t be written into it.ALU:- It performs arithmetic operation like addition,subtraction etc andlogical operation loke AND,OR,NAND etc. It works in electronic speed butthe device attached to it works in low speed.That’s why processor canhandle all the peripheral devices at a time. IT establishes well coordination between other four functional unit.Page | 4 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITCU:- It is the unit which controls the flow of information through theprocessor and coordinate the activities the activities of other unit which arewithin it.So it is the brain within the brain as it controls what happens inside theprocessor.It generate timing signal and control signal for well coordination.Configurtion of a PC.SI Name of Name of Capacity/frequency interfaceNO component Manufacturer1. Processor2. MotherBoard3. RAM4. HDD5. FDD6. DVD7. TFT/CRT8. Keyboard9. Mouse10. UPS11. Cabinet12. SpeakerPage | 5 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITProcessor:- The microprocessor accepts inputs from the user in theform of data and instruction. It process the information and instruction andthen send the processed information to the output device.Motherboard:- It is the main circuit of PC.It conatains the interface forthe microprocessor,BIOS,Memory and storage device neeed to controlperipheral devices such as monitor,keyboard,mouse etc.RAM:- It stores data temporarily.So it is called volatile.HDD:- IT is a secondary storage device for permanent data storagedevice i.e. placed in the system.It is similar to human brain where all thepast to present events are stored.DVD RAM: The Digital versatile disc stored digitally.A DVD writer is a DVD player as well as a writer.FDD: It is a n external storage device. It is magnetic round disc enclosedin a plastic jacket.Today we have double size high quality to density disk with 1.44 MB ofsize.Page | 6 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITKeyboard:- It is a primary input device of the PC similar to type writer.Mouse:- It is used to point to the desired position in the computer. It isalso an input device.UPS:- It is the device that produce supply to the PC.It provides all the time of power cut.So we can save the current data andshut down properly.Speaker: It is an output device through which CPU can produce soundfor the user.TFT monitor:- It is an output device through wich we can read data.Cabinet:- outer covering of CPU.Conclusion:-Page | 7 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITEXPERIMENT NO:-02OBJECTIVES:- To understand how the different components of PCare connected to work properly.Components required:-1.cabinet2.SMPS.3.HDD4.processor5.Motherboard6.Ram7.IDE cable.8.ROM9.System fan and CPU fan.10.Tool kitDescription:  The required components are taken and checked whether the components are good condition or not.  At first clean the required components and it should be done with paint brush.  All the components handled with care.  The step by step procedure should be followed for dismantling and assembling of the PC.  The procedure dismantling and assembling are as follows :Page | 8 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Building TheComputer Step 1: Prepare the caseRemove the empty computer case from its packing and remove both side panels andtakeout any items that may be inside the case .Place it on the work space so that themotherboard facing up. Step 2: Installing the Mother Board risesInspect whether the motherboard risers are installed properly, if not then install itproperly so that the motherboard will not be in direct contact with the metal case. Step 3: Installing the Dives and mother board in the case 1: Remove side panelRemove the side panel from the case in order to gain access to the cabinet as well asthe motherboard properly. 2: Remove front external drive panelRemove the drive bay blanking the spaces.. So that we can install the required drivesproperly and freely. 3: Installing external drivesWith the blanking places removed slide the drives into their corresponding bays. 4: Case screwsFix the drives using the case screw provided .The screw should not be so tightly placed,otherwise it may harm the respective components of the PC. 5: Fixing the drivesFix the optical and floppy drives into its places with screwed properly. 6: Drives installed The optical and floppy drives located in the correct bays in the pc case.Page | 9 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT 7: motherboard mask8: Discard unwanted partsAfter everything is in its place just discard the unwanted parts that were present initiallyin the case.Page | 10 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step 4 :Installing mother board in the case1: Installing the Processor Place the CPU into its slot properly seeing the cut marks present in the processor for identification. Care must be given while installing the CPU, if any Pin breaks then the Processor will become useless. Then place the sink and CPU fan properly and lock it with the lock provided.Page | 11 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT 2: CPU and Fan The CPU fan should be placed over the CPU to keep the processor cool . Place the RAM into its slots. Press it to3: Installing the RAM get the RAM Locked. If the RAM is not placed properly then the PC will not start. And will give a beep sound.4: Installing the power supplyUse the SMPS(Switch Mode Power Supply) cables to give power supply to theindividual components of the PC.5: Installing The HDD The HDD should be Placed in its proper place and should be connected with the ATA cable or The SATA cable as the port may be. And power supply should be given to it.Page | 12 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT6: Connecting the case cableConnect the below cables properly as per instruction. And connect the same cable tothe motherboard also.Step 5: Closing The system case by coverOnce all the parts of the PC are connected to its slots properly and firmly just close thesystem case and screw it properly.Conclusion :-Page | 13 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITExperiment No. 3Objective : i)Study of Fault analysis point of the CPU trainer kit. ii) Study of Dot Matrix Printer. iii) To study the Fault analysis points of Dot Matrix printer iv) Study of VBMB 40 HD Trainer kit. v) Study of real time clock using 465 hard disk driver.EQUIPMENTS REQUIRED: 1. CPU Trainer kit 2. Monitor 3. Keyboard 4. MouseTHEORY :The CPU Trainer kit has 8 different fault analysis point. To estimate the variousfault covering the individual sections of personal computersT1: For Keyboard logicT2 : For BIOS logicT3: For Hard Disk logicT4 : For Mouse logicT5: For Video logic(for synchronization horizontally)T6: For Video logic(for Vertical synchronization)T7: For Serial Communication logicT8: For Parallel Communication logicPage | 14 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITPROCEDURE :T1:Fault Analysis: Switch off the system, Put T1 in open mode and switch ON thesystem.Symptom: Any character that is to be given through the keyboard can not bedisplayed or the keyboard can not work properly.T2:Fault Analysis: Switch off the system, Put T2 in open mode and switch ON thesystem.Symptom: Without processing any key the control will automatically flow to theBIOST3:Fault Analysis: Switch off the system, Put T3 in open mode and switch ON thesystem.Symptom: The OS will not be properly loaded, HDD will not be initializedT4:Fault Analysis: Switch off the system, Put T4 in open mode and switch ON thesystem.Symptoms: The mouse will not work properly.T5:Fault Analysis: Switch off the system, Put T5 in open mode and switch ON thesystem.Symptoms:Display scroll horizontallyPage | 15 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITT6Fault Analysis: Switch off the system, Put T6 in open mode and switch ON thesystem.Symptom:Display scroll verticallyT7:Fault Analysis: Switch off the system, Put T7 in open mode and switch ON thesystem.Symptoms: Serial Port does not receive or transmit information to or from its subsystem or interface unit.T8:Fault Analysis: Switch off the system, Put T8 in open mode and switch ON thesystem.Symptom:It prints junk character CPU TRAINER KITCONCLUSION 1:Page | 16 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITObjective 2:- Study of Dot Matrix Printer.EQUIPMENTS REQUIRED: 1.DOT Matrix Printer 2.Power supply unit 3.Power cordDESCRIPTION:1.Thisthe first type of printer to be used in home and school but they are not usednow-a-days.2.A Dot Matrix Printer or impact matrix printer is a type of computer printer with aprint head that run back and forth or up and down motion, in the phase and printby impact , striking an ink soaked cloth ribbon against the paper, much like theprint mechanism on a type writer.3. Each dot is produced by a tiny metal rod also called a wire or pin which isdriven forward by the power of tiny electromagnet or solenoid either directly orthrough small parts.Page | 17 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITADVANTAGES:1.Relatively cheap to buy2.Low operating cost3.Create carbon copy using carbonated papers.DISADVANTAGES:1.Print quality is poor and important documents are not suitable to give managersor customers.2.Very Slow3.Noisy4.Can not produce colour copies.CONCLUSION 2:Page | 18 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITOBJECTIVE 3: To study the Fault analysis points of Dot Matrix printerEQUIPMENTS REQUIRED:1.Dot matrix printer Trainer kit.2.Power supplyPROCEDURE:Dot matrix printer Trainer kit has 8 Fault analysis point to identify 8 different faultgenerated in DMP Trainer kit.The fault analysis points areT1:Power logicT2.Wrong Character printingT3.Paper sensor without paperT4.Print in the same lineT5.Home positionT6.Line space incorrectT7.Paper outT8.Single dot or collection of dots are missingPage | 19 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITDESCRIPTION:T1:Fault Analysis:T1 is normally in closed position, to introduce the problem switchoff the printer . T1 is open and switch on the printer to identify the problem.Symptom:No printer operation can be performedT2:Fault Analysis:T2 is normally in closed position, to introduce the problem switchoff the printer . T2 is open and switch on the printer to identify the problem.Symptom:Printer prints wrong character.T3:Fault Analysis:T3 is normally in closed position, to introduce the problem switchoff the printer . T3 is open and switch on the printer to identify the problem.Symptoms:The printer will sense the paper even when the paper is not available forprinting.T4:Fault Analysis:T4 is normally in closed position, to introduce the problem switchoff the printer . T4 is open and switch on the printer to identify the problem.Symptom:Overlapping of characters will be identified.T5:Fault Analysis:T5 is normally in closed position, to introduce the problem switchoff the printer . T5 is open and switch on the printer to identify the problem.Symptom:Home position sensor may be defective. The sensor will not at the initialposition by pressing initialization button. It will move to the end.T6:Fault Analysis:T6 is normally in closed position, to introduce the problem switchoff the printer . T6 is open and switch on the printer to identify the problem.Page | 20 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITSymptoms:Line feeding is not proper.T7:Fault Analysis:T7 is normally in closed position, to introduce the problem switchoff the printer . T7 is open and switch on the printer to identify the problem.Symptom:Carriage motor struck while initializing the printer. The sensor can notbe initialized by pressing the initialization button.T8:Fault Analysis:T8 is normally in closed position, to introduce the problem switchoff the printer . T8 is open and switch on the printer to identify the problem.Symptom:While printing single dot or line of dots are missing consistently.CONCLUSION 3:Page | 21 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITOBJECTIVE 4 : Study of VBMB 40 HD Trainer kit.EQUIPMENTS REQUIRED:1.Micro controller 51EB2.One Hard Disk3.VBMB 40 Card4.One 40 core cable, one 50 core cable and one serial cable5.Multi output power supply unit6.one VBMB 40 installer CD7.One keyboardPROCEDURE:1.Go to WINXTALK program2.Choose open point (the communication setting are already set, do not change).3.Choose communication window (from the WINXTALK menu or F2 shortcut)4.From Micro controller type the command “ SM” and press enter5. You will find # prompt on the monitor and serial mode on the micro 51 LEDdisplay6.Type command “pi 4100” on the 3 prompt of WINXTALK communicationwindows and press enterPage | 22 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT7.From the text file option of WINX communication window choose downloadpush button(note the number of characters transmitted appear on the status bar ofWINX communication window)8.Click on # type the command “go 4100” and press enter, the message appears ,the information about HD that is cylinder, comma, sector etc and the nextcommand prompt is LBA= 0x00000000,(R)ead , (W)rite,(L)BA , (U)p , (D)own ,(h)ex dump, (q)uit9.Press L from key board to select the hexa decimal address , then provide theaddress value suppose “55”10.Once again the previous command prompt LBA= 0x00000000,(R)ead ,(W)rite,(L)BA , (U)p , (D)own , (h)ex dump, (q)uit will appear.11.Choose R and H to see the information stored in the address of the HD.12.Press “INT” key from the micro 51EB then # prompt will appear on the WINXcommunication window.13.Type the command “FP 600061ff 77” (here 77 is data) then press enter.14.At the # prompt once again type the command “go 4100” and press enter.15.Press “L” key from the key board and provide LBA address “55” then pressenter.16.At the command prompt LBA= 0x00000000,(R)ead , (W)rite,(L)BA , (U)p ,(D)own , (h)ex dump, (q)uit will appear. Then press “W” key when warningmessage will appear then press “Y” “sector write OK” .17.At LBA prompt press R and H , you can see the written in the HDPage | 23 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT MICRO 51 EB 50 and40 CORE CABLE VBMB 40 CARDCONCLUSION 4:Page | 24 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITOBJECTIVE 5 : Study of real time clock using 465 hard disk driver.EQUIPMENTS REQUIRED:1.VBMB 15 card2.PCI driver3.50 core cablePROCEDURE:1.Open PLXP on the desktop, go to command click on it.2.Reset COP then open my computer.3.Go to CD-drive click on VPCI-107 then click on program.4.Then double click on VBMB 15 exe file.5.One black screen will come and it will ask for confirmation. Enter y then givevalue for hour,minute and second.6.The given time will be displayed in real-time clock kit.Page | 25 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT PCI DRIVER REAL TIME CLOCK VBMB 15 CARDCONCLUSION 5:Page | 26 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITEXPERIMENT NO.4OBJECTIVE:-Simulation of fundamental unit like 1. Half adder 2. Full adder and 3. MultiplexerSoftware required:- XILINX ISE 9.1iTheory:- Halfadder:-Procedure:- Step1: To simulate the functional working of Halfadder we need XILINX 9.1i to run in Admin mode as shown below.Page | 27 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step2: Go to file menu and chose new project. Step3: Type the project name and then choose the top level source type asHDL.Page | 28 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Stpe4: Set the parameter in the window as Family- Spantan3 Device-XC3S200 Package-FT256 Speed- 4 Preferred Language-VHDL And press nextPage | 29 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step5: Choose the new source and press next and whenever the new window open,Put the same file name and choose VHDL module .Page | 30 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step6: In the next window input two port name as input1 and input2 and direction as in.Then input two port name as sum and carry and set direction as out. Step7: And press next.Page | 31 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step8: Press next Step9: Press nextPage | 32 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step10: Press next Step11:Press finishPage | 33 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step12: Write the HDL code for half adder followed by begin. Step13: Double click on the Synthesize.xst and go to check syntax and if error not found the following screen appear.Page | 34 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step14: Then click on the view RTL schmePage | 35 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step15:Then following output screen output screen appear.Page | 36 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITConclusion:-Page | 37 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT FULL ADDER Theory: Procedure Step1: To simulate the functional working of full adder we need XILINX 9.1i to run in Admin mode as shown below.Page | 38 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step2: Go to file menu and chose new project. Step3: Type the project name and then choose the top level source type as HDL.Page | 39 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Stpe4: Set the parameter in the window as Family- Spantan3 Device-XC3S200 Package-FT256 Speed- 4 Preferred Language-VHDL And press nextPage | 40 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITStep5: Choose the new source and press next and whenever the new window open, Put thesame file name and choose VHDL modulePage | 41 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step6: In the next window input two port name as input1 and input2 and direction as in.Then input two port name as sum and carry and set direction as out. Step7: And press next.Page | 42 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step8: Press next Step9: Press nextPage | 43 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step10: Press next Step11:Press finishPage | 44 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step12: Write the HDL code for half adder followed by begin.Page | 45 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step13: Double click on the Synthesize.xst and go to check syntax and if error not found the following screen appear.Page | 46 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step14: Then click on the view RTL schme Step15:Then following output screen output screen appear.Page | 47 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITConclusion:-Page | 48 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT MULTIPLEXER Step1: To simulate the functional working of full adder we need XILINX 9.1i to run in Admin mode as shown below. Step2: Go to file menu and chose new project.Page | 49 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITStep3Type the project name and then choose the top level source type as HDL. Stpe4: Set the parameter in the window as Family- Spantan3 Device-XC3S200 Package-FT256 Speed- 4 Preferred Language-VHDL And press nextPage | 50 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITStep5: Choose the new source and press next and whenever the newwindow open, Put the same file name and choose VHDL modulePage | 51 Prepared By Mr.Neelamani Samal
    • Department Of CSE & ITPage | 52 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step6: In the next window input two port name as input1 and input2 and direction as in.Then input two port name as sum and carry and set direction as out. Step7: And press next.Page | 53 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step8: And press next Step9: And press nextPage | 54 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step10: And press finish Step12: Write the HDL code for half adder followed by beginPage | 55 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step13: Double click on the Synthesize.xst and go to check syntax and if error not found the following screen appear.Page | 56 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Step14:Then following output screen output screen appearPage | 57 Prepared By Mr.Neelamani Samal
    • Department Of CSE & IT Conclusion:-Page | 58 Prepared By Mr.Neelamani Samal