ASIC Logic - PowerPoint PPT Presentation

1 / 42
About This Presentation
Title:

ASIC Logic

Description:

Title: PowerPoint Presentation Last modified by: sean Created Date: 1/1/1601 12:00:00 AM Document presentation format: Other titles – PowerPoint PPT presentation

Number of Views:106
Avg rating:3.0/5.0
Slides: 43
Provided by: accessEe
Category:
Tags: asic | logic | signal

less

Transcript and Presenter's Notes

Title: ASIC Logic


1
ASIC Logic
  • Speaker Tian-Sheuan Chang
  • July, 2004

2
Goal of This Lab
  • Rapid Prototyping
  • Lint Checking
  • Coverage Verification
  • Familiarize with ARM Logic Module (LM)
  • Know how to program LM
  • HW/SW co-verification using LM and CM

3
Outline
  • Introduction
  • ARM System Overview
  • ARM Integrator System Memory Map
  • Prototyping with Logic Module
  • Lab ASIC Logic

4
Introduction
  • Rapid Prototyping A fast way to verify your
    prototype design.
  • Enables you to discover problems before tape out.
  • Helps to provide a better understanding of the
    designs behavior.
  • ARM Integrator and Logic Module can be used for
    Hardware Design Verification and HW/SW
    co-verification.
  • Hardware Design Verification using LM stand
    alone.
  • HW/SW co-verification using LM, CM, Integrator
    together.

5
Outline
  • Introduction
  • ARM System Overview
  • ARM Synchronization Scheme Interrupt
  • ARM Synchronization Scheme Polling
  • ARM Integrator System Memory Map
  • Prototyping with Logic Module
  • Lab ASIC Logic

6
ARM System Overview
  • A typical ARM system consists of an ARM core, a
    DSP chip for application-specific needs, some
    dedicated hardware accelerator IPs, storages, and
    some peripherals and controls.

7
ARM System Synchronization Scheme Interrupt
  • A device asserts an interrupt signal to request
    the ARM core handle it.
  • The ARM core can perform tasks while the device
    is in use.
  • Needs Interrupt Controller. More hardware.

8
IRQ registers
9
IRQ register Bit assignment
10
ARM System Synchronization Scheme Polling
  • The ARM core keeps checking a register indicating
    if the device has done its task.
  • The ARM core is busy polling the device while
    the device is in use.
  • Less hardware.

11
Outline
  • Introduction
  • ARM System Overview
  • ARM Integrator System Memory Map
  • Prototyping with Logic Module
  • Lab ASIC Logic

12
Overview of System Memory Map
13
Core Module Memory Map
  • Core Module Control Register CM_CTRL
  • 4-pole DIP switch (S1) on motherboard
  • S11ON code starts execution from boot ROM
  • S11OFF code starts execution from flash

14
Core Module Memory Map (cont.)
  • The nMBDET signal is permanently grounded by the
    motherboard so that it is pulled LOW on the core
    module when it is fitted.
  • The REMAP bit only has effect if the core module
    is attached to a motherboard (nMBDET 0).

15
Core Module Memory Map (cont.)
8MB
8MB
256MB
256KB
16
Core Module Alias Address
17
Integrator Memory Map for Core Modules
  • REMAP 0 Default following reset. Accesses to
    addresses 0x00000000 to 0x0003FFFF
  • S11 ON the access is to boot ROM
  • S11 OFF the access is to flash
  • REMAP 1 Accesses to address 0x00000000 to
    0x0003FFFF
  • REMAP ROM is slow narrow to RAM, so use this
    register to change memory map after initialization

18
Integrator Memory Map for Logic Modules
  • S11 ON the EBI resources are mapped into the
    bottom 256MB of the system memory map.
  • S11 OFF the flash is mapped repeatedly into
    bottom 256MB of the system memory map.

19
System Memory Map (1/3)
20
System Memory Map (2/3)
21
System Memory Map (3/3)
22
Outline
  • Introduction
  • ARM System Overview
  • ARM Integrator System Memory Map
  • Prototyping with Logic Module
  • ARM Integrator AP ARM LM
  • FPGA tools
  • Example 0
  • Example 1
  • Example 2
  • Exercise
  • Lab ASIC Logic

23
AP Layout
24
What is LM
  • Logic Module
  • A platform for developing Advanced
    Microcontroller Bus Architecture (AMBA), Advanced
    System Bus (ASB), Advanced High-performance Bus
    (AHB), and Advanced Peripheral Bus (APB)
    peripherals for use with ARM cores.

25
Using the LM
  • It can be used in the following ways
  • As a standalone system
  • With an CM, and a AP or SP motherboard
  • As a CM with either AP or SP motherboard if a
    synthesized ARM core is programmed into the FPGA
  • Stacked without a motherboard, if one module in
    the stack provides system controller functions of
    a motherboard

26
LM Architecture
27
Components of LM
  • Altera or Xilinx FPGA
  • Configuration PLD and flash memory for storing
    FPGA configurations
  • 1MB ZBT SSRAM
  • Clock generators and reset sources
  • A 4-way flash image selection switch and an 8-way
    user definable switch
  • 9 user-definable surface-mounted LEDs (8G1R)
  • User-definable push button
  • Prototyping grid

28
LM Layout
8-way switch
4-way switch
29
Links
  • CONFIG link
  • Enable configuration mode, which changes the JTAG
    signal routing and is used to download new PLD or
    FPGA configurations.
  • JTAG, Trace, and logic analyzer connectors
  • Other links, switches, and small ICs can be added
    to the prototyping grid if required.

30
Memory Map
31
On-board Clock Generators
32
Clock Signal Summary
33
Programming the LM Clock
1MHz CTRLCLKx19'b1100111110000000100
2MHz CTRLCLKx19'b1100011110000000100
5MHz CTRLCLKx19'b1100001110000000111 10MHz CTRL
CLKx19'b1100000110000000111
34
Example
  • The example code operates as follows
  • 1. Determines DRAM size on the core module and
    sets up the system controller
  • 2. Checks that the logic module is present in the
    AP expansion position
  • 3. Reports module information
  • 4. Sets the logic module clock frequencies
  • 5. Tests SSRAM for word, halfword, and byte
    accesses.
  • 6. Flashes the LEDs
  • 7. Remains in a loop that displays the switch
    value on the LEDs

35
Two Platform AHB ASB
  • Two versions of example 2 are provided to support
    the following implementations
  • AHB motherboard and AHB peripherals
  • ASB motherboard and AHB peripherals
  • Which AMBA has been downloaded on board can be
    observed by the alphanumber display
  • H AHB
  • S ASB

36
AHB-Lite System
37
Software Description
  • 5 files included in .\Lab7\Codes\SW\example2\
  • sw.mcp project file
  • logic.c the main C code
  • logic.h constant definitions
  • platform.h constant definitions
  • rw_support.s assembly functions for SSRAM testing

38
Outline
  • Introduction
  • ARM System Overview
  • ARM Integrator System Memory Map
  • Prototyping with Logic Module
  • Lab ASIC Logic

39
Lab ASIC Logic
  • Goal
  • nLint for coding style check of ASIC design
  • Coverage-driven verification of ASIC logics
  • HW/SW Co-verification using Rapid Prototyping
  • Principles
  • Basics and work flow for prototyping with ARM
    Integrator
  • Target platform AMBA AHB sub-system
  • Coding style check
  • Coverage driven verification
  • Guidance
  • Learn to use nLint to improve coding style of the
    ASIC design
  • Adopt systematic approach of verification using
    coverage metrics
  • Downloading ASIC design into LM
  • Understand HW/SW Co-verification on Integrator
  • Steps
  • Practice downloading hardware into LMs FPGA
  • Practice using nLint and Verification Navigator
  • Run the example with HW and SW together on
    Integrator

40
nLint coding style check
  • An RGB2YUV verilog HDL code is provided
  • With some error in coding sytle
  • Students are instructed familiarize with the use
    of nLint to perform coding style checking
  • Students are asked to correct the bad coding
    style.
  • Some errors in coding style can be rationalized,
    students should give the reason when decided not
    to correct a checking error reported from nLint

41
Coverage-driven verification
  • Students are instructed to be familiarize with
    the use of TransEDAs Verification Navigator.
  • The RGB2YUV example is still being used
  • The one used in nLint checking
  • Students are asked to write test patterns to
    achieve
  • 100 code coverage
  • 100 state coverage
  • 100 arc coverage

42
Downloading ASIC design to LM
  • The examples verilog codes are provided.
  • The students are instructed to go through Xilinx
    ISE Implementation flow.
  • The downloading procedures are instructed.
  • Students are instructed to observe how the
    example SW and HW operate together
Write a Comment
User Comments (0)
About PowerShow.com