390 likes | 534 Vues
EEL-4746 Microprocessor-based System Design. Fall 2004 Semester Dr. Michael P. Frank. Announcements. Announcements FSU First-Day Mandatory Attendance Policy ECE Course Prerequisite Policy ECE Academic Dishonesty Policy Today’s Agenda. Today’s Agenda.
E N D
EEL-4746 Microprocessor-based System Design Fall 2004 Semester Dr. Michael P. Frank
Announcements • Announcements • FSU First-Day Mandatory Attendance Policy • ECE Course Prerequisite Policy • ECE Academic Dishonesty Policy • Today’s Agenda
Today’s Agenda • EEL-4746 Course Outline and Objectives • EEL-4746 Best Practices • EEL-4746 Software Distribution • Design Methodology • Design Abstraction • EEL-4746 Microprocessor-based System Design • Review of Digital Logic Design
4746 Best Practices Or, How do you get an A in this class?
Definition:System Design Process • Requirements Specification • Conceptualization • Analysis • Synthesis • Verification • Documentation Iteration
4746: System Design Process • Requirements Specification • Given by me: HW, Project, Exam, etc. • Conceptualization • Developed by you and your group • Iteration Design Cycle • Write Program • Compile Program • Debug Compilation Errors • Examine output results • Debug Logical Errors • Examine hardware results • Debug Hardware Errors Iteration
4746: System Design Process • Documentation • “Digitally dropped” into Blackboard Site This could take one hour or thirty hours depending on your skills. I will help you avoid “landmines”
Homework Assignments • Two weeks to complete an assignment • No excuse for: network down, printer out of toner, computer locks up, etc. • HW assignments will “overlap” • Average one assignment due every 1 ½ weeks. • HW’s will build upon one another • You may use solutions from previous HW’s • Homework assignments will be customized • Solutions will be given for a “general” problem • You must have working program for full credit
Homework Assignments • HW’s are “self-correcting” for the “right answer”. • I’ll check for the “correct” solution. • HW must be on time • Digital Drop Box (time stamped) • Both you and your partner must digitally submit • Only one copy of handwritten notes needed.
Design Projects • Design projects DO NOT replace regular homework assignments. • You may have both due during the same week. • Hardware MUST work for more than ½ credit
Quizzes • Designed to “keep you awake.” • Mostly group quizzes • Some individual quizzes • No make-up quizzes will be given • Used to monitor attendance • I will drop the three lowest quiz grades
Course Notes • All slides will be available online • Exam, HW, and Quiz solutions online
EEL-4746Best Practices • Keep up with the course!!! • Complete the Assignments!!! • You will be allowed to work in groups, but
EEL-4746Best Practices The only way to learn to code in Assembly Language is to code in Assembly Language.
EEL-4746Best Practices In other words,practice makes perfect.
THRSIM11 • MS Windows based 68HC11 simulator • Text Editor • Cross Assembler • Disassembler • Software Simulator • Simulate Hardware • Target Board Downloader • Target Board Terminal Interface
THRSIM11 • Site license for FAMU-FSU COE students • Download program self-extracting archive from course webpage • Under “Course Library” • Request License File from ECE website • Must make request from FAMU or FSU email domain. • Cannot give license file to another student!
Definition: Engineering Design Methodology • A systematic approach to achieve the desired goal of a solution to the problem (i.e. a working design) using proven principles or practices. • You must follow our 4746 design methodology to get full credit.
“Right Answers” Violates “Best Practices” “Right answer” but not correct solution. “Best Practices Solution” Design Methodology
Design Abstraction How do we “describe” a system?
Y = A Design Abstraction Example: Design a “system” which will complement input A A F(x) where A and Y are single bit values We can “describe” this design using a logical Truth Table
Levels of Design Abstraction Our goal in ECE is physical or hardware implementations of the design. 0 Vcc1 1 5 a1 b1 Hard- Design Design 2 6 a2 b2 ware Process 3 7 a3 b3 Specs 4 8 a4 b4 GND 0 In ECE, we “design” at several levels of “abstraction”
Y = A Levels of Design Abstraction Example: Design a “system” which will complement input A SystemLevel: EEL-4746 (M68HC11) A ASM Code M68HC11 Assembly Language: COMA ; Complement A STAA Y ; Store Accumulator A at Y
Y = A Levels of Design Abstraction Example: Design a “system” which will complement input A BehavioralLevel: EEL-4712 A Not A VHDL code: Y <= not A;
Y = A Levels of Design Abstraction Example: Design a “system” which will complement input A GateLevel: EEL-3705 Digital Logic Design A Inverter Symbol
Y = A Levels of Design Abstraction Example: Design a “system” which will complement input A CircuitLevel: EEL-3300 Electronics I PFET A NFET CMOS Technology
Y = A Levels of Design Abstraction Example: Design a “system” which will complement input A Digital IC Design: EEL-4313 Digital IC Design VDD GND A CMOS Technology
Levels of Design Abstraction Fabrication Level: EEL-4330 Microelectronics Eng
Summary of Levels • “System”: Assembly Language • Behavioral: VHDL • Logical: Gates • Electronic Circuit: Transistors • Integrated Circuit: IC Layout • Fabrication: IC Processing
Summary • All “levels” give you the same result. • We will learn how to use the “system” level to its highest degree of effectiveness.
EEL-4746 Microprocessor-based System Design Begin Actual Course Material
Basic Computer System To I/O CPU: Central Processor Unit I/O: Input/Output Memory: Program and Data Bus: Address signals, Control signals, and Data signals
Microprocessor-Based System To I/O CPU: Central Processor Unit I/O: Input/Output Memory: Program and Data Bus: Address signals, Control signals, and Data signals Microprocessor e.g. Pentium 4
Microcontroller-Based System To I/O CPU: Central Processor Unit I/O: Input/Output Memory: Program and Data Bus: Address signals, Control signals, and Data signals Microcontroller e.g. M68HC11 (Although a microcontroller may access external memory as well.)
EEL-4746 M68HC11 Micro-controller Design We will learn to write M68HC11 Assembly Language Code