University of California at Berkeley. College of Engineering. J. Wawrzynek and N. Weaver. Lab 7

Similar documents
Lab 5. Binary Counter

Lab 6. Binary Counter

Pacific Antenna 20 and 40M Lightweight Dipole Kit

Pacific Antenna 20 and 40M Lightweight Dipole Kit

Pacific Antenna 20 and 40M Lightweight Dipole Kit

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

GORE Aerospace Ethernet Cables

Bi-Color Signal Mirror Installation Instructions

EGR Laboratory 9 - Operational Amplifiers (Op Amps) Team Names

EECS 270: Lab 7. Real-World Interfacing with an Ultrasonic Sensor and a Servo

Kromski Prelude. Assembly Instructions

Signal Mirror Installation Instructions Toyota Tacoma

Installation tutorial for Console Customs PS3 TrueFire Standard Rapid fire Microchip for Sixaxis and Dualshock 3 controllers

EGR Laboratory 3 - Operational Amplifiers (Op Amps)

Droplit v2 Frame Assembly

4. Z-axis assembly. 4. Z-axis assembly. Written By: Josef Prusa manual.prusa3d.com Page 1 of 18

Connecting a Warp Feed to an Intelliframe

ROVs in a Bucket Building an Underwater Robot. 5.0 Building the Tether

Sequential Logic Circuits

Hexbug Spider Hacking Kit (no solder) by EMGRobotics.com

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC 180A DIGITAL SYSTEMS I Winter 2015

HQ Hideaway. Installation and Operation Version 2.2, April 2015 Part # QT40100

Signal Mirror Installation Instructions

LEG CURL IP-S1315 INSTALLATION INSTRUCTIONS

Kromski Interlude. Assembly Instructions

Heartboard PCB Assembly Instructions

Lab Equipment EECS 311 Fall 2009

Signal Mirror Installation Instructions Honda Odyssey

Plug-n-Show Stake Down Pixel Tree Kit 16 strips of 25 pixels Assembly Instructions

Wiring Techniques for Wiring a Lamp

PO Box 1879, 515 Tucker Ave. Friday Harbor, WA Phone: (360) Fax: (360)

Signal Mirror Installation Instructions

Casting Tool Kit, from Jewelry Television. Introduction. Tools That Come With The Casting Kit

Lab# 13: Introduction to the Digital Logic

Signal Mirror Installation Instructions

ABM International, Inc.

Name EET 1131 Lab #2 Oscilloscope and Multisim

Lecture 4&5 CMOS Circuits

How to Change the Flint and Wick in a Scripto Vu-Lighter 2011 by Andrew G. Rowe Version 1.01 Table of Contents

ENGR 40M Project 2a: Useless box

Lumber Smith. Assembly Manual. If you are having problems assembling the saw and need assistance, please contact us at:

How to Wire Wrap a Cabochon

Lab #6: Op Amps, Part 1

Warning: CHOKING HAZARD -Small Parts. Not for Children Under 9 yrs. Kit Recommended for Ages 12 and up.

Schmitt Trigger Inputs, Decoders

Instruction Sheet Tool Kit [ ] (for SL Series 110 Jack Connectors)

Hammerli SP20. Hammerli SP20. Rear Sight Adjustments. (1 of 7) :22:02

Lab 6: Instrumentation Amplifier

How to Hard- Wire your Zumo 665 to the Slingshot Infotainment Center

3.1 There are three basic logic functions from which all circuits can be designed: NOT (invert), OR, and

Gomoku Player Design

DeluxeArcade. JAMMA Fingerboard. Introduction. Features. Version 1.1, November 2014 Martin-Jones Technology Ltd

Digital Electronics & Chip Design

DRAFT. Sudden Ionospheric Disturbance (SID) Antenna Manual. Stanford Solar Center Stanford University Version 2.0

5. Extruder Assembly

9 X 12 FIXED TYPE ALUMINUM WINDOW BARS INSTALLATION INSTRUCTIONS Import Note : 9 X 12 Spacing Fixed Type Installation is covered in this Instruction.

BIFOLD FUTON FRAME TRINITY ARM. Seat Rails and Slats x 1. *Note: Use 4pc of 100mm Bolts and 4pc of 60mm Bolts to attach the arms to the Stretchers.

Manual Version July 2007

INSTALLATION AND OPERATION MANUAL. Multiple-Radio Interface Module 41021G P-26 (11-12) 2012 David Clark Company Incorporated

BOW-A-CONSTRICTOR BUCKEYE ARCHERY SOLUTIONS

EK307 Lab 3 Spring Lab Assignment 3 Logic Gates

OpenROV. Guide 3 - Electronics. We will now move to the assembly of the electronics that will control the ROV. Written By: OpenROV

Adjusting Backlash on Sherline handwheels

Volvo 240/260 New Face Overlay Installation Models By Dave Barton

GORE Aerospace Ethernet Cables

Screw. Introduction This Rokenbok STEM-Maker lesson will use the following steps to learn about the screw. Learning Objectives. Resources.

Sequential Logic Circuits

Simple Free-Energy Devices

LDB-1 Kit Instructions Page 1 of 8

Assembly and Installation Instructions for White Oak Audio Design TM-1001 LED board

Experimental Procedure

The metal outlet cover also makes a good template for drilling the holes in the plastic box. I used a 1.25-inch barrel-style wood bit (again, about

FIXTURE INSTALLATION GUIDE Model T21T (Low Voltage Pendant Set 120V)

Dual Fidgety Art Bot. We enjoyed building our Trashy Art Bot just as much as our Fidgety Art Bot.

Precision Steel Car s 100 T Steel Coil Car

Versatile Walking Stick: Camera Monopod and Stylish Walk Along

INTRODUCTION. Figure 1 Three-terminal op amp symbol.

Signal Mirror Installation Instructions

Circular attachment ENGLISH

======================================================================================== ( DR / DR) JK WRANGLER MOD RACK

Section 5 BATTERY REPLACEMENT

EECE 2413 Electronics Laboratory

Weaving Your 1st Scarf

35 mw HeNe Laser Ballast Resistor Insulation Upgrade Instructions

Sirindhorn International Institute of Technology Thammasat University at Rangsit

EGR Laboratory 1 - Introduction to Circuit Analysis

Lab 6 Using PicoBlaze. Speed Punching Game

How to repair a broken potentiometer or pot

Kromski Fantasia. Assembly Instructions

First I test the resistor to make sure it doesn't fluctuate all over the place. So long as it sits stable between 506 and 560 ohms you are set.

MantelMount. TM1A Installation Instructions IMPORTANT SAFETY INSTRUCTIONS - SAVE THESE INSTRUCTIONS

Spiderbeam Balun Construction Guide

Wiring Manual NEScaf April 2010 (August 2006)

Signal Mirror Installation Instructions

HandPunch Installation Guide

Build your own. Pack. Stages 19-22: Continue building Robi s left arm

The W3FF Portable Dipole

Getting Started. 0.1 Breadboard

Greenslade & Company, Inc. USA

MAT MASTER TM SYSTEMS

Transcription:

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences CS 150 Fall 1998 J. Wawrzynek and N. Weaver Later revisions by R. Fearing, X. Zhang, and B. Choi Lab 7 Wire-Wrap and SRAMS 1 Objectives For this lab, you will 1. Learn to use Wire-Wrap. 2. Gain more practice in digital design 3. Learn some strategies to test circuits 4. Wire an SRAM to the Xilinx on your Design Demonstration Board and test it. 2 Prelab Following the directions in Section 3, use Wire-Wrap to connect a W24512AK, an 64K 8 SRAM to the Xilinx chip on your Design Demonstration Board. Use the pinouts in Figure 2 and a Wrap-ID from Page 5. Design the control logic for the circuit described in Section 4.1. 3 Wire-Wrap Wire-Wrap is a prototype construction technique where 30-gauge wire (\Wire-Wrap wire") is twisted around a square post to make a connection. These connections are physically strong, reliable, electrically sound, and quickly made. Wrapping End Unwrapping End Hole for Pin Hole for Wire Slot for Wire Wire Stripper A Wire-Wrap tool consists of three parts: Figure 1: A Wire-Wrap tool (not to scale) A central hexagonal rod with a wire stripper in the center (the little black notch). The wrapping end: a black circular rod with a hole in the center and an o-center hole leading to a side slot. The unwrapping end: a shorter circular rod with a hole in the center. 1

2 Lab 7 Wire-Wrap and SRAMS October 8, 1998 To make a Wire-Wrap connection, 1. Plan the route of your wire. Leave little slack, perhaps a half inch. Wires should lie at against the board. 2. Cut the wire 2.5 inches longer than the route you chose. 3. Strip an inch of insulation o each end of the wire using the Wire- Wrap tool's stripper: thread the wire through the circular hole in the hexagonal handle, push it into the stripper's notch, and pull. 4. Insert a stripped end of the wire into the o-center hole in the end of the wrapping end of the tool. The wire should be visible in the slot on the side, although it should not hang out of this slot. 5. Put the wrapping end of the tool on the pin to be connected. The pin should t easily in the center hole. 6. Gently, without pushing down or lifting up, twist the tool clockwise about twelve revolutions. This should wrap a few turns of insulated wire around the bottom, followed by the stripped wire. There should be a single layer of wire, with no spaces between turns. If you make a mistake connecting a wire, remove it completely and start again. Place the unwrapping end of the tool on the pin and turn counter-clockwise. The wire should slide o. An unwrapped wire should not be re-wrapped. Use dierently-colored wire to group signals. For example, make the data lines in this lab green, the address lines orange, and the control signals red. It is easy to forget that when you Wire-Wrap, the chip's pins appear as the mirror image of the usual pinout diagram. The best solution is to use a Wrap-ID, something that ts over the Wire-Wrap pins with the (correctly mirrored) pinout written on it. Such a Wrap-ID is printed on Page 5 cut it out, and carefully push it down on the pins before you start wiring your W24512AK. A few hints on wirewrapping: Always use Wrap-IDs. We will always provide you with Wrap-IDs, but if you ever need to wire wrap something and you don't have one, make one. Be neat. Although it is dicult to produce perfectly pristine connections, you should keep the wires as at and as neet as possible. Messy wirewrap is much harder to debug, and is less reliable. Check for wire fragments. It is quite possible to have a little piece of wire fall down and short out two pins. Look carefully at the wires to make sure this does not happen. Inspect each connection after you make it, to insure it is to the right place and that the connection is solid. If you have a digital multimeter 1, use it to check each connection after you make it. 4 SRAMs An SRAM (Static RAM) is a standard form of digital storage. It is generally faster, simpler, and more expensive then DRAM (Dynamic RAM). SRAMS are nice when one needs to store a moderate but not excessive amount of data, and needs to retrieve it quickly. The W24512AK you use is a high speed SRAM. It takes only 15 nanoseconds for an address to produce output data, and comes in a standard DIP package. Their electrical interface is simple: have. 1 If you don't, inexpensive ones are available at Radio Shack. You probably should buy one, they are good things to

October 8, 1998 Lab 7 Wire-Wrap and SRAMS 3 eight data pins, for input and output address input pins. The W24512AK, a 2 16 = 65536-byte part, has 16 address pins. an active-low and an active high chip enable inputs ( and ), and an active-low output enable input () an active-low write enable (). power () and ground () pins In normal operation should be tied high. The input should be low to enable the chip. If is high and is low, the output lines always reect the contents of the location specied by the address lines: change the address and the output will change. If is low, the data at the address will change to reect the data input. 1 32 2 31 5 3 4 5 6 7 8 9 10 11 12 13 14 15 16 30 29 28 27 26 25 24 23 22 21 20 19 18 17 D0 72 D1 70 D2 69 D3 68 D4 67 D5 66 D6 65 D7 62 14 41 10 7 5 4 3 84 83 82 81 80 79 78 77 71 60 5 61 Figure 2: W24512AK Pinout(top view) and pins on the Xilinx 4.1 Testing the SRAM Wiring There are generally two ways to test a memory, by producing specic patterns, or by a brute force approach. A set of specic patterns would test each wire a line at a time, to insure the output is correct. Brute force simply checks all possible values. For this lab, we recommend the brute force approach, as it is easier to implement. We provide a bit le Wvlib/cs150/lab7.bit which tests the SRAM, but you should also build your own version. In addition to the wire wraps made to connect the SRAM, you need to connect the spare button to pin 58 and ground, so that you can use it in your design. We provide a datapath for your test circuit Wvlib/cs150/sch/lab7.1, but no control logic. The datapath is fairly straghtforward. It consists of a 16 bit counter and an 8 bit LFSR. The lower 16 bits of the counter address the SRAM, and the LFSR data is output to the SRAM (write cycle) when the.l,.h, and.l signals are asserted. When the.l signal is deasserted and.l,.l,.h are asserted, the contents of the SRAM are read in (read cycle), and compared with the contents of the LFSR. These counters and ip ops have a synchronous reset, so reset must be high and the clock must come to reset them. Your controller should write every memory location, and then read back all memory locations. It should clock the LFSR and the counter, to increment both the address and the LFSR. To write data,.l should rst be deasserted (high), and after the address is stable, then on the NEXT clock cycle,

4 Lab 7 Wire-Wrap and SRAMS October 8, 1998 assert the.l line (low). Once all the memory is full, both the counter and LFSR should be reset, and.l should be asserted (low), then the data in the SRAM should be read back out of memory, and compared with the LFSR value. If the data is dierent atany time, you should assert ERROR and stop operation. Otherwise, just repeat the test forever. The reset button should reset your controller. Note that the TA pinout le lab7.1 takes care of all of the pinouts for you. The and signals are inverted before being output, so your internal design can use.h and.h which are asserted high. (I.e. The internal signals =1, =0 when you want to read the RAM and =1, =0 when you want to write to the RAM.)

October 8, 1998 Lab 7 Wire-Wrap and SRAMS 5 Name: Name: Lab Section (Check one) M: AM PM T: AM PM W: AM PM Th: PM 5 Checkos 1. At the START of lab session, show your TA your wiring, which you did before lab. SRAM wired to Xilinx (neatly for full credit) TA: (20%) 2. Show your TA your controller for the SRAM circuit, which you entered before lab. At the START of lab session, show your TA your simulation results for a write cycle and a read cycle, showing,, CNTR-CE (enable signal of the address counter), LFSR-CE(enable signal of the LFSR), and ERROR. SRAM test circuit TA: (25%) 3. Verify the SRAM is working by using the TA provided bit le. SRAM Tested TA: (20%) 4. Verify the SRAM is working by using your design. SRAM Tested TA: (25%) 5. Full. understanding of SRAM TA: (10%) 6. Turned in on time TA: (100%)(full credit) 7. Turned in one week late TA: (50%)(half credit)...cut Here......... 5 5 5