



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Guidelines for working with the i80186_hv model in compe 475 - microprocessors course. It includes revision history, directory structure, instructions for instantiating 80c186 model, creating pcl file, attaching program files, interconnecting microprocessor pins, adding pld/fpga, interconnecting pld/fpga and microprocessor, specification of ram contents, and copying/moving mentor graphics data. It also provides files to help with the project and a demo file to run from dmgr.
Typology: Study Guides, Projects, Research
1 / 6
This page cannot be seen from the preview
Don't miss anything!




**** Revision History **** Revised 04-06-04: Updated for the use of Altera CPLDs/FPGAs Revised & Updated 11-30-03: Updated info on use of Xilinx devices, reformatted and edited information for correctness -KW Revised 11-20-01: Updated item 5 (removed reference to S2 and added /PCS0) - NP Revised 11-08-01: Updated info on simulation via Quicksim II Revised 02-07-00: to include Am28F010 EEPROM and KM62256 SRAM. Revised 11-17-99: Item 6: corrected mach221-10-com in mcf file contents. (Revised 9-27-99) (Revised 8-31-98) (Revised item 3 on 2-16-98) (Revised item 6 on 1-9-98)
Important Notes:
Step1. Directory structure Use the file manager to make a folder called 475proj under /home/student/yourname. Place your schematic folder and your memory contents files, the .j1 , .pcl , .mcf and .frc files under the 475proj folder. See item 10 below for memory contents files. See item 3 below for .pcl file. See item 7 below for .mcf file.
Step2. Instantiating 80C186 Model In Design Architect choose the i80C186-16 HVM model (the BUS version is more convenient if you
palette on the right choose:
If necessary, place the the mouse pointer over the palette, press the right mouse button, and select "Resize Palette" to allow you to read some of the long names. Place the model in your schematic by clicking the left mouse button.
Step3. 80C186 Program File Using Smartmodel Libraries the 80C186 program is created as a .pcl file (see online documentation for more details). A blank pcl file for the i80C186 is in /user/class/ee475/project.src
UMCS, LMCS, MMCS, and PACS configuration registers of the 80C186, and then use the editor to edit and save project.src by adding correct values for the configuration register.
Step4. Attaching Program Files to Smartmodels
PCLFile=..., click OK , and change the " value " field to the full pathname where you have put the project.pcl file (i.e., enter: /home/student/yourname/475proj/project.pcl ). Click OK to finish this step.
Step5. Interconnecting the Microprocessor Pins The only signals that you need to connect on the microprocessor model 80C186 model are: NRES, X1, AD(15:0), A(19:16), /PCS0, /UCS, /LCS, ALE, /WR, /RD, and /BHE.
Step6. Adding a Programmable Logic Device (PLD) or Field Programmable Gate Array (FPGA)
(1) Check for a Model Messages box that will tell you whether any fuses were blown in your PLD. If it says zero, then there is a problem with your model. You will have to go back to Design Architect and correct the problem.
Step 10. Specification of RAM Contents To specify the contents of any RAM or EEPROM locations simply use the text editor to enter data in the format HEX_ADDRESS/HEX_CONTENTS HEX_ADDRESS/HEX_CONTENTS etc. See /user/class/ee475/rom_upper and rom_lower for examples.
Step 11. Printing from Mentor Graphics Tools
highlight the line that reads: e-207-lj4mv Plot to mgcps
Click on the " Select Printer " button, and also click on 'landscape' under Orientation. Then, click ' OK ' to return to Design Architect. When you select the 'Print Sheet :' option thereafter, your schematic will be plotted on the HP-4MV printer in E-207 (check with Mr. Paolini or procedure to use a printer in room E220). The same procedure can be used in QuickSim. To print trace waveforms, select the trace window
Step 12. Copying/Moving Mentor Graphics Data If you should have to move / copy an entire schematic do not use the file manager. There is file information embedded in the schematic files that only Design Manager can handle. In a terminal window, enter dmgr & to get into Design Manager, then find your schematic in the right hand window (use the arrow keys near the bottom to navigate through your folders). Schematics have a circuit graphic on them. Select the schematic and click COPY on the palette, then enter the full pathname where you want the schematic copied.