SlideShare a Scribd company logo
1 of 18
Download to read offline
Introduction to IP cores and softcore 
processors 
Prof. Anish Goel 
IP Cores and Softcore Processors 
Prof. Anish Goel
IP core (intellectual property core) 
 An IP (intellectual property) core is a block of logic or data that is used in making a 
field programmable gate array ( FPGA ) or application-specific integrated circuit 
( ASIC ) for a product. 
 As essential elements of design reuse , IP cores are part of the growing electronic 
design automation ( EDA ) industry trend towards repeated use of previously 
designed components. 
 Universal Asynchronous Receiver/Transmitter ( UART s), central processing units 
( CPU s), Ethernet controllers, andPCI interfaces are all examples of IP cores. 
 IP cores fall into one of three categories: hard cores , firm cores , or soft cores . 
 Hard cores are physical manifestations of the IP design. These are best for plug-and-play 
applications, and are less portable and flexible than the other two types of 
cores. 
 Like the hard cores, firm (sometimes called semi-hard ) cores also carry placement 
data but are configurable to various applications. 
 The most flexible of the three, soft cores exist either as a netlist (a list of the logic 
gate s and associated interconnections making up an integrated circuit ) or hardware 
description language ( HDL ) code. 
IP Cores and Softcore Processors 
Prof. Anish Goel
IP cores 
 Soft IP cores 
 Hard IP cores ROM, RAM, FIFO 
 RISC CPU 
 DSP – Multiplier 
 Flash memory (boot, user) 
 PCI, PCIe 
 JTAG 
IP Cores and Softcore Processors 
Prof. Anish Goel
Typical soft IP cores 
 PCI master-target, 32/64 bit, PCIe 
 Ethernet, UART 
 μP, μC (incl. old ones), RISC CPUs 
 Interface to DRAM, SSRAM 
 DSP: CORDIC, DDS, FFT, Filters 
 VME, USB, CAN, I2C, SPI, SD card 
 encryption / decryption 
IP Cores and Softcore Processors 
Prof. Anish Goel
Nios Soft Core Embedded Processor 
IP Cores and Softcore Processors 
Prof. Anish Goel
NIOS II Overview 
 Soft IP Core 
 A soft-core processor is a microprocessor fully described in 
software, usually in an HDL, which can be synthesized in programmable 
hardware, such as FPGAs. 
 Reduced Instruction Set Computer (RISC) 
 No pipeline, 5 or 6 stages pipeline configurations 
 Full 32-bit instruction set, data path, and address space 
 32 general-purpose registers 
 32 external interrupt sources 
 Access to a variety of on-chip peripherals, and interfaces to 
off-chip memories and peripherals 
 Software development environment based on the GNU 
 C/C++ tool chain and Eclipse IDE 
IP Cores and Softcore Processors 
Prof. Anish Goel
NIOS II Scalability 
IP Cores and Softcore Processors 
Prof. Anish Goel
Nios Embedded Processor Core 
 Configurable Soft Core Processor 
 32-Bit Pipelined RISC Architecture 
 – 16-Bit Instructions 
 – Most Instructions Take 1 Clock 
 Large Internal Register File 
 Configurable Data Path 
 – 16-bit (1100 LEs) 
 – 32-bit (1700 LEs) 
 Dynamic Bus Sizing 
 30 to 80 MIPS Performance 
IP Cores and Softcore Processors 
Prof. Anish Goel
Nios RISC Processor Block Diagram 
 Standard RISC Components 
 Fully-Synchronous Interface 
IP Cores and Softcore Processors 
Prof. Anish Goel
NIOS II Processor Core 
IP Cores and Softcore Processors 
Prof. Anish Goel
Implementation 
 The functional units of the Nios II architecture form the 
foundation for the Nios II instruction set. 
 The Nios II architecture describes an instruction set, not 
a particular hardware implementation. 
 Trade-offs: 
 – More or less of a feature - amount of instruction cache memory. 
 – Inclusion or exclusion of a feature - the JTAG debug module. 
 – Hardware implementation or software emulation - divider 
IP Cores and Softcore Processors 
Prof. Anish Goel
Pipelining 
 Static branch prediction is implemented using the branch 
offset direction; 
 – a negative offset is predicted as taken 
 – a positive offset is predicted as not-taken 
IP Cores and Softcore Processors 
Prof. Anish Goel
UART Peripheral 
 Provides common serial interface with variable baud rate, 
parity, stop and data bits, and optional flow control signals 
IP Cores and Softcore Processors 
Prof. Anish Goel
Timer Peripheral 
 32-bit and 64-bit counters. 
 Controls to start, stop, and reset the timer. 
 Two count modes: count down once and continuous count-down. 
 Count-down period register. 
 Option to enable or disable the interrupt request (IRQ) when 
timer reaches zero. 
 Optional watchdog timer feature that resets the system if 
timer ever reaches zero. 
 Optional periodic pulse generator feature that outputs a pulse 
when timer reaches zero. 
 Compatible with 32-bit and 16-bit processors 
IP Cores and Softcore Processors 
Prof. Anish Goel
PIO Peripheral 
 1 to 32-bit Parallel I/O Port 
 Input Only 
 Output Only 
 Bi-directional Port 
 • On-chip: Separate Ports for Input & Output 
 • Off-chip: Tri-State Control 
 Edge Detection on Inputs 
 Interrupt Generation 
 – Maskable 
 – IRQ Source 
 • Input Level 
 • Edge Detection Register 
IP Cores and Softcore Processors 
Prof. Anish Goel
Serial Peripheral Interface (SPI) 
 Full Duplex, Synchronous Serial Interface 
 – Interface to: 
 • A/D, D/A 
 • Microcontrollers 
 • Serial EPROM 
 3-Wire Serial Communications Bus With Slave Select 
 – Master Out Slave In - MOSI 
 – Master In Slave Out - MISO 
 – SPI Clock - SCLK 
 – Slave Select - SS_n (Optional) 
 Master or Slave Operation 
 Supports Up to 16 Slave Devices 
 Programmable Word Size (1 to 16 bits) 
 Programmable Delay Slot (Enable-to-Active) 
IP Cores and Softcore Processors 
Prof. Anish Goel
Ethernet Interface 
 10/100-Mbps SMSC LAN91C111single-chip Ethernet 
controller interface 
 Software support provided by the NicheStack TCP/IP 
Stack - Nios II Edition 
 Included with the Nios II development kits 
IP Cores and Softcore Processors 
Prof. Anish Goel
Memory Interfaces 
 On-chip ROM and RAM 
 SDRAM 
 SSRAM 
 SRAM 
 Flash 
 Common Flash Interface Controller Core 
 Altera serial configuration devices 
IP Cores and Softcore Processors 
Prof. Anish Goel

More Related Content

What's hot

8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 

What's hot (20)

ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
Low power sram
Low power sramLow power sram
Low power sram
 
Actel fpga
Actel fpgaActel fpga
Actel fpga
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
 
Deep learning with FPGA
Deep learning with FPGADeep learning with FPGA
Deep learning with FPGA
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
ARM lab programs
ARM  lab programs  ARM  lab programs
ARM lab programs
 
Verilog HDL
Verilog HDLVerilog HDL
Verilog HDL
 
ARM Exception and interrupts
ARM Exception and interrupts ARM Exception and interrupts
ARM Exception and interrupts
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
 
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAsMIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Verilog presentation final
Verilog presentation finalVerilog presentation final
Verilog presentation final
 
IRDA Infrared Data Association (IrDA)
IRDA Infrared Data Association (IrDA)IRDA Infrared Data Association (IrDA)
IRDA Infrared Data Association (IrDA)
 
8251 usart programmable communication interface by aniket bhute
8251  usart  programmable communication interface by aniket bhute8251  usart  programmable communication interface by aniket bhute
8251 usart programmable communication interface by aniket bhute
 

Similar to Nios2 and ip core

Introduction to Advanced embedded systems course
Introduction to Advanced embedded systems courseIntroduction to Advanced embedded systems course
Introduction to Advanced embedded systems course
anishgoel
 
The comparison between FPGA , ARDUINO , ASIC
The comparison between FPGA , ARDUINO , ASIC The comparison between FPGA , ARDUINO , ASIC
The comparison between FPGA , ARDUINO , ASIC
Mohamed Youssery
 

Similar to Nios2 and ip core (20)

Shoftcore Processors
Shoftcore ProcessorsShoftcore Processors
Shoftcore Processors
 
Introduction to Advanced embedded systems course
Introduction to Advanced embedded systems courseIntroduction to Advanced embedded systems course
Introduction to Advanced embedded systems course
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Smart logic
Smart logicSmart logic
Smart logic
 
Ip interfaces by faststream technologies
Ip interfaces by faststream technologiesIp interfaces by faststream technologies
Ip interfaces by faststream technologies
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
4_BIT_ALU
4_BIT_ALU4_BIT_ALU
4_BIT_ALU
 
The comparison between FPGA , ARDUINO , ASIC
The comparison between FPGA , ARDUINO , ASIC The comparison between FPGA , ARDUINO , ASIC
The comparison between FPGA , ARDUINO , ASIC
 
SoC Design
SoC DesignSoC Design
SoC Design
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER) International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
SOC design
SOC design SOC design
SOC design
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusion
 
eCOG1X 16-bit Microcontrollers
eCOG1X 16-bit MicrocontrollerseCOG1X 16-bit Microcontrollers
eCOG1X 16-bit Microcontrollers
 
fpga1 - What is.pptx
fpga1 - What is.pptxfpga1 - What is.pptx
fpga1 - What is.pptx
 
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
0.FPGA for dummies: Historical introduction
0.FPGA for dummies: Historical introduction0.FPGA for dummies: Historical introduction
0.FPGA for dummies: Historical introduction
 

More from anishgoel

More from anishgoel (20)

Computer Organization
Computer OrganizationComputer Organization
Computer Organization
 
Learning vhdl by examples
Learning vhdl by examplesLearning vhdl by examples
Learning vhdl by examples
 
Dot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry PiDot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry Pi
 
Input interface with Raspberry pi
Input interface with Raspberry piInput interface with Raspberry pi
Input interface with Raspberry pi
 
Learning Python for Raspberry Pi
Learning Python for Raspberry PiLearning Python for Raspberry Pi
Learning Python for Raspberry Pi
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
learning vhdl by examples
learning vhdl by exampleslearning vhdl by examples
learning vhdl by examples
 
Digital System Design Basics
Digital System Design BasicsDigital System Design Basics
Digital System Design Basics
 
digital design of communication systems
digital design of communication systemsdigital design of communication systems
digital design of communication systems
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
8051 Microcontroller Timer
8051 Microcontroller Timer8051 Microcontroller Timer
8051 Microcontroller Timer
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Serial Communication Interfaces
Serial Communication InterfacesSerial Communication Interfaces
Serial Communication Interfaces
 
Embedded systems ppt iv part d
Embedded systems ppt iv   part dEmbedded systems ppt iv   part d
Embedded systems ppt iv part d
 
Embedded systems ppt iv part c
Embedded systems ppt iv   part cEmbedded systems ppt iv   part c
Embedded systems ppt iv part c
 
Embedded systems ppt iv part b
Embedded systems ppt iv   part bEmbedded systems ppt iv   part b
Embedded systems ppt iv part b
 
Embedded systems ppt ii
Embedded systems ppt iiEmbedded systems ppt ii
Embedded systems ppt ii
 
Embedded systems ppt iii
Embedded systems ppt iiiEmbedded systems ppt iii
Embedded systems ppt iii
 
Embedded systems ppt iv part a
Embedded systems ppt iv   part aEmbedded systems ppt iv   part a
Embedded systems ppt iv part a
 
Embedded systems ppt i
Embedded systems ppt iEmbedded systems ppt i
Embedded systems ppt i
 

Recently uploaded

+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 

Nios2 and ip core

  • 1. Introduction to IP cores and softcore processors Prof. Anish Goel IP Cores and Softcore Processors Prof. Anish Goel
  • 2. IP core (intellectual property core)  An IP (intellectual property) core is a block of logic or data that is used in making a field programmable gate array ( FPGA ) or application-specific integrated circuit ( ASIC ) for a product.  As essential elements of design reuse , IP cores are part of the growing electronic design automation ( EDA ) industry trend towards repeated use of previously designed components.  Universal Asynchronous Receiver/Transmitter ( UART s), central processing units ( CPU s), Ethernet controllers, andPCI interfaces are all examples of IP cores.  IP cores fall into one of three categories: hard cores , firm cores , or soft cores .  Hard cores are physical manifestations of the IP design. These are best for plug-and-play applications, and are less portable and flexible than the other two types of cores.  Like the hard cores, firm (sometimes called semi-hard ) cores also carry placement data but are configurable to various applications.  The most flexible of the three, soft cores exist either as a netlist (a list of the logic gate s and associated interconnections making up an integrated circuit ) or hardware description language ( HDL ) code. IP Cores and Softcore Processors Prof. Anish Goel
  • 3. IP cores  Soft IP cores  Hard IP cores ROM, RAM, FIFO  RISC CPU  DSP – Multiplier  Flash memory (boot, user)  PCI, PCIe  JTAG IP Cores and Softcore Processors Prof. Anish Goel
  • 4. Typical soft IP cores  PCI master-target, 32/64 bit, PCIe  Ethernet, UART  μP, μC (incl. old ones), RISC CPUs  Interface to DRAM, SSRAM  DSP: CORDIC, DDS, FFT, Filters  VME, USB, CAN, I2C, SPI, SD card  encryption / decryption IP Cores and Softcore Processors Prof. Anish Goel
  • 5. Nios Soft Core Embedded Processor IP Cores and Softcore Processors Prof. Anish Goel
  • 6. NIOS II Overview  Soft IP Core  A soft-core processor is a microprocessor fully described in software, usually in an HDL, which can be synthesized in programmable hardware, such as FPGAs.  Reduced Instruction Set Computer (RISC)  No pipeline, 5 or 6 stages pipeline configurations  Full 32-bit instruction set, data path, and address space  32 general-purpose registers  32 external interrupt sources  Access to a variety of on-chip peripherals, and interfaces to off-chip memories and peripherals  Software development environment based on the GNU  C/C++ tool chain and Eclipse IDE IP Cores and Softcore Processors Prof. Anish Goel
  • 7. NIOS II Scalability IP Cores and Softcore Processors Prof. Anish Goel
  • 8. Nios Embedded Processor Core  Configurable Soft Core Processor  32-Bit Pipelined RISC Architecture  – 16-Bit Instructions  – Most Instructions Take 1 Clock  Large Internal Register File  Configurable Data Path  – 16-bit (1100 LEs)  – 32-bit (1700 LEs)  Dynamic Bus Sizing  30 to 80 MIPS Performance IP Cores and Softcore Processors Prof. Anish Goel
  • 9. Nios RISC Processor Block Diagram  Standard RISC Components  Fully-Synchronous Interface IP Cores and Softcore Processors Prof. Anish Goel
  • 10. NIOS II Processor Core IP Cores and Softcore Processors Prof. Anish Goel
  • 11. Implementation  The functional units of the Nios II architecture form the foundation for the Nios II instruction set.  The Nios II architecture describes an instruction set, not a particular hardware implementation.  Trade-offs:  – More or less of a feature - amount of instruction cache memory.  – Inclusion or exclusion of a feature - the JTAG debug module.  – Hardware implementation or software emulation - divider IP Cores and Softcore Processors Prof. Anish Goel
  • 12. Pipelining  Static branch prediction is implemented using the branch offset direction;  – a negative offset is predicted as taken  – a positive offset is predicted as not-taken IP Cores and Softcore Processors Prof. Anish Goel
  • 13. UART Peripheral  Provides common serial interface with variable baud rate, parity, stop and data bits, and optional flow control signals IP Cores and Softcore Processors Prof. Anish Goel
  • 14. Timer Peripheral  32-bit and 64-bit counters.  Controls to start, stop, and reset the timer.  Two count modes: count down once and continuous count-down.  Count-down period register.  Option to enable or disable the interrupt request (IRQ) when timer reaches zero.  Optional watchdog timer feature that resets the system if timer ever reaches zero.  Optional periodic pulse generator feature that outputs a pulse when timer reaches zero.  Compatible with 32-bit and 16-bit processors IP Cores and Softcore Processors Prof. Anish Goel
  • 15. PIO Peripheral  1 to 32-bit Parallel I/O Port  Input Only  Output Only  Bi-directional Port  • On-chip: Separate Ports for Input & Output  • Off-chip: Tri-State Control  Edge Detection on Inputs  Interrupt Generation  – Maskable  – IRQ Source  • Input Level  • Edge Detection Register IP Cores and Softcore Processors Prof. Anish Goel
  • 16. Serial Peripheral Interface (SPI)  Full Duplex, Synchronous Serial Interface  – Interface to:  • A/D, D/A  • Microcontrollers  • Serial EPROM  3-Wire Serial Communications Bus With Slave Select  – Master Out Slave In - MOSI  – Master In Slave Out - MISO  – SPI Clock - SCLK  – Slave Select - SS_n (Optional)  Master or Slave Operation  Supports Up to 16 Slave Devices  Programmable Word Size (1 to 16 bits)  Programmable Delay Slot (Enable-to-Active) IP Cores and Softcore Processors Prof. Anish Goel
  • 17. Ethernet Interface  10/100-Mbps SMSC LAN91C111single-chip Ethernet controller interface  Software support provided by the NicheStack TCP/IP Stack - Nios II Edition  Included with the Nios II development kits IP Cores and Softcore Processors Prof. Anish Goel
  • 18. Memory Interfaces On-chip ROM and RAM SDRAM SSRAM SRAM Flash Common Flash Interface Controller Core Altera serial configuration devices IP Cores and Softcore Processors Prof. Anish Goel