CoreAHBtoAPB3 v3.1. Handbook

Similar documents
CoreHPDMACtrl v2.1. Handbook

CoreConfigMaster v2.1. Handbook

CoreAPB3 v4.1. Handbook

CoreGPIO v3.1. Handbook

CoreMDIO_APB v2.0. Handbook

CoreResetP v7.0. Handbook

CoreSMIP v2.0. Handbook

SmartFusion2 MSS. SPI Configuration

SmartFusion2 SoC FPGA Demo: Code Shadowing from SPI Flash to SDR Memory User s Guide

SmartFusion2 MSS. CAN Configuration

SmartFusion2 MSS. I2C Configuration

SmartFusion2 MSS. MMUART Configuration

CoreSDR_AHB v4.3. Handbook

DSP Flow for SmartFusion2 and IGLOO2 Devices - Libero SoC v11.6 TU0312 Quickstart and Design Tutorial

SmartDesign MSS. Configurator Overview

VHDL VITAL. Simulation Guide For Libero SoC v11.8

SmartFusion2 MSS. DDR Memory Simulation

CoreSPI v5.0. Handbook

DG0633 Demo Guide IGLOO2 FPGA CoreTSE MAC 1000 Base-T Loopback Demo - Libero SoC v11.7 SP2

Microsemi IP Cores Accelerate the Development Cycle and Lower Development Costs

UG0649 User Guide. Display Controller. February 2018

ZL70550 ADK Release Notes

CoreRGMII v2.0. Handbook

UG0644 User Guide. DDR AXI Arbiter. February 2018

SmartFusion2 and IGLOO2. High Speed Serial Interface Configuration

SmartFusion2 SoC FPGA Demo: Code Shadowing from SPI Flash to DDR Memory User s Guide

Microsemi SmartFusion 2 SoC FPGA and IGLOO 2 FPGA

UG0693 User Guide. Image Edge Detection. February 2018

Core1553BRT v4.2 Release Notes

UG0648 User Guide Motor Control Libero Project

UG0446 User Guide SmartFusion2 and IGLOO2 FPGA High Speed DDR Interfaces

AMBA 3 AHB Lite Bus Architecture

SPI-DirectC v1.1. User s Guide

Accessing External SDRAM through Fabric. Libero SoC Flow Tutorial for the SmartFusion2 SoC FPGA Superseded

Core System Services Lab - How to Use. Revision 4.0

Libero SoC v11.8 Service Pack 2 Release Notes 11/2017

CoreCORDIC v4.0. Handbook

UG0693 User Guide Image Edge Detection

CoreSDLC Driver User s Guide. Version 2.0

Network Time Synchronization Why It is Crucial for Regulatory Compliance in Enterprise Applications

SmartDesign MSS. Cortex TM -M3 Configuration

Hardware Implementation of AMBA Processor Interface Using Verilog and FPGA

SmartFusion2 - Accessing External SDRAM through Fabric - Libero SoC v11.5 TU0311 Tutorial. Superseded

Interrupting SmartFusion MSS Using FABINT

SyncServer S600/S650 Options, Upgrades and Antenna Accessories

UG0812 User Guide. T-Format Interface. February 2018

SmartDesign MSS. Embedded FlashROM (efrom) Configuration

Core1588 v2.0. Handbook

Libero SoC v11.9 SP2 Release Notes 11/2018

AC412 Application Note IGLOO2 FPGA Flash*Freeze Entry and Exit - Libero SoC v11.8

VLSI DESIGN OF AMBA BASED AHB2APB BRIDGE

Enhanced Prediction of Interconnect delays for FPGA Synthesis using MATLAB

Maximizing Logic Utilization in ex, SX, and SX-A FPGA Devices Using CC Macros

CoreAHB. Contents. Product Summary. General Description. Intended Use. Key Features. Benefits. Supported Device Families

AC342 Application Note CQFP to CLGA Adapter Socket

AHB Slave Decoder. User Guide. 12/2014 Capital Microelectronics, Inc. China

CoreSPI v3.0. Handbook

Understanding 802.3at. PoE Plus Standard Increases Available Power

SmartFusion2. Two-Port Large SRAM Configuration

SmartDesign MSS. ACE Simulation

SmartFusion IEEE 1588 Reference Design User s Guide

AC400 Application Note SmartFusion2 SoC FPGA Flash*Freeze Entry and Exit - Libero SoC v11.8

EECS 373. Design of Microprocessor-Based Systems. Prabal Dutta University of Michigan. Announcements. Homework #2 Where was I last week?

APB4 GPIO. APB4 GPIO Datasheet Roa Logic, All rights reserved

ENT-AN0125 Application Note PHY, Integrated PHY-Switch VeriPHY - Cable Diagnostics Feature

User Guide. PD-IM MH and PD-IM T4H Four 2-Pair Ports and Four 4-Pair Ports Evaluation Boards

DG0723 Demo Guide SmartFusion2 Imaging and Video Kit MIPI CSI-2

HB0801 MiV_RV32IMAF_L1_AHB V2.0 Handbook

AHB-Lite Multilayer Interconnect IP. AHB-Lite Multilayer Interconnect IP User Guide Roa Logic, All rights reserved

Digital Mixed Signal Power Manager. Tutorial

AC0446 Application Note Optimization Techniques to Improve DDR Throughput for RTG4 Devices - Libero SoC v11.8 SP2

CoreSDLC v3.0 Release Notes

MIPI CSI-2 Receiver Decoder for PolarFire

PoE Midspans Harness Universal Power for Your Network. White Paper

Mixed Signal Power Manager Tutorial

Time Synchronization Trends for Critical Infrastructure. Randy Brudzinski Vice President Microsemi

MML4400 Series Datasheet RoHS-Compliant Fast Surface Mount MRI Protection Diodes

Verilog AHB Testbench User's Guide

Military Grade SmartFusion Customizable System-on-Chip (csoc)

Bus Interfaces and Standards. Zeljko Zilic

SmartFusion2, IGLOO2, and RTG4 Designing with Blocks for Libero SoC v11.8 in the Enhanced Constraint Flow User Guide

UG0725 User Guide PolarFire FPGA Device Power-Up and Resets

DG0598 Demo Guide SmartFusion2 Dual-Axis Motor Control Starter Kit

Programming and Debug Tools PolarFire v2.0 Release Notes 11/2017

MAICMMC40X120 Application Note Power Core Module Mounting and Thermal Interface

System Design Kit. Cortex-M. Technical Reference Manual. Revision: r0p0. Copyright 2011 ARM. All rights reserved. ARM DDI 0479B (ID070811)

SmartGen Hard Multiplier Accumulator v1.0. Handbook

EECS 373 Design of Microprocessor-Based Systems

Ref: AMBA Specification Rev. 2.0

Power Matters. Antifuse Product Information Brochure

AvnetCore: Datasheet

AHB2APB Bridge. User Guide. 11/2013 Capital Microelectronics, Inc. China

Power Modules with Phase-Change Material

Series 8 (12 Gbps) and Series 7 (6 Gbps) Technical Brief Flexible Configuration Options for Microsemi Adaptec SAS/SATA RAID Adapters

Spatial Debug & Debug without re-programming in Microsemi FPGAs

SoC Interconnect Bus Structures

Zero Recovery Silicon Carbide Schottky Diode

SmartFusion: FPGA Fabric Synthesis Guidelines

EECS 373 Design of Microprocessor-Based Systems

Microsemi Adaptec Trusted Storage Solutions. A complete portfolio of 12 Gbps Host Bus Adapters, RAID Adapters, SAS Expander and Cables

Transcription:

CoreAHBtoAPB3 v3.1 Handbook

CoreAHBtoAPB3 v3.1 Handbook Table of Contents Introduction... 3 Core Overview... 3 Key Features... 3 Supported Microsemi FPGA Families... 3 Core Version... 4 Supported Interfaces... 4 Utilization and Performance... 4 Interface Description... 5 Ports... 5 Design Description... 6 AHB Interface Timing... 6 APB Interface Timing... 7 Tool Flows... 9 Licensing... 9 SmartDesign... 9 Simulation Flows... 10 Synthesis in Libero SoC... 11 Place and Route in Libero SoC... 11 Ordering Information... 12 Ordering Codes... 12 List of Changes... 13 Product Support... 14 Customer Service... 14 Customer Technical Support Center... 14 Technical Support... 14 Website... 14 Contacting the Customer Technical Support Center... 14 ITAR Technical Support... 15 CoreAHBtoAPB3 v3.1 Handbook 2

Introduction Core Overview CoreAHBtoAPB3 is made up of an advanced high-performance bus (AHB ) slave and advanced microcontroller bus architecture (AMBA ) 3 advanced peripheral bus (APB) master. The CoreAHBtoAPB3 works as a bridge in between the AHB and the APB domains. CoreAHBtoAPB3 interfaces with CoreAHB or CoreAHBLite through its AHB interface and with CoreAPB3 through its APB interface. Figure 1 shows an overview of CoreAHBtoAPB3. AHB Slave Interface HRESETN HCLK HSEL HWRITE HREADY HTRANS[1:0] HADDR[31:0] HWDATA[31:0] HREADYOUT HRDATA[31:0] HRESP CoreAHBtoAPB3 PSEL PENABLE PWRITE PADDR[31:0] PWDATA[31:0] PRDATA[31:0] PREADY PSLVERR APB Master Interface Key Features Figure 1 CoreAHBtoAPB3 Overview Bridges between AHB/AHB-Lite and APB buses Connects automatically to CoreAHB/CoreAHBLite and CoreAPB3 in SmartDesign when Auto Connect feature is used Compliant with AMBA 3 APB Supported Microsemi FPGA Families The CoreAHBtoAPB3 v3.1 supports the following families: SmartFusion 2 SmartFusion Microsemi Fusion IGLOO, IGLOO e, IGLOO PLUS ProASIC 3, ProASIC 3E, ProASIC 3L ProASIC PLUS Axcelerator RTAX-S IGLOO 2 RTG4 CoreAHBtoAPB3 v3.1 Handbook 3

Introduction Core Version This handbook supports CoreAHBtoAPB3 version 3.1. Supported Interfaces CoreAHBtoAPB3 supports an AHB or AHB-Lite slave interface connected to an AHB or AHB-Lite mirrored slave interface (as found on, for example, CoreAHB or CoreAHBLite), as well as an AMBA 3 APB master interface that connects to an AMBA 3 APB mirrored master interface (as found on, for example, CoreAPB3). Utilization and Performance Utilization and performance data for CoreAHBtoAPB3 is given in Table 1. Table 1 CoreAHBtoAPB3 Device Utilization and Performance Family Tiles Utilization Performance Sequential Combinatorial Total Device % (MHz) Fusion 126 75 201 M1AFS1500 1% 128 IGLOO 126 80 206 M1AGL1000V2 1% 75 ProASIC3 126 72 198 M1A3P600 1% 134 ProASIC 128 192 320 APA600 1% 80 Axcelerator 127 72 199 AX500 2% 145 RTAX-S 127 72 199 RTAX1000S 1% 97 SmartFusion2 141 63 204 M2S150T 0.14 250 IGLOO2 141 63 204 M2GL150T 0.14 250 RTG4 143 78 221 RT4G150 0.14 242 Note: Data in this table was gathered based on typical synthesis and layout settings. 4 CoreAHBtoAPB3 v3.1 Handbook

Interface Description Ports The ports present on CoreAHBtoAPB3 are listed in Table 2. Table 2 CoreAHBtoAPB3 Ports Port Name Type Description HRESETN Input AHB reset, active low asynchronous reset HCLK Input AHB clock signal HSEL Input AHB slave select HWRITE Input APB write indication HREADY Input AHB ready input HTRANS[1:0] Input AHB transfer type: 00: Idle 01: Busy 10: Non-sequential 11: Sequential HADDR[31:0] Input AHB address bus HWDATA[31:0] Input AHB write data HREADYOUT Output AHB ready output HRDATA[31:0] Output AHB read data HRESP Output AHB transfer response: 00: Okay 01: Error 10: Retry 11: Split PSEL Output APB select PENABLE Output APB enable PWRITE Output APB write indication PADDR[31:0] Output APB address bus PWDATA[31:0] Output APB write data PRDATA[31:0] Input APB read data PREADY Input APB ready indication PSLVERR Input APB slave error indication Note: All signals in this table are active high unless otherwise stated. CoreAHBtoAPB3 v3.1 Handbook 5

Design Description CoreAHBtoAPB3 acts like a bridge between an AHB/AHB-Lite bus and an APB bus. Read and write transfers on the AHB bus are converted to corresponding transfers on the APB bus. High bandwidth peripherals, such as memory controllers, are typically connected to the AHB bus, whereas the APB bus is used for less demanding peripherals such as general purpose Input/Output (GPIO). Unlike the AHB bus, transfers on the APB bus are not pipelined. AHB Interface Timing Figure 2 and Figure 3 illustrate the AHB transfer timing. An AHB transfer can be described in terms of an address phase and a data phase. The data relevant to the address of interest follows in the clock cycle(s) after the address. The data phase can extend over a number of cycles if the HREADY signal is held low. Figure 2 shows a basic AHB transfer with no wait states as HREADY is high during the transfer. Figure 3 shows an AHB transfer with one wait state. HREADY is low for one cycle during the data phase in the waited transfer. Address Phase Data Phase HCLK HADDR[31:0] Control A Control HWDATA[31:0] Data (A) HREADY HWDATA[31:0] Data (A) Figure 2 Basic AHB Transfer Address Phase Data Phase HCLK HADDR[31:0] Control A Control HWDATA[31:0] Data (A) HREADY HWDATA[31:0] Data (A) Figure 3 AHB Transfer with One Wait State CoreAHBtoAPB3 v3.1 Handbook 6

APB Interface Timing APB Interface Timing Figure 4 and Figure 5 show the timing of APB write and read transfers with no wait states. Figure 6 and Figure 7 show APB write and read transfers with one wait state. PCLK PADDR write addr PWRITE PSEL PENABLE PWDATA write data PRDATA PREADY Figure 4 APB Write Transfer, No Wait States PCLK PADDR read addr PWRITE PSEL PENABLE PWDATA PRDATA read data PREADY Figure 5 APB Read Transfer, No Wait States PCLK PADDR write addr PWRITE PSEL PENABLE PWDATA write data PRDATA PREADY Figure 6 APB Write Transfer with One State CoreAHBtoAPB3 v3.1 Handbook 7

Design Description PCLK PADDR read addr PWRITE PSEL PENABLE PWDATA PRDATA read data PREADY Figure 7 APB Read Transfer with One State 8 CoreAHBtoAPB3 v3.1 Handbook

Tool Flows Licensing Obfuscated CoreAHBtoAPB3 is licensed in two ways, Obfuscated or register transfer level (RTL). Complete RTL code is provided for the core, allowing the core to be instantiated with SmartDesign. Simulation, synthesis, and layout can be performed within Libero System-on-Chip (SoC). The RTL code for the core is obfuscated and some of the testbench source files are not provided; instead, they are precompiled into the compiled simulation library. RTL Complete RTL source code is provided for the core and testbenches. SmartDesign CoreAHBtoAPB3 is available for downloading to the SmartDesign IP Catalog through the Libero SoC web repository. For information on using SmartDesign to instantiate, configure, connect, and generate cores, refer to the Libero SoC online help. The only configuration option available for CoreAHBtoAPB3 allows you to choose whether or not to create a testbench for CoreAHBtoAPB3 when generating a design including CoreAHBtoAPB3 from SmartDesign. Figure 8 shows the configuration GUI for CoreAHBtoAPB3. Figure 9 shows how the symbol for CoreAHBtoAPB3 appears on the SmartDesign canvas. The AHB and APB signals are grouped into interfaces that appear on the top and bottom of the symbol. Figure 8 CoreAHBtoAPB3 Configuration GUI CoreAHBtoAPB3 v3.1 Handbook 9

Tool Flows Figure 9 CoreAHBtoAPB3 Symbol Simulation Flows User Testbench The user testbench for CoreAHBtoAPB3 is included in all releases of the core. To run simulations, set the testbench configuration option for CoreAHBtoAPB3 to user before generating your design in SmartDesign. To run the user testbench, set the design root to the CoreAHBtoAPB3 instance in the Libero SoC Design Hierarchy pane and double-click the Simulate command in the Design Flow pane. You can also right-click on Simulate and choose, for example, Run or Open Interactively. ModelSim is invoked and the simulation runs automatically. Figure 10 shows the simulation environment that includes instantiation of CoreAHBtoAPB3, an AHB-Lite master bus functional model (BFM), and an APB slave. The AHB-Lite BFM drives the testbench and is itself controlled by the commands in an automatically generated script file. This script file has a.bfm extension and is a plain text file that can be modified. Refer to the DirectCore AMBA BFM User s Guide for more information. AHB-Lite Master BFM script (*.bfm file) bfmtovec.exe Compiler User Testbench AHB-Lite Master Vectors (*.vec file) BFM_AHBL CoreAHBtoAPB3 BFM_APBSLAVE Figure 10 CoreAHBtoAPB3 User Testbench 10 CoreAHBtoAPB3 v3.1 Handbook

Synthesis in Libero SoC Synthesis in Libero SoC Having set the design root to the CoreAHBtoAPB3 instance, double-click (or right click and choose an option) the Synthesize command in the Design Flow pane in Libero SoC. The Synplicity synthesis tool will be invoked. Set Synplicity to use the verilog 2001 standard if a verilog flow is being used. To run synthesis, click Run. Place and Route in Libero SoC Having set the design root appropriately and after running synthesis, use the Compile command followed by the Place and Route command in the Design Flow pane in Libero SoC to place and route the core. CoreAHBtoAPB3 v3.1 Handbook 11

Ordering Information Ordering Codes CoreAHBtoAPB3 can be ordered through your local Sales Representative. It should be ordered using the following number scheme: CoreAHBtoAPB3-XX, where XX is listed in Table 3. Table 3 Ordering Codes XX OM RM Description RTL for Obfuscated RTL multiple use license RTL for RTL source multiple-use license CoreAHBtoAPB3 v3.1 Handbook 12

List of Changes The following table lists critical changes that were made in each revision of the document. Date Change Page Revision 2 (November 2014) Revision 1 (February 2013) Updated to correspond with v4.1 of CoreAPB3. Updated to suit v3.0 of CoreAHBtoAPB3 N/A N/A CoreAHBtoAPB3 v3.1 Handbook 13

Product Support Microsemi SoC Products Group backs its products with various support services, including Customer Service, Customer Technical Support Center, a website, electronic mail, and worldwide sales offices. This appendix contains information about contacting Microsemi SoC Products Group and using these support services. Customer Service Contact Customer Service for non-technical product support, such as product pricing, product upgrades, update information, order status, and authorization. From North America, call 800.262.1060 From the rest of the world, call 650.318.4460 Fax, from anywhere in the world 650. 318.8044 Customer Technical Support Center Technical Support Microsemi SoC Products Group staffs its Customer Technical Support Center with highly skilled engineers who can help answer your hardware, software, and design questions about Microsemi SoC Products. The Customer Technical Support Center spends a great deal of time creating application notes, answers to common design cycle questions, documentation of known issues and various FAQs. So, before you contact us, please visit our online resources. It is very likely we have already answered your questions. Visit the Microsemi SoC Products Group Customer Support website for more information and support (http://www.microsemi.com/soc/support/search/default.aspx). Many answers available on the searchable web resource include diagrams, illustrations, and links to other resources on website. Website You can browse a variety of technical and non-technical information on the Microsemi SoC Products Group home page, at http://www.microsemi.com/soc/. Contacting the Customer Technical Support Center Highly skilled engineers staff the Technical Support Center. The Technical Support Center can be contacted by email or through the Microsemi SoC Products Group website. Email You can communicate your technical questions to our email address and receive answers back by email, fax, or phone. Also, if you have design problems, you can email your design files to receive assistance. We constantly monitor the email account throughout the day. When sending your request to us, please be sure to include your full name, company name, and your contact information for efficient processing of your request. The technical support email address is soc_tech@microsemi.com. My Cases Microsemi SoC Products Group customers may submit and track technical cases online by going to My Cases. CoreAHBtoAPB3 v3.1 Handbook 14

ITAR Technical Support Outside the U.S. Customers needing assistance outside the US time zones can either contact technical support via email (soc_tech@microsemi.com) or contact a local sales office. Sales office listings can be found at www.microsemi.com/soc/company/contact/default.aspx. ITAR Technical Support For technical support on RH and RT FPGAs that are regulated by International Traffic in Arms Regulations (ITAR), contact us via soc_tech_itar@microsemi.com. Alternatively, within My Cases, select Yes in the ITAR drop-down list. For a complete list of ITAR-regulated Microsemi FPGAs, visit the ITAR web page. CoreAHBtoAPB3 v3.1 Handbook 15

Microsemi Corporate Headquarters One Enterprise, Aliso Viejo CA 92656 USA Within the USA: +1 (800) 713-4113 Outside the USA: +1 (949) 380-6100 Sales: +1 (949) 380-6136 Fax: +1 (949) 215-4996 E-mail: sales.support@microsemi.com Microsemi Corporation (Nasdaq: MSCC) offers a comprehensive portfolio of semiconductor and system solutions for communications, defense and security, aerospace, and industrial markets. Products include high-performance and radiation-hardened analog mixed-signal integrated circuits, FPGAs, SoCs, and ASICs; power management products; timing and synchronization devices and precise time solutions, setting the world's standard for time; voice processing devices; RF solutions; discrete components; security technologies and scalable anti-tamper products; Power-over-Ethernet ICs and midspans; as well as custom design capabilities and services. Microsemi is headquartered in Aliso Viejo, Calif. and has approximately 3,400 employees globally. Learn more at www.microsemi.com. 2014 Microsemi Corporation. All rights reserved. Microsemi and the Microsemi logo are trademarks of Microsemi Corporation. All other trademarks and service marks are the property of their respective owners. 50200206-2/11.14