SlideShare a Scribd company logo
Processor IP Cores in FPGA
Presented By
Mr.Nishant S. Nerpagar
Smart Logic Technologies, Pune
smartlogitech@gmail.com
nishantnerpagar123@gmail.com
Prerequisites
 Digital logic Design
 VHDL
 Basic idea about FPGA
What is FPGA
 Configurable Logic Blocks (CLBs) contain flexible
Look-Up Tables (LUTs) that implement logic plus storage elements used as
flip-flops or latches. CLBs perform a wide variety of logical functions as well as
store data.
 • Input/Output Blocks (IOBs) control the flow of data
between the I/O pins and the internal logic of the device. Each IOB supports
directional data flow plus 3-state operation. Supports a variety of signal
standards, including four high-performance differential standards. Double Data-
Rate (DDR) registers are included.
 • Block RAM provides data storage in the form of
18-Kbit dual-port blocks.
 Digital Clock Manager (DCM) Blocks provide
self-calibrating, fully digital solutions for distributing, delaying ,
multiplying, dividing, and phase-shifting clock signals.
Smart logic
I/O Capabilities
• 3.3V low-voltage TTL (LVTTL)
• Low-voltage CMOS (LVCMOS) at 3.3V, 2.5V, 1.8V,
1.5V, or 1.2V
• 3V PCI at 33 MHz, and in some devices, 66 MHz
• HSTL I and III at 1.8V, commonly used in memory
applications
• SSTL I at 1.8V and 2.5V, commonly used for memory
applications
Spartan-3E FPGAs support the following differential standards:
• LVDS
• Bus LVDS
• mini-LVDS
• RSDS
• Differential HSTL (1.8V, Types I and III)
• Differential SSTL (2.5V and 1.8V, Type I)
• 2.5V LVPECL inputs
Smart logic
Spartan 3E
Smart logic
Microcontroller Vs FPGA
 Sequential operations
 not so flexible
 Low power
 Less development
time
 Easy to solder
 Less No of I/O pin
• Parallel or Sequential
operations
• Flexible
• High power
• More development
time
• Complex to solder
• More No of I/O pin
Intellectual properties
Soft IP
Hard IP
Soft IP
 Counters ,
 Flip-flop
 Ram
 Picoblaze
 Microblaze
Hard IP
 Dcm
 Multipliers
 Blockram
 Power -pc
 Have a fun with all
Intellectual properties in
Xilinx ISE
 Can we use assembly
language for FPGA ?
Smart logic
Key Feature Set
• 16 byte-wide general-purpose data registers
• 1K instructions of programmable on-chip program
store, automatically
loaded during FPGA configuration
• Byte-wide Arithmetic Logic Unit (ALU) with CARRY
and ZERO
indicator flags
• 64-byte internal scratchpad RAM
• 256 input and 256 output ports for easy expansion
and enhancement
• Automatic 31-location CALL/RETURN stack
• Predictable performance, always two clock cycles per
instruction,
up to 200 MHz or 100 MIPS in a Virtex-4™ FPGA and 88 MHz
or 44 MIPS in a Spartan-3 FPGA
• Fast interrupt response; worst-case 5 clock cycles
• Assembler, instruction-set simulator support
Smart logic
Output from picoblaze
Input to picoblaze
Smart logic
 Have a fun with all
picoblaze
 Can we use C language
for FPGA ?
Smart logic
Microblaze Overview
 Microblaze is a soft core embedded in the bit
stream and is not available until the FPGA has
been configured.
 Software-only; updates for Microblaze are
possible without regenerating the bit stream.
 Is one of the Fastest soft processor
 Virtex- 5 (- 2), 400 MHz
 Virtex- II (- 5), 125 MHz
 Is supported in the following Devices,
 Virtex, VirtexE, VirtexII, Spartan- II, Spartan3
Smart logic
Smart logic
Smart logic
Microblaze - Architecture
 Thirty-two 32-bit general purpose registers.
 Separate 32-bit instruction and data buses OPB (On-chip
Peripheral Bus).
 Separate 32-bit instruction and data buses LMB (Local
Memory Bus).
 Hardware multipliers (in Virtex-II and subsequent devices).
 Three stage pipeline architecture : Fetch, Decode and
Execute.
MicroBlaze - Architecure
 The Microblaze core is organized as a Harvard architecture
with separate bus interface units for data accesses and
instruction accesses.
 Each bus interface unit is further split into a Local Memory
Bus (LMB) and IBM’s On-chip Peripheral Bus (OPB).
 The LMB provides single-cycle access to on-chip dual port
block RAM.
 The OPB interface provides a connection to both on and
off chip peripherals and memory.
Smart logic
Embedded Development
Tool Flow Overview
Data2MEM
Bitstream
Compiler/Linker
(Simulator)
C Code
Debugger
Standard Embedded SW
Development Flow
CPU code in
on-chip
memory
?
CPU code in
off-chip
memory
Download to Board & FPGA
Object Code
Standard FPGA HW
Development Flow
Synthesizer
Place & Route
Simulator
VHDL/Verilog
?
Download to FPGA
EDK
 The Embedded Development Kit (EDK) consists of
the following:
 Xilinx Platform Studio – XPS
 Base System Builder – BSB
 Creating/Importing IP Wizard
 Hardware generation tool – PlatGen
 Library generation tool – LibGen
 Simulation generation tool – SimGen
 GNU software development tools
 System verification tool – XMD
 Processor IP
 Drivers for IP
 Documentation
 Use the GUI or the shell command tool to run the
EDK tool
Microblaze : Area Statistics
 Area consumed by Microblaze. For a simple 8-
bit counter written in “C” with the counter
contents being displayed on LEDs,
the details of the FPGA resources consumed
are as follows: -
 Device Used SPARTAN II (XC2S100 TQ144 -
5)
 Number of BLOCKRAMs 4 out of 10 40%
 Number of SLICEs 769 out of 1200
64%
 737 SLICES FOR MICROBLAZE
 32 SLICES FOR One GPIO
 Total 769 SLICES of FPGA
MicroBlaze - Benefits
The Complete Solution
 Pre-verified and optimized
soft processor Core.
 IBM CoreConnectTM bus
Peripherals compatible with
embedded PowerPCTM in
Xilinx next generation
Platform.
 Microblaze applications can
range from software based
simple state machines to
complex controllers for
internet appliances or other
embedded applications.
MicroBlaze
32 Bit RISC
On Chip Peripheral Bus
BRAM
GPIO
LMB
UART Timer
Interrupt
Controller
OPB
EMAC
10/100
Ethernet Phy
IIC/SPI
MicroBlaze :System Application
MicroBlaze - System Diagram
Off-Chip
Memory
0-4GB
Off-Chip
Memory
0-4GB
Machine Status Reg
Program Counter
DataBusController
Register File
32 x 32bit
r0
r1
r3
1Address
side
LMB
CoreConnect
OPB I/F
CoreConnect
OPB I/F
TM TM
Data Side
LMB
UART
Timer /
Counters
Interrupt
Controller
General
Purpose I/O
Watchdog
Timer
Instruction Buffer
InstructionBusController
Control Unit
Multi
ply
Multi
ply
Add /
Subtract
Shift /
Logical Multiply
PROCESSOR
PERIPHERALS
I-LMB
I-OPB D-OPB
D-LMB
Soft Processors
 Soft processor is an implementation of a microprocessor circuit
using a standard FPGA.
Features:
 No dedicated silicon.
 Highly flexible.
Advantages
 Integration - Less IC’s on your board.
 Modifiable / Customizable
 Your system in silicon - nothing more, nothing less.
 Performance -
 Some functions are easier to implement in software.
 Processor intensive functions can be Off- Loaded to hardware
integration.
Advantages - continued
 Soft processor cores can be ‘owned’ by the
customer and used across many projects –
never going obsolete!
 No IP / License issues
 Peripherals can be added to make up the
required functions
 No wastage of peripherals or logic gates!
 Code and peripheral ‘banks’ can be built up
and used across many projects over time.
 Have a fun with all
Microblaze
Our FPGA Kit
Plug in module
Smart logic
Plug in module
 XC3S250E-4PQG208C
 XC3S500E-4PQG208C
 XC2C128_TQ144
 XC6SLX9_TQFP144
 XC6SLX25_-3FTG256
SPARTAN 6
Input / Output kit
Smart logic
 nishantnerpagar123@gmail.com
 9420839857
Thanks……….!
 nishantnerpagar123@gmail.com
 9420839857

More Related Content

PPTX
Xilinx fpga cores
PPTX
PPTX
Implementation of Soft-core Processor on FPGA
PPTX
Implementation of Soft-core processor on FPGA (Final Presentation)
PPTX
FPGA TECHNOLOGY AND FAMILIES
PDF
Training Lecture
PPT
The Microarchitecure Of FPGA Based Soft Processor
PDF
Security issues in FPGA based systems.
Xilinx fpga cores
Implementation of Soft-core Processor on FPGA
Implementation of Soft-core processor on FPGA (Final Presentation)
FPGA TECHNOLOGY AND FAMILIES
Training Lecture
The Microarchitecure Of FPGA Based Soft Processor
Security issues in FPGA based systems.

What's hot (20)

PPTX
SoC FPGA Technology
PDF
Design of LDPC Decoder Based On FPGA in Digital Image Watermarking Technology
PDF
SOC Interconnects: AMBA & CoreConnect
PPT
Hard ip based SoC design
PPT
FPGA Configuration
PPT
Fpga technology
PDF
FPGA_Overview_Ibr_2014
PDF
SOC Processors Used in SOC
PDF
CFD acceleration with FPGA (byteLAKE's presentation from PPAM 2019)
PDF
SOC Peripheral Components & SOC Tools
PPT
Introduction to fpga synthesis tools
PPT
FPGA Intro
PPTX
An Automatic Generation of NoC Architectures: An Application-Mapping Approach
PDF
Cpld fpga
PPT
3rd Lecture
PPT
An Overview on Programmable System on Chip: PSoC-5
PPTX
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
PPTX
Xilinx virtex 7 fpga - Semester Presentation
PDF
Developing an embedded video application on dual Linux + FPGA architecture
PPTX
Asic vs fpga
SoC FPGA Technology
Design of LDPC Decoder Based On FPGA in Digital Image Watermarking Technology
SOC Interconnects: AMBA & CoreConnect
Hard ip based SoC design
FPGA Configuration
Fpga technology
FPGA_Overview_Ibr_2014
SOC Processors Used in SOC
CFD acceleration with FPGA (byteLAKE's presentation from PPAM 2019)
SOC Peripheral Components & SOC Tools
Introduction to fpga synthesis tools
FPGA Intro
An Automatic Generation of NoC Architectures: An Application-Mapping Approach
Cpld fpga
3rd Lecture
An Overview on Programmable System on Chip: PSoC-5
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Xilinx virtex 7 fpga - Semester Presentation
Developing an embedded video application on dual Linux + FPGA architecture
Asic vs fpga
Ad

Viewers also liked (6)

PPTX
مشروع 4
PDF
SoC~FPGA~ASIC~Embedded
DOC
مشروع4
PPTX
The comparison between FPGA , ARDUINO , ASIC
PPTX
What is FPGA?
PPT
مشروع 4
SoC~FPGA~ASIC~Embedded
مشروع4
The comparison between FPGA , ARDUINO , ASIC
What is FPGA?
Ad

Similar to Smart logic (20)

PPTX
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
PPT
FPGA and ASIC technologies comparison.ppt
PPTX
PDF
Introduction to FPGA, VHDL
PPTX
Microcontroller from basic_to_advanced
PPSX
Spartan-II FPGA (xc2s30)
PDF
Nios2 and ip core
PDF
Introduction to intel galileo board gen2
PPTX
UNIT 5 FPGA DESIGN r16.pptx UNIT 5 FPGA DESIGN r16.pptx
PPT
L12 programmable+logic+devices+(pld)
PPT
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
PPT
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
PPTX
Cpld and fpga mod vi
PPTX
Shoftcore Processors
PDF
An introduction to FPGAs and Their MPSOCs
PPT
nios.ppt
PPTX
Rasberry pie--- power point presentation
RTF
4_BIT_ALU
PPT
Overview of ST7 8-bit Microcontrollers
PPTX
Ppt on six month training on embedded system & IOT
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
FPGA and ASIC technologies comparison.ppt
Introduction to FPGA, VHDL
Microcontroller from basic_to_advanced
Spartan-II FPGA (xc2s30)
Nios2 and ip core
Introduction to intel galileo board gen2
UNIT 5 FPGA DESIGN r16.pptx UNIT 5 FPGA DESIGN r16.pptx
L12 programmable+logic+devices+(pld)
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
Cpld and fpga mod vi
Shoftcore Processors
An introduction to FPGAs and Their MPSOCs
nios.ppt
Rasberry pie--- power point presentation
4_BIT_ALU
Overview of ST7 8-bit Microcontrollers
Ppt on six month training on embedded system & IOT

Recently uploaded (20)

PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
DOCX
573137875-Attendance-Management-System-original
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Geodesy 1.pptx...............................................
PPTX
web development for engineering and engineering
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
PPT on Performance Review to get promotions
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Sustainable Sites - Green Building Construction
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
bas. eng. economics group 4 presentation 1.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
573137875-Attendance-Management-System-original
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Geodesy 1.pptx...............................................
web development for engineering and engineering
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
R24 SURVEYING LAB MANUAL for civil enggi
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPT on Performance Review to get promotions
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Embodied AI: Ushering in the Next Era of Intelligent Systems
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Lecture Notes Electrical Wiring System Components
Sustainable Sites - Green Building Construction
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT

Smart logic

  • 1. Processor IP Cores in FPGA Presented By Mr.Nishant S. Nerpagar Smart Logic Technologies, Pune smartlogitech@gmail.com nishantnerpagar123@gmail.com
  • 2. Prerequisites  Digital logic Design  VHDL  Basic idea about FPGA
  • 3. What is FPGA  Configurable Logic Blocks (CLBs) contain flexible Look-Up Tables (LUTs) that implement logic plus storage elements used as flip-flops or latches. CLBs perform a wide variety of logical functions as well as store data.  • Input/Output Blocks (IOBs) control the flow of data between the I/O pins and the internal logic of the device. Each IOB supports directional data flow plus 3-state operation. Supports a variety of signal standards, including four high-performance differential standards. Double Data- Rate (DDR) registers are included.  • Block RAM provides data storage in the form of 18-Kbit dual-port blocks.  Digital Clock Manager (DCM) Blocks provide self-calibrating, fully digital solutions for distributing, delaying , multiplying, dividing, and phase-shifting clock signals.
  • 5. I/O Capabilities • 3.3V low-voltage TTL (LVTTL) • Low-voltage CMOS (LVCMOS) at 3.3V, 2.5V, 1.8V, 1.5V, or 1.2V • 3V PCI at 33 MHz, and in some devices, 66 MHz • HSTL I and III at 1.8V, commonly used in memory applications • SSTL I at 1.8V and 2.5V, commonly used for memory applications Spartan-3E FPGAs support the following differential standards: • LVDS • Bus LVDS • mini-LVDS • RSDS • Differential HSTL (1.8V, Types I and III) • Differential SSTL (2.5V and 1.8V, Type I) • 2.5V LVPECL inputs
  • 9. Microcontroller Vs FPGA  Sequential operations  not so flexible  Low power  Less development time  Easy to solder  Less No of I/O pin • Parallel or Sequential operations • Flexible • High power • More development time • Complex to solder • More No of I/O pin
  • 11. Soft IP  Counters ,  Flip-flop  Ram  Picoblaze  Microblaze
  • 12. Hard IP  Dcm  Multipliers  Blockram  Power -pc
  • 13.  Have a fun with all Intellectual properties in Xilinx ISE
  • 14.  Can we use assembly language for FPGA ?
  • 16. Key Feature Set • 16 byte-wide general-purpose data registers • 1K instructions of programmable on-chip program store, automatically loaded during FPGA configuration • Byte-wide Arithmetic Logic Unit (ALU) with CARRY and ZERO indicator flags • 64-byte internal scratchpad RAM • 256 input and 256 output ports for easy expansion and enhancement • Automatic 31-location CALL/RETURN stack • Predictable performance, always two clock cycles per instruction, up to 200 MHz or 100 MIPS in a Virtex-4™ FPGA and 88 MHz or 44 MIPS in a Spartan-3 FPGA • Fast interrupt response; worst-case 5 clock cycles • Assembler, instruction-set simulator support
  • 21.  Have a fun with all picoblaze
  • 22.  Can we use C language for FPGA ?
  • 24. Microblaze Overview  Microblaze is a soft core embedded in the bit stream and is not available until the FPGA has been configured.  Software-only; updates for Microblaze are possible without regenerating the bit stream.  Is one of the Fastest soft processor  Virtex- 5 (- 2), 400 MHz  Virtex- II (- 5), 125 MHz  Is supported in the following Devices,  Virtex, VirtexE, VirtexII, Spartan- II, Spartan3
  • 28. Microblaze - Architecture  Thirty-two 32-bit general purpose registers.  Separate 32-bit instruction and data buses OPB (On-chip Peripheral Bus).  Separate 32-bit instruction and data buses LMB (Local Memory Bus).  Hardware multipliers (in Virtex-II and subsequent devices).  Three stage pipeline architecture : Fetch, Decode and Execute.
  • 29. MicroBlaze - Architecure  The Microblaze core is organized as a Harvard architecture with separate bus interface units for data accesses and instruction accesses.  Each bus interface unit is further split into a Local Memory Bus (LMB) and IBM’s On-chip Peripheral Bus (OPB).  The LMB provides single-cycle access to on-chip dual port block RAM.  The OPB interface provides a connection to both on and off chip peripherals and memory.
  • 31. Embedded Development Tool Flow Overview Data2MEM Bitstream Compiler/Linker (Simulator) C Code Debugger Standard Embedded SW Development Flow CPU code in on-chip memory ? CPU code in off-chip memory Download to Board & FPGA Object Code Standard FPGA HW Development Flow Synthesizer Place & Route Simulator VHDL/Verilog ? Download to FPGA
  • 32. EDK  The Embedded Development Kit (EDK) consists of the following:  Xilinx Platform Studio – XPS  Base System Builder – BSB  Creating/Importing IP Wizard  Hardware generation tool – PlatGen  Library generation tool – LibGen  Simulation generation tool – SimGen  GNU software development tools  System verification tool – XMD  Processor IP  Drivers for IP  Documentation  Use the GUI or the shell command tool to run the EDK tool
  • 33. Microblaze : Area Statistics  Area consumed by Microblaze. For a simple 8- bit counter written in “C” with the counter contents being displayed on LEDs, the details of the FPGA resources consumed are as follows: -  Device Used SPARTAN II (XC2S100 TQ144 - 5)  Number of BLOCKRAMs 4 out of 10 40%  Number of SLICEs 769 out of 1200 64%  737 SLICES FOR MICROBLAZE  32 SLICES FOR One GPIO  Total 769 SLICES of FPGA
  • 34. MicroBlaze - Benefits The Complete Solution  Pre-verified and optimized soft processor Core.  IBM CoreConnectTM bus Peripherals compatible with embedded PowerPCTM in Xilinx next generation Platform.  Microblaze applications can range from software based simple state machines to complex controllers for internet appliances or other embedded applications.
  • 35. MicroBlaze 32 Bit RISC On Chip Peripheral Bus BRAM GPIO LMB UART Timer Interrupt Controller OPB EMAC 10/100 Ethernet Phy IIC/SPI MicroBlaze :System Application
  • 36. MicroBlaze - System Diagram Off-Chip Memory 0-4GB Off-Chip Memory 0-4GB Machine Status Reg Program Counter DataBusController Register File 32 x 32bit r0 r1 r3 1Address side LMB CoreConnect OPB I/F CoreConnect OPB I/F TM TM Data Side LMB UART Timer / Counters Interrupt Controller General Purpose I/O Watchdog Timer Instruction Buffer InstructionBusController Control Unit Multi ply Multi ply Add / Subtract Shift / Logical Multiply PROCESSOR PERIPHERALS I-LMB I-OPB D-OPB D-LMB
  • 37. Soft Processors  Soft processor is an implementation of a microprocessor circuit using a standard FPGA. Features:  No dedicated silicon.  Highly flexible. Advantages  Integration - Less IC’s on your board.  Modifiable / Customizable  Your system in silicon - nothing more, nothing less.  Performance -  Some functions are easier to implement in software.  Processor intensive functions can be Off- Loaded to hardware integration.
  • 38. Advantages - continued  Soft processor cores can be ‘owned’ by the customer and used across many projects – never going obsolete!  No IP / License issues  Peripherals can be added to make up the required functions  No wastage of peripherals or logic gates!  Code and peripheral ‘banks’ can be built up and used across many projects over time.
  • 39.  Have a fun with all Microblaze
  • 44.  XC3S250E-4PQG208C  XC3S500E-4PQG208C  XC2C128_TQ144  XC6SLX9_TQFP144  XC6SLX25_-3FTG256