Lecture 17 PicoBlaze I/O & Interrupt Interface

Slides:



Advertisements
Similar presentations
Lecture 16 PicoBlaze Instruction Set & Assembler Directives
Advertisements

Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati.
PicoBlaze CPLD Microcontroller
ECE 448 – FPGA and ASIC Design with VHDL Lecture 13 PicoBlaze I/O & Interrupt Interface.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 15 External SRAM.
6. The CPU and Memory Chapt. 7.
ECE/CS-352: Embedded Microcontroller Systems Embedded Microcontroller Systems.
Lecture 9 RTL Design Methodology Sorting Example.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 12 PicoBlaze Overview.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 12 PicoBlaze Overview.
Introduction to Experiment 7 Sorting Using PicoBlaze ECE 448 Spring 2010.
The FPX KCPSM Module Exercise 1 Henry Fu The FPX KCPSM Module Exercise: Network Data Encryption / Decryption Using ROT13 Algorithm Henry Fu Washington.
ECE 448 – FPGA and ASIC Design with VHDL Lecture 19 PicoBlaze Interrupt Interface & Assembly Code Development.
Instructor: Oluwayomi Adamo Digital Systems Design.
CDA 4253 FPGA System Design PicoBlaze Instruction Set Hao Zheng Comp Sci & Eng U of South Florida.
ENEE 440 Chapter PPI 8255 Register Select -CS A1 A0 REGISTER R/W PORT A R/W PORT B R/W PORT C R/W CR W 1 X X8255 NOT.
CDA 4253 FPGA System Design The PicoBlaze Microcontroller
ECE 448: Lab 6 Using PicoBlaze Fast Sorting. Part 1: Introduction to Lab 6 Part 2: Instruction Set of PicoBlaze-6 Part 3: Hands-on Session: OpenPICIDE.
Picoblaze Overview EENG Introduction 8-bit microcontroller for Xilinx devices Soft Core – Soft Processor 5% of the resources of spartan 3 (3S200.
Lecture 13 PicoBlaze I/O & Interrupt Interface Example of Assembly Language Routine ECE 448 – FPGA and ASIC Design with VHDL.
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
Introduction to Experiment 7 Replacing Hardwired Control Unit with the Picoblaze Microcontroller ECE 448 Spring 2009.
CDA 4253 FPGA System Design PicoBlaze Interface Hao Zheng Comp Sci & Eng U of South Florida.
Programmable Keyboard/Display Interface contains the following features: Simultaneous and independent scanning of a keyboard and refresh.
George Mason University Finite State Machines Refresher ECE 545 Lecture 11.
CDA 4253 FPGA System Design PicoBlaze Interface Hao Zheng Comp Sci & Eng U of South Florida.
Lecture 18 PicoBlaze Instruction Set & Assembler Directives
Temperature Measurement
Class Exercise 1B.
RTL Design Methodology Transition from Pseudocode & Interface
Hash Function Performance Metrics
Lecture 15 PicoBlaze Overview
Revision Name __________ Student number______
Sega Dreamcast Visual Memory Unit FPGA Implementation
8085 Microprocessor Architecture
RTL Design Methodology
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Advisor: Prof. Gandhi Puvvada
Lecture 14 PicoBlaze Overview
Lecture 16 PicoBlaze I/O & Interrupt Interface
Lecture 16 PicoBlaze Overview
Introduction to ModelSim Implementing Sequential
Advisor: Prof. Gandhi Puvvada
Lecture 18 PicoBlaze I/O Interface
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
ECE 3430 – Intro to Microcomputer Systems
RTL Design Methodology
ECE 448: Lab 6 Using PicoBlaze Fast Sorting Class Exercise 2.
Review of Aldec Active HDL Implementing Combinational
Finite State Machines Experiment 4 Introduction
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Data Flow Modeling of Combinational Logic
Lecture 13 PicoBlaze I/O & Interrupt Interface
8085 Microprocessor Architecture
Stack Relative Deferred (sf) Indexed (x) Stack Indexed (sx)
Stack Relative Deferred (sf) Indexed (x) Stack Indexed (sx)
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Data Flow Description of Combinational-Circuit Building Blocks
Lecture 15 PicoBlaze I/O & Interrupt Interface
Lecture 13 PicoBlaze I/O & Interrupt Interface
Data Flow Description of Combinational-Circuit Building Blocks
RTL Design Methodology
RTL Design Methodology Transition from Pseudocode & Interface
8085 Microprocessor Architecture
RTL Design Methodology Transition from Pseudocode & Interface
RTL Design Methodology
RTL Design Methodology Transition from Pseudocode & Interface
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL code ECE 448 – FPGA and ASIC Design.
Lecture 14 PicoBlaze Instruction Set
Presentation transcript:

Lecture 17 PicoBlaze I/O & Interrupt Interface ECE 448 – FPGA and ASIC Design with VHDL

ECE 448 – FPGA and ASIC Design with VHDL Required reading P. Chu, FPGA Prototyping by VHDL Examples Chapter 16, PicoBlaze I/O Interface Chapter 17, PicoBlaze Interrupt Interface ECE 448 – FPGA and ASIC Design with VHDL

Syntax and Terminology Syntax Example Definition sX KK PORT(KK) PORT((sX)) RAM(KK) s7 ab PORT(2) PORT((sa)) RAM(4) Value at register 7 Value ab (in hex) Input value from port 2 Input value from port specified by register a Value from RAM location 4

Addressing modes Immediate mode ADDCY s2, 08 s2 + 08 + C  s2 SUB s7, 7 Direct mode INPUT s5, 2a ADD sa, sf PORT(2a)  s5 sa + sf  sa Indirect mode INPUT s9, (s2) STORE s3, (sa) PORT((s2))  s9 s3  RAM((sa))

Output Decoding of Four Output Registers ECE 448 – FPGA and ASIC Design with VHDL

- - Output Instructions C Z OUTPUT OUTPUT sX, KK PORT(KK) <= sX DIR OUTPUT sX, (sY) PORT((sY)) <= sX DIR IND

Timing Diagram of an Output Instruction ECE 448 – FPGA and ASIC Design with VHDL

Truth Table of a Decoding Circuit ECE 448 – FPGA and ASIC Design with VHDL

- - Input Instructions C Z INPUT INPUT sX, KK sX <= PORT(KK) DIR INPUT sX, (sY) sX <= PORT((sY)) DIR IND

Block Diagram of Four Continuous-Access Ports ECE 448 – FPGA and ASIC Design with VHDL

Timing Diagram of an Input Instruction ECE 448 – FPGA and ASIC Design with VHDL

Block Diagram of Four Single-Access Ports ECE 448 – FPGA and ASIC Design with VHDL

ECE 448 – FPGA and ASIC Design with VHDL FIFO Interface clk rst clk rst FIFO din dout 8 8 full empty write read ECE 448 – FPGA and ASIC Design with VHDL

Operation of the First-Word Fall-Through FIFO ECE 448 – FPGA and ASIC Design with VHDL

Operation of the “Standard” FIFO B C D −−−−− ECE 448 – FPGA and ASIC Design with VHDL

ECE 448 – FPGA and ASIC Design with VHDL Interrupt Flow ECE 448 – FPGA and ASIC Design with VHDL

Timing Diagram of an Interrupt Event ECE 448 – FPGA and ASIC Design with VHDL

ECE 448 – FPGA and ASIC Design with VHDL

Interrupt Related Instructions RETURNI ENABLE PC <= STACK[TOS] ; TOS <= TOS – 1; I <= 1; C<= PRESERVED C; Z<= PRESERVED Z RETURNI DISABLE I <= 0; C<= PRESERVED C; Z<= PRESERVED Z ENABLE INTERRUPT I <=1; DISABLE INTERRUPT I <=0;

Interrupt Interface with a Single Event ECE 448 – FPGA and ASIC Design with VHDL

Interrupt Interface with Two Requests ECE 448 – FPGA and ASIC Design with VHDL

Time-Multiplexed Seven Segment Display ECE 448 – FPGA and ASIC Design with VHDL

Block Diagram of the Hexadecimal Time-Multiplexing Circuit ECE 448 – FPGA and ASIC Design with VHDL

ECE 448 – FPGA and ASIC Design with VHDL Hexadecimal Multiplexing Circuit Based on PicoBlaze and mod-500 Counter ECE 448 – FPGA and ASIC Design with VHDL