Friday’s lecture again. Using E-TDD environment Build the tests you want to pass Build the code Test the code.

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

Topics Introduction Types of Errors Exceptions Exception Handling
Chapter 3: Editing and Debugging SAS Programs. Some useful tips of using Program Editor Add line number: In the Command Box, type num, enter. Save SAS.
How to Correct a Paper English 8 Mr. Rietz 7 May 2015 Helpful Reminder: Read ALL these directions before you do ANYTHING. If you don’t follow them, you.
Blackfin BF533 EZ-KIT Control The O in I/O Activating a FLASH memory “output line” Part 2.
Blackfin BF533 EZ-KIT Control The O in I/O Activating a FLASH memory “output line” Part 3 – New instruction recap Tutorial.
Blackfin BF533 EZ-KIT Control The O in I/O Activating a FLASH memory “output line” Part 2.
Review of Blackfin Syntax Moves and Adds 1) What we already know and have to remember to apply 2) What we need to learn.
More Example Blackfin Code Using the E-UNITTest Framework.
11-Jun-15 Corrections. Pausing I On my HTML page, I said to pause like this: private void interpret(Tree node) { if (stopped) return; if (paused) { try.
Understanding the TigerSHARC ALU pipeline Determining the speed of one stage of IIR filter.
Microprocessor Simulation
Revisions If you received the grade: “R” If you received the grade: “R” You must do a revision to receive a grade for lab 2. You must do a revision to.
Blackfin BF533 EZ-KIT Control The O in I/O Activating a FLASH memory “output line” Part 2.
Blackfin BF533 EZ-KIT Control The O in I/O
Unittest in five minutes Ray Toal How to unit test Not manually, that's for sure You write code that exercises your code Perform assertions.
© Copyright 2006 Riverside Publishing | August Scanning Answer Sheets Click Me! If you have administered your assessments, then you are ready to.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
UCAS Apply The first time you access the UCAS Apply website you will need to Register. To do this you will need the school’s “buzzword”, which, for 2011.
Trial Balance. The information for ledgers comes from balance sheets. -This means it is already in balance. As you make changes to the Ledger, it is possible.
Blackfin Array Handling Part 2 Moving an array between locations int * MoveASM( int foo[ ], int fee[ ], int N);
Edusoft Training for LAUSD © Copyright 2004 Edusoft, Inc. | December Edusoft Training Scanning, Uploading, and Viewing Results.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
CS212: Object Oriented Analysis and Design Lecture 9: Function Overloading in C++
Generating “Rectify( )” Test driven development approach to TigerSHARC assembly code production Assembly code examples Part 1 of 3.
Lecture 4 Programming Technique Programming Appreciation.
BMTRY 789 Lecture 11: Debugging Readings – Chapter 10 (3 rd Ed) from “The Little SAS Book” Lab Problems – None Homework Due – None Final Project Presentations.
Blackfin Array Handling Part 1 Making an array of Zeros void MakeZeroASM(int foo[ ], int N);
CENTURY 21 ACCOUNTING © 2009 South-Western, Cengage Learning LESSON 6-4 Finding and Correcting Errors on the Work Sheet.
CENTURY 21 ACCOUNTING © 2009 South-Western, Cengage Learning LESSON 6-4 Finding and Correcting Errors on the Work Sheet  Finding and correcting errors.
12/14/2015 Concept of Test Driven Development applied to Embedded Systems M. Smith University of Calgary, Canada 1 Automated Testing Environment Concepts.
10/5Special Assembly Anti-Bullying Presentation in Performing Arts Center (PAC)
Day 3. 1) A vocabulary sheet is posted on my main page. You will need to copy the words from the sheet and paste them to your word document. Make sure.
Copyright Ó Oracle Corporation, All rights reserved Debugging Triggers.
Chapter 7 Posting. The T Account Simplified version of ledger account Includes: ▫Account name ▫Debits ▫Credits ▫Dates of transactions ▫Final account total.
Passive Voice and Punctuation In your paper, find two instances of passive voice and re-write these sentences in active voice. Identify one place where.
JAVASCRIPT A quick review. True False ■The DOM is a standardized way of referring to parts of a Web page. ■TRUE ■In the DOM, attributes have their own.
CENTURY 21 ACCOUNTING © 2009 South-Western, Cengage Learning LESSON 6-4 Finding and Correcting Errors on the Work Sheet.
ANSWER SHEET LISTENING (PartⅠ~ Ⅳ) READING (PartⅤ ~ Ⅶ) NO
Use of MPLab software Paul Cockshott.
Chapter 5- Assembling , Linking, and Executing Programs
What do I do with them now?
What to do when a test fails
IOS110 Final Review.
PSP Class Practice 1 MARCIA begins work her program [10:00] by reviewing the requirements in the assignment package, including the test requirements, to.
and Executing Programs
CSC 253 Lecture 8.
Generating the “Rectify” code (C++ and assembly code)
CSC 253 Lecture 8.
Conditions and Ifs BIS1523 – Lecture 8.
Automated Testing Environment
Generating a software loop with memory accesses
Understanding the TigerSHARC ALU pipeline
Handling Arrays Completion of ideas needed for a general and complete program Final concepts needed for Final.
Software Engineering Lecture #13.
Passing Parameters by value
VisualDSP++ and Test Driven Development What happened last lecture?
Getting serious about “going fast” on the TigerSHARC
Explaining issues with DCremoval( )
Handling Arrays Completion of ideas needed for a general and complete program Final concepts needed for Final.
Finding and Correcting Errors on the Work Sheet
Independent timers build into the processor
Blackfin BF533 EZ-KIT Control The O in I/O
The Six-Column Work Sheet
LESSON 6-3 Extending Financial Statement Information on a Work Sheet
Working with the Compute Block
Starter Activities GCSE Python.
Blackfin Syntax Moves and Adds
Parameters and Arguments
Presentation transcript:

Friday’s lecture again

Using E-TDD environment Build the tests you want to pass Build the code Test the code

Using E-TDD environment Using the C++ tests, build the ASM tests (cut and paste is all that is needed) Build the ASM stubs (Makes sure that you can load the load into the processor Test the code stub – program will run but fail the tests as only stubs Build the code Test the code

Build the stub 1 Find the name mangling needed Just build the code VDSP will tell you the necessary name- mangled names Cut and paste the names

Build the stub 2

Expect error messages But not these ones Code review Missing a ; at end of line

Need to learn to READ And listen to assembler That semicolon is not the one that was missing There is one semicolon too many in the define statement

Less errors But I am still not listening to the assembler

Look on reference sheet R0 *= R1; Page 2, column 3

Assembled But failed tests What of GS is happening

Build the ASM test by cut-and-paste

Stubs assemble But unexpected messages

Build the ASM test by cut-and-paste CORRECTLY

Wrong method Incoming parameters – come in R0 Outgoing parameters – go in R0 Return values – go in R0 Same problem on the MIPS