SmartDesign MSS. How to Create a MSS and Fabric AMBA AHBLite/APB3 Design (MSS Master Mode)

Similar documents
SmartDesign MSS. Clock Configuration

Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware Catalog Drivers. User s Guide

Configuring Serial Terminal Emulation Programs

SmartFusion csoc: Mixed Signal Power Manager Customizing the MPM Reference Design

SmartFusion csoc: Basic Bootloader and Field Upgrade envm Through IAP Interface

Developing Embedded Applications with ARM Cortex TM -M1 Processors in Actel IGLOO and Fusion FPGAs. White Paper

Fusion Embedded Development Kit. Webserver Demo User s Guide

Libero IDE Quick Start Guide. for Software v9.0

SmartFusion csoc: Interfacing with OLED using I2C

Using UART with a SmartFusion csoc. Libero SoC and SoftConsole Flow Tutorial

Power over Ethernet for VoIP Applications. White Paper

SmartFusion2 SoC FPGA High Speed Serial and DDR Interfaces. User s Guide

Microsemi SoC Products Group (formerly Actel) License Troubleshooting Guide

The Case for Midspans vs. Switches for PoE Deployment

Power over Ethernet Solutions for Campus Environments. White Paper

How To Design A Single Chip System Bus (Amba) For A Single Threaded Microprocessor (Mma) (I386) (Mmb) (Microprocessor) (Ai) (Bower) (Dmi) (Dual

7a. System-on-chip design and prototyping platforms

Designing a System-on-Chip (SoC) with an ARM Cortex -M Processor

R&D Engineer. equipment. the power

Programming Audio Applications in the i.mx21 MC9328MX21

Applying the Benefits of Network on a Chip Architecture to FPGA System Design

Hot and Surprise Plug Recommendations for Enterprise PCIe Switches in the Data Center (Short Form)

SoC-Based Microcontroller Bus Design In High Bandwidth Embedded Applications

CCGA to FBGA Adapter Sockets

Enabling compliance with PLM audit management

ARM Cortex-M1-Enabled IGLOO. Development Kit User s Guide

SoC IP Interfaces and Infrastructure A Hybrid Approach

Using Global Resources in Actel ProASIC3/E Devices

etpu Host Interface by:

AN974 APPLICATION NOTE

Going from Virtex-2 pro to SmartFusion2 Learning by doing (mistakes)

Using Altera MAX Series as Microcontroller I/O Expanders

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

DC to 30GHz Broadband MMIC Low-Power Amplifier

RoHS / Lead-Free Initiative. Microsemi Analog Mixed Signal Group

A DIY Hardware Packet Sniffer

AT89C5131A Starter Kit... Software User Guide

MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1

PAC52XX Clock Control Firmware Design

Architectures, Processors, and Devices

Identity-Based Traffic Logging and Reporting

Verilog. Simulation Guide

Concept Engineering Adds JavaScript-based Web Capabilities to Nlview at DAC 2016

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

IRTC Compensation and 1 Hz Clock Generation

Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch

Altera Error Message Register Unloader IP Core User Guide

December 2002, ver. 1.0 Application Note 285. This document describes the Excalibur web server demonstration design and includes the following topics:

PowerQUICC II Pro (MPC83xx) PCI Agent Initialization

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

System Performance Analysis of an All Programmable SoC

From Bus and Crossbar to Network-On-Chip. Arteris S.A.

AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface

Network connectivity controllers

Introduction. Cortex-M1 Enabled Fusion. Key Features. Development Kit User s Guide. Version 1.1

STM32 F-2 series High-performance Cortex-M3 MCUs

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

PCB Project (*.PrjPcb)

VON BRAUN LABS. Issue #1 WE PROVIDE COMPLETE SOLUTIONS ULTRA LOW POWER STATE MACHINE SOLUTIONS VON BRAUN LABS. State Machine Technology

Simplifying Embedded Hardware and Software Development with Targeted Reference Designs

Enabling Security in ProASIC 3 FPGAs with Hardware and Software Features

LogiCORE IP AXI Performance Monitor v2.00.a

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Figure 1. 8-Bit USB Debug Adapter

Flexible Active Shutter Control Interface using the MC1323x

LatticeECP2/M S-Series Configuration Encryption Usage Guide

MX PIC24F Educational Module User Manual

Embedded Development Tools

Hydras 3 LT Quick Start

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

HANDLING SUSPEND MODE ON A USB MOUSE

Keysight Technologies N1918A Power Analysis Manager and U2000 Series USB Power Sensors. Demo Guide

Software Real Time Clock Implementation on MC9S08LG32

MCF54418 NAND Flash Controller

TR-3 Channel Editor. Software Manual

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Qsys System Design Tutorial

Libero SoC for Enhanced Constraint Flow v11.7

DP Hi-Speed USB 4-Port PCIe Quick Installation Guide

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

ARM Cortex -M1 Embedded Processor Tutorial. for Fusion Mixed Signal FPGAs

CoreLink QoS-301 Network Interconnect Advanced Quality of Service

Maestro Processor Backup Battery, CP Server, and CP FPGA Upgrade

8Gb Fibre Channel Adapter of Choice in Microsoft Hyper-V Environments

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

EEPROM PROGRAMMING FOR PCIe UARTs

Detecting a CPM Overload on the PowerQUICC II

ARM Ltd 110 Fulbourn Road, Cambridge, CB1 9NJ, UK.

ni.com/sts NI Semiconductor Test Systems

Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)

Project Manager Editor & Debugger

Atmel s Self-Programming Flash Microcontrollers

Initializing the TSEC Controller

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

PrimeCell Synchronous Serial Port (PL022) ARM. Technical Reference Manual. Revision: r1p4

Keysight M9485A PXIe Multiport Vector Network Analyzer. Configuration Guide

Transcription:

SmartDesign MSS How to Create a MSS and Fabric AMBA AHBLite/APB3 Design (MSS Master Mode)

Libero IDE Software Table of Contents 1 Configuration and Connectivity....................................................... 3 MSS Configuration.......................................................................... 3 Create the FPGA Fabric and AMBA Subsystem................................................... 5 2 Memory Map Computation........................................................... 9 General Formula........................................................................... 9 Memory Map View.......................................................................... 9 A Product Support.................................................................. 11 Contacting the Customer Technical Support Center............................................... 11 Non-Technical Customer Service............................................................. 11 Revision 1 2

1 Configuration and Connectivity The SmartFusion Microcontroller Subsystem enables you to naturally extend the AMBA Bus into the FPGA fabric. You can configure the AMBA fabric interface as either APB3 or AHBLite depending on your design needs. A master and a slave bus interface is available in each mode. This document provides the essential steps to creating mixed MSS-FPGA fabric AMBA AHBLite/APB3 system using the MSS configurator available in the Libero IDE software. AHBLite peripherals are connected to the MSS using CoreAHBLite version 3.0.112 or greater. APB peripherals are connected to the MSS using CoreAPB3 version 3.0.101 or greater. The CoreAHBLite and CoreAPB3 cores are bridged using CoreAHBtoAPB3 version 2.0.114 or greater. For more details about the Fabric Interface Controller (FIC), please refer to the Actel SmartFusion Microcontroller Subsystem User's Guide. MSS Configuration Step 1. Select the MSS FCLK (GLA0) to fabric clock clock ratio. Select the FAB_CLK divisor in the MSS Clock Management Configurator as shown Figure 1-1. You must perform post-layout static timing analysis to ensure that the design meets the timing requirements defined in the Clock Management Configurator. You may have to adjust the clock ratio between the MSS and the fabric to get a functional design. Figure 1-1 Select the MSS FCLK (GLA0) to Fabric Clock Clock Ratio Revision 1 3

Step 2. Select the MSS AMBA mode. Select the AHBLite Interface Type in the MSS Fabric Interface Configurator as shown in Figure 1-2. Figure 1-2 AHBLite Interface Selected Step 3. Promote the Fabric Interface AHBLite Bus Interface (BIF) master port (as shown in Figure 1-3). Enable the AHBLite Master Bus Interface (BIF) as shown in Figure 1-2. In the MSS configurator, right-click the Bus Interface master port (MSS Fabric Interface core) and choose Promote-to-top. The BIF master port will then be available to the next level of hierarchy (where the fabric extension needs to be implemented). Step 4. Promote FAB_CLK to make it a port (as shown in Figure 1-3). In the MSS configurator, right-click FAB_CLK (MSS Clock Management core) and choose Clear attribute, then right-click it again and choose Promote-to-top. The FAB_CLK port will then be available to the next level of hierarchy (where the fabric extension needs to be implemented). Note: Actel recommends that you not change the FAB_CLK top-level port name. The SmartDesign autoconnect feature only works if the FAB_CLK port name has not been changed. Step 5. Promote M2F_RESET_N to make it a port. In the MSS configurator, right-click M2F_RESET_N (MSS Reset Management core) and choose Clear attribute. The M2F_RESET_N port will then be available to the next level of hierarchy (where the fabric extension needs to be implemented). 4 Revision 1

Libero IDE Software Note: Actel recommends that you not change the M2F_RESET_N top level port name. The SmartDesign auto-connect feature only works if the M2F_RESET_N port name has not been changed. Figure 1-3 Promote FAB_CLK, M2F_RESET_N and APB3 Master Port Create the FPGA Fabric and AMBA Subsystem The fabric AMBA subsystem is created into a regular SmartDesign component, and then the MSS component is instantiated into that component (as shown in Figure 1-4). Step 1. Instantiate and configure CoreAHBLite. Select the Memory Mode 1 as shown in Figure 1-4. This mode provides 15 64KB slots that can be used to connect 15 AHBLite slaves. You may ignore the 16 4KB clients slots (mapped into Slot 4) and the huge slot as they are irrelevant in this particular MSS master configuration. Enable the slots that you are planning on using for your application. Enable the slots from the ENABLE Master1 AHBLite Slave Slots group as shown in the figure below. Only slots 5 to 15 Revision 1 5

can be used when CoreAHBLite is connected to the MSS component. See the "Memory Map Computation" on page 9. Figure 1-4 Configuring AHBLite: Memory Mode and Slave Slots Step 2. Instantiate Core AHB to APB3 Step 3. Instantiate and configure CoreAPB3 Select the direct addressing mode. Select the 32-bit APB bus master data bus width. It is the width of the MSS AMBA data bus width. Disable the slots that you do not plan on using for your application. All slots are available. See the "Memory Map Computation" on page 9 for more details about slot sizes and slave/slot connection. 6 Revision 1

Libero IDE Software Select the APB slot size as 4KB or below as shown in Figure 1-5. Assuming that you have selected 64KB slot sizes for CoreAHBLite, then the maximum size of the slots on CoreAPB3 (16 slots) is 64KB/16 = 4KB when going through CoreAHBtoAPB3. Figure 1-5 Select the APB Slot Size Step 5. Instantiate and configure AMBA AHBLite and APB peripherals in your design. Step 6. Connect the subsystem together. This can be done automatically or manually. Automatic Connection - The SmartDesign auto-connect feature (available from the SmartDesign Menu, toolbar or by right-clicking the Canvas) will automatically connect the subsystem clocks and resets and present you with a memory map editor where you can assign the AHBLite and APB slaves to the proper addresses. Note that the auto-connect feature performs the clock and reset connections only if the FAB_CLK and M2F_RESET_N port names have not been changed on the MSS component. Figure 1-6 SmartDesign Memory Map Editor - AHBLite Slaves Revision 1 7

Figure 1-7 SmartDesign Memory Map Editor - APB Slaves Manual Connection- Connect the subsystem as follows: Connect the CoreAHBLite mirrored-master BIF M0 or M1 to the MSS Master BIF (as shown in Figure 1-8). Use M1 if you plan to create a multi-master subsystem where you have a master in the fabric that requires the remap feature and thus needs to be connected to M0. Connect the slave BIF of CoreAHBtoAPB3 to the mirrored slave BIF of CoreAHBLite. Connect the CoreAPB3 mirrored-master BIF to the MSS master BIF. Connect the APB and AHBLite slaves to the proper slots as per your memory map specification. Connect FAB_CLK to HCLK/PCLK of all AHBLite/APB peripherals in your design. Connect M2F_RESET_N to HRESET/PRESET of all AHBLite/APB peripherals in your design. Figure 1-8 Manual Connections in Subsystem 8 Revision 1

2 Memory Map Computation General Formula For AHBLite, the slot size is always 64KB slots = 65536 slots (0x10000). For each AHBLite slots 5 to 15 (slots 0 to 4 are prohibited as per the CortexM3 memory map), the address of the client peripheral is: 0x40000000 + (AHBLite slot number * 0x10000). For each APB3 slots (all slots available), the address of the client peripheral is: 0x40000000 + (AHBLite slot number * 0x10000) + (APB3 slot number * APB3 slot size). Note: The base address for the fabric is fixed at 0x4005000, but to simplify the memory map equation we are showing the base address as 0x40000000. Memory Map View You can see the system memory map by using the SmartDesign Memory Map / Data Sheet feature (from the SmartDesign menu in the Libero IDE Project Manager). For example, Figure 2-1 is the memory map generated for the subsystem shown in Figure 1-8 on page 8. Figure 2-1 Memory Map Revision 1 9

A Product Support The Microsemi SoC Products Group backs its products with various support services including a Customer Technical Support Center and Non-Technical Customer Service. This appendix contains information about contacting the SoC Products Group and using these support services. Contacting the Customer Technical Support Center Microsemi staffs its Customer Technical Support Center with highly skilled engineers who can help answer your hardware, software, and design questions. The Customer Technical Support Center spends a great deal of time creating application notes and answers to FAQs. So, before you contact us, please visit our online resources. It is very likely we have already answered your questions. Technical Support Microsemi customers can receive technical support on Microsemi SoC products by calling Technical Support Hotline anytime Monday through Friday. Customers also have the option to interactively submit and track cases online at My Cases or submit questions through email anytime during the week. Web: www.actel.com/mycases Phone (North America): 1.800.262.1060 Phone (International): +1 650.318.4460 Email: soc_tech@microsemi.com ITAR Technical Support Microsemi customers can receive ITAR technical support on Microsemi SoC products by calling ITAR Technical Support Hotline: Monday through Friday, from 9 AM to 6 PM Pacific Time. Customers also have the option to interactively submit and track cases online at My Cases or submit questions through email anytime during the week. Web: www.actel.com/mycases Phone (North America): 1.888.988.ITAR Phone (International): +1 650.318.4900 Email: soc_tech_itar@microsemi.com Non-Technical Customer Service Contact Customer Service for non-technical product support, such as product pricing, product upgrades, update information, order status, and authorization. Microsemi s customer service representatives are available Monday through Friday, from 8 AM to 5 PM Pacific Time, to answer non-technical questions. Phone: +1 650.318.2470 Revision 1 11

Microsemi Corporation (NASDAQ: MSCC) offers the industry s most comprehensive portfolio of semiconductor technology. Committed to solving the most critical system challenges, Microsemi s products include high-performance, high-reliability analog and RF devices, mixed signal integrated circuits, FPGAs and customizable SoCs, and complete subsystems. Microsemi serves leading system manufacturers around the world in the defense, security, aerospace, enterprise, commercial, and industrial markets. Learn more at www.microsemi.com. Corporate Headquarters Microsemi Corporation 2381 Morse Avenue Irvine, CA 92614-6233 USA Phone 949-221-7100 Fax 949-756-0308 SoC Products Group 2061 Stierlin Court Mountain View, CA 94043-4655 USA Phone 650.318.4200 Fax 650.318.4600 www.actel.com SoC Products Group (Europe) River Court, Meadows Business Park Station Approach, Blackwatery Camberley Surrey GU17 9AB United Kingdom Phone +44 (0) 1276 609 300 Fax +44 (0) 1276 607 540 SoC Products Group (Japan) EXOS Ebisu Building 4F 1-24-14 Ebisu Shibuya-ku Tokyo 150 Japan Phone +81.03.3445.7671 Fax +81.03.3445.7668 SoC Products Group (Hong Kong) Room 2107, China Resources Building 26 Harbour Road Wanchai, Hong Kong Phone +852 2185 6460 Fax +852 2185 6488 2010 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. 5-02-00225-0/11.10