Professional Documents
Culture Documents
1
Handbook
Table of Contents
Introduction.................................................................................5
General Description................................................................................................................. 5
Key Features............................................................................................................................ 5
Core Version............................................................................................................................ 5
Supported Families.................................................................................................................. 5
Utilization and Performance.................................................................................................... 5
Tool Flows..................................................................................13
Licensing............................................................................................................................... 13
SmartDesign.......................................................................................................................... 13
Simulation Flows................................................................................................................... 14
Synthesis in Libero SoC......................................................................................................... 14
Place-and-Route in Libero SoC............................................................................................... 14
Core Interfaces...........................................................................15
I/O Signals............................................................................................................................. 15
Core Parameters.................................................................................................................... 17
List of Changes...........................................................................25
Product Support.........................................................................27
Customer Service.................................................................................................................. 27
Customer Technical Support Center......................................................................................27
Technical Support.................................................................................................................. 27
Website................................................................................................................................. 27
Contacting the Customer Technical Support Center..............................................................27
ITAR Technical Support.......................................................................................................... 28
Introduction
General Description
The CoreHPDMACtrl soft IP is used to control the high performance direct memory access (HPDMA) of the
microcontroller subsystem (MSS) in SmartFusion2 or high-performance memory subsystem (HPMS) in
IGLOO2 and also monitors the transaction status.
CoreHPDMACtrl selects the buffer descriptor, initiates the transactions on the fabric interface controller (FIC)
and configures the MSS or HPMS HPDMA. It also monitors the interrupts for transfer done and transfer
error. The soft IP also re-configures the registers of HPDMA to prepare it for the next transfer.
Key Features
CoreHPDMACtrl has the following features:
Provides advanced high-performance bus (AHB)-Lite master interface to the FIC on the MSS or HPMS.
Core Version
This Handbook applies to CoreHPDMACtrl version 2.1.
Supported Families
SmartFusion2
IGLOO2
Total
1
1
Combinatorial
M
2
Sequential
Package
Logic Elements
Device
S
ma
Frequency
17
0
rtF
usi
on
2
S
1
5
0
T
S
5
2
F
C
IG
LO
O2
M
2
G
L
1
5
0
T
S
1
1
5
2
F
C
17
0
Note: The data in this table was achieved using typical synthesis and layout settings. Frequency (in MHz) was set to 150 and
speed grade was -1. The performance is listed only for descriptor buffer 0. It is same for descriptor buffer 1, 2, and 3.
Configure the fabric interface interrupt controller (FIIC) registers to enable interrupts from the MSS or
HPMS to fabric.
2.
3.
4.
Control register
As per the configuration set in the HPDMA registers, the DMA transfers are initiated between the double
data rate (DDR) memory and the AHB bus matrix mapped memory regions (eSRAM/eNVM/Fabric
RAMs) as shown in Figure 2.
The next transfer must be initiated only when the previous transfer is completed (with
corresponding descriptor bit set in HPD_DONE[3:0] or HPD_ERROR[3:0] for a clock pulse) and the
HPD_START[3:0] output is low. Refer to Figure 2 on page 13.
Timing Diagrams
Figure 3 shows the timings for generating the valid (HPD_VALID) corresponding to descriptor 0. It also
shows the transfer done (HPD_DONE) generation. The timings shown for HPD_VALID are same for all the
descriptors (descriptor 0 to descriptor 3).
Figure 3 shows the HPD_VALID for descriptor 0 generated for single clock cycle. The corresponding
HPD_START for the descriptor 0 is asserted on the clock after the HPD_VALID input is initiated indicating
that the transfer is active for the selected descriptor. It remains asserted till the current transfer is completed.
On receiving HPD_DONE for the current transaction, HPD_START bit for the corresponding descriptor is deasserted indicating that it is no longer active and is ready for another transfer.
Figure 5 shows the timings for generating the valid (HPD_VALID) corresponding to descriptor 0. It also
shows the timings for abort (HPD_ABORT) generation. The timings shown for HPD_VALID are same for all
the descriptors (descriptor 0 to descriptor 3).
Figure 5 shows the HPD_VALID for descriptor 0 generated along with HPD_ABORT. The HPD_VALID input
is asserted only for single clock cycle. The corresponding HPD_START for the descriptor 0 is asserted on
the clock after the HPD_VALID input is initiated indicating that the transfer is active for the selected
descriptor. It remains asserted till the current transfer is complete. The abort (HPD_ABORT) when asserted
terminates the current transaction. The HPD_ABORT for the currently-active-descriptor must be de-asserted
by the user design logic when the HPD_START bit for the descriptor 0 goes low as shown in Figure 5. The
user design logic is ready for another transfer when the HPD_START is low.
Figure 6 HPD_VALID for Descriptor 0 Generated along with HPD_ PAU_RES Operation
Tool Flows
Licensing
CoreHPDMACtrl is licensed in one way: Register transfer level (RTL).
RTL
Complete RTL source code is provided for the core.
SmartDesign
CoreHPDMACtrl is preinstalled in the SmartDesign IP Deployment design environment. An example
instantiated view is shown in Figure 7.
The core can be configured using the configuration GUI within SmartDesign. Figure 8 on page 27 shows the
SmartDesign CoreHPDMACtrl Configuration window.
For more information on using SmartDesign to instantiate and generate cores, refer to the Using DirectCore
in Libero System-on-Chip (SoC) User Guide or consult the Libero SoC online help.
Simulation Flows
The User Testbench for CoreHPDMACtrl is included in all releases.
To run simulations, select the User Testbench flow within SmartDesign and click Save and Generate on the
Generate pane. The User Testbench is selected through the core Testbench Configuration GUI.
When SmartDesign generates the Libero SoC project, it installs the user testbench files.
To run the User Testbench, set the design root to CoreHPDMACtrl instantiation in the Libero SoC design
hierarchy pane and click Simulation in the Libero SoC design flow window. This invokes ModelSim and
automatically runs the simulation.
Core Interfaces
I/O Signals
I/O signal descriptions for CoreHPDMACtrl are listed in Table 2.
Table 2 CoreHPDMACtrl I/O Signals
Portname
Type
Description
In
System Clock.
RESETN
In
HCLK
In
AHB Clock.
HRESET
In
HPD_VALID[3:0]
In
Active-high input which selects which of the four buffer descriptors are valid.
HPD_PAU_RES[3:0]
In
Active-high input which selects which of the four buffer descriptors are to be
paused.
Active-low input which selects which of the four buffer descriptors are to be
resumed from where they have stopped.
HPD_ABORT[3:0]
In
Active-high input which selects which of the four buffer descriptors are to be
cleared.
This clears the corresponding descriptor fields. The HPDMA then terminates the
current transfer and resets the descriptor status and control registers.
HPD_START[3:0]
Out
HPD_DONE [3:0]
Out
HPD_ERROR [3:0]
Out
HPD_SRCADDR_BUF0
In
HPD_DSTADDR_BUF0
In
HPD_TRANSSIZE_BUF
0
In
HPD_TRANSDIR_BUF0
In
HPD_SRCADDR_BUF1
In
HPD_DSTADDR_BUF1
In
HPD_TRANSSIZE_BUF
In
Portname
Type
1
HPD_TRANSDIR_BUF1
Description
Defines number of bytes to be transferred in a descriptor 1 transfer.
In
HPD_SRCADDR_BUF2
In
HPD_DSTADDR_BUF2
In
HPD_TRANSSIZE_BUF
2
In
HPD_TRANSDIR_BUF2
In
HPD_SRCADDR_BUF3
In
HPD_DSTADDR_BUF3
In
HPD_TRANSSIZE_BUF
3
In
HPD_TRANSDIR_BUF3
In
Interrupts
HPD_CMPLT_INT
In
HPD_ERROR_INT
In
It is asserted when any error occurs during any of the four Descriptors transfer. The
logical OR of individual Descriptor transfer error status is asserted as transfer error
interrupt. Once asserted, it remains asserted until cleared by means of writing 1
HPDMAICR_CLR_XFR_INT bit Interrupt Clear Register of the Descriptor- 0, 1, 2,
and 3. If HPDMA completes more than one Descriptor with errors before the
interrupt is serviced, then this bit remains asserted until all the descriptors have had
HPDMAICR_CLR_XFR_INTwritten to one.
Out
AHBL slave select this signal indicates that the current transfer is intended for the
selected slave.
HADDR[31:0]
Out
HWRITE
Out
AHBL write When HIGH,this signal indicates that the current transaction is a
write. When low, this signal indicates that the current transaction is a read.
Portname
HTRANS[1:0]
Type
Out
Description
AHBL transfer type Indicates the transfer type of the current transaction.
b00: IDLE
b01: BUSY
b10: NONSEQUENTIAL
b11: SEQUENTIAL
HSIZE[1:0]
Out
AHBL transfer size Indicates the size of the current transfer (8/16/32/64 bit
transactions only).
bx00: 8-bit (byte) transaction
bx01: 16-bit (half word) transaction
bx10: 32-bit (word) transaction
bx11: 64-bit(double word) transaction
HBURST[2:0]
Out
HWDATA[31:0]
Out
AHBL write data Writes data from the AHBL master to the AHBL slave
HREADY
In
When HIGH, this signal indicates to the master that the previous transfer is
complete.
HRESP
In
AHBL response status When driven HIGH at the end of a transaction, this signal
indicates that the transaction has completed with errors. When driven low at the
end of a transaction, this signal indicates that the transaction has completed
successfully.
HRDATA[31:0]
In
AHBL read data Reads data from the AHBL slave to the AHBL master.
Core Parameters
There are no parameters for CoreHPDMACtrl.
References
Ordering Information
Ordering Codes
CoreHPDMACtrl can be ordered through the local sales representative. It should be ordered using the
following number scheme: CoreHPDMACtrl -XX, where XX is listed in Table 3.
Table 3 Ordering Codes
XX
Description
RM
List of Changes
The following table lists critical changes that were made in each revision of the document.
Table 4 List of changes
Date
March 2014
November 2013
Change
Pag
e
N/A
Added the new ports for source address, destination address, transfer size, and transfer
direction as mentioned in Table 2.
29
33
N/A
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
Technical Support
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/.
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.