Checkpoint 3 To Do Hints General Debugging. To Do: Before Lab Plan layout of chips Wire sync separator, A/D, op amp and RC network Enter and simulate.

Slides:



Advertisements
Similar presentations
Shift Registers Module M11.1 Section 7.3.
Advertisements

Registers and Counters
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
EECS150 Lab Lecture #61 AC97 PCM Audio EECS150 Fall 2007– Lab Lecture #6 Udam Saini 10/05/2007.
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
Serial I/O - Programmable Communication Interface
Introduction to electronics lab ENGRI 1810 Using: Solderless prototype board (white board) Digital multimeter (DMM) Power Supply Signal Generator Oscilloscope.
Local Trigger Control Unit prototype
Synchronized Strobe for Video Camera
Motion Tracking Recorder 360 (MTR-360) Group #1 Lee Estep Philip Robertson Andy Schiestl Robert Tate.
Project Check-off 2 UART Design Jeffrey Tsai. Project Thus Far FIFO SRAM UART IN UART OUT Main Control FSM Collision Audio In interface Audio Out interface.
L14 – Control & Execution 1 Comp 411 – Fall /04/09 Control & Execution Finite State Machines for Control MIPS Execution.
[M2] Traffic Control Group 2 Chun Han Chen Timothy Kwan Tom Bolds Shang Yi Lin Manager Randal Hong Wed. Oct. 27 Overall Project Objective : Dynamic Control.
CS150 Project Checkpoint 2 CheckPt2 is easy!!! BUT………………. This lab can be very tricky. BUT……………… Mark is here to help! You get to listen to cool.
[M2] Traffic Control Group 2 Chun Han Chen Timothy Kwan Tom Bolds Shang Yi Lin Manager Randal Hong Mon. Nov. 11 Overall Project Objective : Dynamic Control.
Lab 5 Shift Registers and Counters Presented By Neha Kumar but while we wait for that to happen…
Video Interface Jeffery Tsai Sammy Sy And pretty much everything else too…. CS 150 CHECKPOINT 3.
LAB 3 Finite State Machines On Xilinx Mike Lowey.
Shift Registers and Counters By Lakshmi Things that appear hard are normally trivial, If you do the obvious in the obvious way. After all, how “tough”
L15 – Control & Execution 1 Comp 411 – Spring /25/08 Control & Execution Finite State Machines for Control MIPS Execution.
Project Check Point 3 Audio Interface Jeff Du. Overview Project specs and overview next Tue. Mid-term next Thurs. This audio interface lab is REALLY easy.
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
[M2] Traffic Control Group 2 Chun Han Chen Timothy Kwan Tom Bolds Shang Yi Lin Manager Randal Hong Mon. Nov. 24 Overall Project Objective : Dynamic Control.
Check 2 - PWM Announcements Overview LED Board PWM What’s due: Prelab Lab.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Pulse Width Modulation (PWM) LED Dimmer Circuit
E102 LAB Temperature Control of Heated Block. Temperature Controller Specifications Design, simulate and test a control system for temperature control.
Pulse Width Modulation (PWM) LED Dimmer Circuit
Memory Technology “Non-so-random” Access Technology:
SDR Test bench Architecture WINLAB – Rutgers University Date : October Authors : Prasanthi Maddala,
7/23 Timers in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee (480)
8254 Counter/Timer Counter Each of the three counter has 3 pins associated CLK: input clock frequency- 8 MHz OUT GATE: Enable (high) or disable.
Advanced Digital Circuits ECET 146 Week 7 Professor Iskandar Hack ET 221B,
By: Daniel BarskyNatalie Pistunovich Supervisors: Rolf HilgendorfInna Rivkin.
Founder’s Day University of Portland School of Engineering.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
LAB #2 Xilinix ISE Foundation Tools Schematic Capture “A Tutorial”
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
Register Transfer Level & Design with ASM
Advanced Digital Circuits ECET 146 Week 6 Professor Iskandar Hack ET 221G, Me as I typed this slides.
IT253: Computer Organization Lecture 9: Making a Processor: Single-Cycle Processor Design Tonga Institute of Higher Education.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
MicroComputer Engineering DigitalCircuits slide 1 Combinational circuits Changes at inputs propagate at logic speed to outputs Not clocked No internal.
BR 1/991 DataPath Elements Altera LPM library has many elements useful for building common datapath functions –lpm_ram_dq - recommended for either asynchronous.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Teaching Digital Logic courses with Altera Technology
HCC Derived Clocks. Generated Clocks The HCC generates two clocks from the ePLL 160 MHz clocks and the chip 40 MHz clock, used as a reference: An 80 MHz.
EECS 373 – lecture 4 Buses, serial communication and digital design.
DspBlk Aim: Capture and simulate dspBlk element ISE Project : appliedVHDL.ise provides access to all constituent files This document contains: EE427 submission.
— Analog Devices Confidential Information — Applications Issues 1.
Everybody.
The 8085 Microprocessor Architecture
Control & Execution Finite State Machines for Control MIPS Execution.
The 8085 Microprocessor Architecture
MEMORY/SRAM SIMULATOR LAB
Lab 3 Finite State Machine On Xilinx
Process of Debugging a Circuit
Logic Analyzers EECS150 Fall Lab Lecture #5 Arjun Singh
LAB #2 Xilinix ISE Foundation Tools Schematic Capture “A Tutorial”
22 October 3 classes before 2nd exam! Control 1/16/2019
The 8085 Microprocessor Architecture
The SDRAM Controller EECS150 Fall Lab Lecture #8 Chen Sun
Logic Analyzers EECS150 Fall Lab Lecture #5 Arjun Singh
Applications Issues.
Applications Issues.
Presentation by Anthony Dotterer
Presentation transcript:

Checkpoint 3 To Do Hints General Debugging

To Do: Before Lab Plan layout of chips Wire sync separator, A/D, op amp and RC network Enter and simulate FSM to store one video frame in SRAM (either 196x210 or 14x10)

Video Signal

Begin frame: “Wait 17 horizontal periods after vertical sync. goes low.” –VBLANK.H = active high VERT_SYNC Begin row: “Wait 9.5 usec after composite sync. goes low” –9.5 usec = 4.7 usec usec Ex: 52.4 usec / 14 = sample every 3.75 usec Ex: 241 lines / 10 = sample every 24 lines

From wvlib\cs150\check3.sch

Two Cycle Write 52.4 usec / 196 = 0.27 usec 10 MHz CLK = 0.1 usec per cycle Only have 1/2 cycle for stable ADDR CLK WEWE_OUT OFD_1 OPADDQ LOC=P14

OE, UART_OE, AD_OE Now have three registers on D bus Add separate UART_OE. Change: Old lab9pinout.schChange lab9pinout.sch:

OE, UART_OE, AD_OE, cont. Add OFD to OE (if you haven’t already) Add AD_OE (already in check3.sch):

Processing A/D data While reading A/D: send directly to SRAM During PWM: shift from 8 bit to 5 bit Also, adjust to min/max A/D values

To Do: In Lab Test camera on television Look at video signal on oscilloscope Test bit file u:wvlib\cs150\check3.bit

To Do: Check Your Circuit View comp. sync. and WE –should see 14 or 196 WE per comp.sync. View vert. sync., WE and ROW_INC –should see WE pulse block between syncs. –should see 10 or 210 ROW_INC per vert sync.

To Do: Checkoffs Valid comp. and vert. sync. from LM1881 Show A/D CLK and D[7:0] and SRAM WE on oscilloscope

Hints Save CLBs: remove LED_BLOCK, ROM Modularize each FSM: reset, enable, done: UART_RESET UART_ENABLE CLK SERIAL_CLEAN RESET ENABLE CLK SERIAL_CLEAN DONE DATA[7:0] UART_DONE UARTDATA[7:0] CLK NS0PS0 FDRE DQ ENABLECE RESETR

General Debugging Get simplest part working: Example: checkpoint 2 –Light up all LEDs on row 3 –Light up all LEDs with intensity 16 –receive one byte from PTEST.EXE (^A = 0x01) and light up all LEDs

General Debugging Implementation log: –“No load on xxx” is OK –“No driver on xxx” not OK “I can’t find the part giving the error!”: –1. Make a copy of schematics –2. Rip out sections and re-implement until error goes away –3. Add sections back in: ISOLATE.

General Debugging Don’t assume equipment works: –“This pin is always zero”: Does the oscilloscope even work? Try touching +5V –“My RS232 Rout has no output”: Does it have an input? Is anything coming down the serial cable? (Test just the serial cable (after testing your scope probe on +5V (after testing that your power supply puts out +5V)))

General Debugging Make the simulation work first Use NUMLED1 to watch counters Make a new counter and watch on NUMLED1 Use the oscilloscope! –Send signals to ERROR, NUMLED1 pins –Use “single” trigger to catch event

General Debugging Make sure you read about Xilinx part before you use it. (Ex: CD8RE) Read the newsgroup –(If you don’t know how, you’re an engineer: Find out) SIMPLIFY and ISOLATE