Altera PCI Compiler Manual de usuario Pagina 1

Busca en linea o descarga Manual de usuario para Instrumentos de medición Altera PCI Compiler. Altera PCI Compiler User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 360
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - User Guide

101 Innovation DriveSan Jose, CA 95134www.altera.comPCI CompilerUser GuideCompiler Version: 11.1Document Date: October 2011c The PCI Compiler is sched

Pagina 2

x User Guide Version 11.1 Altera CorporationPCI CompilerContentsOrdering PCI-to-Avalon Operations ...

Pagina 3 - UG-PCICOMPILER-4.12

3–26 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus SignalsTable 3–10 shows definitions for the local master transaction s

Pagina 4

Altera Corporation User Guide Version 11.1 3–27October 2011Functional DescriptionPCI Bus CommandsTable 3–11 shows the PCI bus commands that can be in

Pagina 5

3–28 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration RegistersIn master mode, the pci_mt64 and pci_mt32 functions can

Pagina 6 - Chapter 2. Parameter Settings

Altera Corporation User Guide Version 11.1 3–29October 2011Functional DescriptionTable 3–12 shows the defined 64-byte configuration space. The regist

Pagina 7 - Chapter 4. Testbench

3–30 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration Registersdevice ID register value on the Read-Only PCI Configura

Pagina 8 - Chapter 6. Parameter Settings

Altera Corporation User Guide Version 11.1 3–31October 2011Functional DescriptionVendor ID RegisterVendor ID is a 16-bit read-only register that iden

Pagina 9

3–32 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration RegistersCommand RegisterCommand is a 16-bit read/write register

Pagina 10 - Chapter 8. Testbench

Altera Corporation User Guide Version 11.1 3–33October 2011Functional DescriptionStatus RegisterStatus is a 16-bit register that provides the status

Pagina 11 - Additional Information

3–34 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration RegistersRevision ID RegisterRevision ID is an 8-bit read-only r

Pagina 12 - Contents

Altera Corporation User Guide Version 11.1 3–35October 2011Functional DescriptionClass Code RegisterClass code is a 24-bit read-only register divided

Pagina 13 - About PCI Compiler

Altera Corporation User Guide Version 11.1 xiPCI CompilerContents-speed ...

Pagina 14 - Device Family

3–36 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration RegistersLatency Timer RegisterThe latency timer register is an

Pagina 15 - Features

Altera Corporation User Guide Version 11.1 3–37October 2011Functional DescriptionBase Address RegistersThe PCI function supports up to six BARs. Each

Pagina 16

3–38 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration RegistersTable 3–23 shows the format of memory BARs.In addition

Pagina 17 - Description

Altera Corporation User Guide Version 11.1 3–39October 2011Functional DescriptionFor example, if a 64-bit BAR on BARs 1 and 0 is implemented and the

Pagina 18 - PCI Testbench

3–40 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration RegistersCardBus CIS Pointer RegisterThe card information struct

Pagina 19

Altera Corporation User Guide Version 11.1 3–41October 2011Functional DescriptionSubsystem ID RegisterThe subsystem ID register identifies the subsys

Pagina 20 - General Description

3–42 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Configuration RegistersThe PCI MegaCore functions allow you to set a default e

Pagina 21 - Flow for Your

Altera Corporation User Guide Version 11.1 3–43October 2011Functional Descriptionformat of the Interrupt Line Register.1 The interrupt pin can be ena

Pagina 22 - Compliance

3–44 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationMaximum Latency RegisterThe maximum latency register is a

Pagina 23 - Utilization

Altera Corporation User Guide Version 11.1 3–45October 2011Functional DescriptiontrdynvvvvstopnvvvvperrnvvvvserrnvvvvintanvvvvLocal-Side Datapath Sig

Pagina 24

xii User Guide Version 11.1 Altera CorporationPCI CompilerContents

Pagina 25

3–46 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationThe pci_mt64 and pci_t64 MegaCore functions support the f

Pagina 26

Altera Corporation User Guide Version 11.1 3–47October 2011Functional Descriptionack64n signals in the pci_mt64 and pci_t64 functions are asserted th

Pagina 27

3–48 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationTarget Read TransactionsThis section describes the behavi

Pagina 28

Altera Corporation User Guide Version 11.1 3–49October 2011Functional Description4. The PCI MegaCore function drives and asserts devseln (and ack64n

Pagina 29 - Licensing

3–50 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationSingle-cycle Memory Read Tar get Trans acti onsFigure 3–7

Pagina 30 - <path>

Altera Corporation User Guide Version 11.1 3–51October 2011Functional DescriptionTable 3–35 shows the sequence of events for a 64-bit single-cycle me

Pagina 31 - OpenCore Plus Evaluation

3–52 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode Operation1 The local-side design must ensure that PCI latency rule

Pagina 32 - Installation and Licensing

Altera Corporation User Guide Version 11.1 3–53October 2011Functional DescriptionBurst Memory Read Target TransactionsThe sequence of events for a bu

Pagina 33 - Manager Flow

3–54 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–8. Zero-Wait State Burst Memory Read Target Tran

Pagina 34

Altera Corporation User Guide Version 11.1 3–55October 2011Functional DescriptionFigure 3–9 shows the same transaction as in Figure 3–8 with the PCI

Pagina 35 - 1. Getting Started

Altera Corporation User Guide Version 11.1 1October 2011About PCI CompilerIntroductionThe Altera® PCI Compiler provides many options for creating cu

Pagina 36 - Function Design

3–56 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–10 shows the same transaction as shown in Figure

Pagina 37

Altera Corporation User Guide Version 11.1 3–57October 2011Functional DescriptionMismatched Bus Width Memory Read Target TransactionsThe following de

Pagina 38 - Launch IP Toolbench

3–58 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–11 shows that the local side transfers a full QW

Pagina 39 - Step 1: Parameterize

Altera Corporation User Guide Version 11.1 3–59October 2011Functional DescriptionFigure 3–12 shows a 32-bit PCI side and 64-bit local side burst memo

Pagina 40

3–60 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–12. 32-Bit PCI and 64-Bit Local-Side Burst Memor

Pagina 41 - Step 3: Generate

Altera Corporation User Guide Version 11.1 3–61October 2011Functional DescriptionI/O Read TransactionsI/O read transactions by definition are 32 bits

Pagina 42

3–62 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationConfiguration Read TransactionsConfiguration read transac

Pagina 43

Altera Corporation User Guide Version 11.1 3–63October 2011Functional DescriptionTarget Write TransactionsThis section describes the behavior of the

Pagina 44

3–64 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationSingle-cycle Memory Write Targ e t Tr a nsactio n sFigur

Pagina 45

Altera Corporation User Guide Version 11.1 3–65October 2011Functional DescriptionTable 3–36 shows the sequence of events for a 64-bit single-cycle me

Pagina 46 - Simulation Files

2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Release InformationRelease InformationTable 1 provides information about this rel

Pagina 47 - Master Simulation Files

3–66 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode Operation7The rising edge of clock cycle 7 registers the valid dat

Pagina 48

Altera Corporation User Guide Version 11.1 3–67October 2011Functional DescriptionBurst Memory Write Target TransactionsThe sequence of events in a bu

Pagina 49 - Target Simulation Files

3–68 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–16. Zero-Wait State Burst Memory Write Target Tr

Pagina 50

Altera Corporation User Guide Version 11.1 3–69October 2011Functional DescriptionFigure 3–17 shows the same transaction as in Figure 3–16 with the PC

Pagina 51

3–70 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–18 shows the same transaction as in Figure 3–16

Pagina 52 - PCI Timing

Altera Corporation User Guide Version 11.1 3–71October 2011Functional DescriptionMismatched Bus-Width Memory Write Target TransactionsThe following d

Pagina 53 - Designs

3–72 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationIn Figure 3–19, the local-side transfer occurs in clock c

Pagina 54

Altera Corporation User Guide Version 11.1 3–73October 2011Functional DescriptionFigure 3–20 shows a 32-bit burst memory write transaction; the event

Pagina 55

3–74 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–20. 32-Bit PCI & 64-Bit Local-Side Burst Mem

Pagina 56

Altera Corporation User Guide Version 11.1 3–75October 2011Functional DescriptionI/O Write TransactionsI/O write transactions by definition are 32 bi

Pagina 57

Altera Corporation User Guide Version 11.1 3October 2011 About PCI CompilerTable 2 shows the level of support offered by the User Guide MegaCore func

Pagina 58 - Using the Reference Designs

3–76 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationConfiguration Write TransactionsConfiguration write trans

Pagina 59 - 2. Parameter Settings

Altera Corporation User Guide Version 11.1 3–77October 2011Functional DescriptionTarget Transaction TerminationsFor all transactions except configura

Pagina 60

3–78 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–23. Target RetryNote to Figure 3–23:(1) This sig

Pagina 61 - Function

Altera Corporation User Guide Version 11.1 3–79October 2011Functional DescriptionDisconnectA PCI target can signal a disconnect by asserting stopn an

Pagina 62 - Master Features

3–80 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–24 shows an example of a disconnect during a bur

Pagina 63

Altera Corporation User Guide Version 11.1 3–81October 2011Functional DescriptionFigure 3–25 shows an example of a disconnect during a burst target w

Pagina 64

3–82 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–26 shows an example of a disconnect during a bur

Pagina 65 - Parameters

Altera Corporation User Guide Version 11.1 3–83October 2011Functional DescriptionFigure 3–27 shows an example of a disconnect during a burst target r

Pagina 66

3–84 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationFigure 3–28 shows an example of a disconnect during a 32-

Pagina 67 - HARDWIRE_EXP_ROM

Altera Corporation User Guide Version 11.1 3–85October 2011Functional DescriptionFigure 3–27 shows an example of a disconnect during a 32-bit read on

Pagina 68 - ENABLE_BITS

4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Features IP functional simulation models enable simulation of a register transfe

Pagina 69 - EXP_ROM_ENA

3–86 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Target Mode OperationTarget AbortTarget abort refers to an abnormal terminatio

Pagina 70 - INTERNAL_ARBITER_ENA (1)

Altera Corporation User Guide Version 11.1 3–87October 2011Functional DescriptionFigure 3–30. Target AbortNote to Figure 3–30:(1) This signal is not

Pagina 71

3–88 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationAdditional Design Guidelines for Target TransactionsAlter

Pagina 72

Altera Corporation User Guide Version 11.1 3–89October 2011Functional DescriptionPCI MegaCore function. Table 3–37. PCI MegaCore Function Signals (P

Pagina 73 - MW_CBEN_ENA

3–90 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationThe PCI MegaCore functions support both 64-bit and 32-bit

Pagina 74 - Variation File Parameters

Altera Corporation User Guide Version 11.1 3–91October 2011Functional DescriptionThe pci_mt64 and pci_mt32 functions support the following 32-bit PCI

Pagina 75 - 3. Functional Description

3–92 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationThe pci_mt64 and pci_mt32 functions can generate transact

Pagina 76

Altera Corporation User Guide Version 11.1 3–93October 2011Functional DescriptionMaster Read TransactionsThis section describes the behavior of the P

Pagina 77

3–94 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode Operation4. A turn-around cycle on the ad bus occurs during the cl

Pagina 78

Altera Corporation User Guide Version 11.1 3–95October 2011Functional DescriptionBurst Memory Read Master TransactionsFigure 3–31 shows the waveform

Pagina 79

Altera Corporation User Guide Version 11.1 5October 2011 About PCI Compiler Hard-coded (fixed) or run-time configurable (dynamic) Avalon-to-PCI addr

Pagina 80

3–96 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationTable 3–38 shows the sequence of events for a 64-bit zero

Pagina 81

Altera Corporation User Guide Version 11.1 3–97October 2011Functional Description7The function asserts irdyn to inform the target that the function i

Pagina 82

3–98 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode Operation10Because lm_lastn was asserted and a data phase was comp

Pagina 83

Altera Corporation User Guide Version 11.1 3–99October 2011Functional DescriptionFigure 3–32 shows the same transaction as in Figure 3–31, but the lo

Pagina 84

3–100 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–33 shows the same transaction as in Figure 3–31

Pagina 85 - PCI Bus Signals

Altera Corporation User Guide Version 11.1 3–101October 2011Functional DescriptionThe local side deasserts lm_rdyn in clock cycle 9. Consequently, on

Pagina 86

3–102 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–34. Burst Memory Read Master Transaction with P

Pagina 87

Altera Corporation User Guide Version 11.1 3–103October 2011Functional DescriptionSingle-Cycle Memory Read Master TransactionFigure 3–35 shows a 64-b

Pagina 88

3–104 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–35. 64-Bit Single-Cycle Memory Read Master Tran

Pagina 89

Altera Corporation User Guide Version 11.1 3–105October 2011Functional DescriptionFigure 3–36 shows a 32-bit single cycle memory read master transact

Pagina 90

6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011General DescriptionTo ensure timing and protocol compliance, the PCI MegaCore fun

Pagina 91

3–106 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationMismatched Bus Width Burst Memory Read Master Transactio

Pagina 92

Altera Corporation User Guide Version 11.1 3–107October 2011Functional DescriptionFigure 3–37. 32-Bit PCI & 64-Bit Local Side Burst Memory Read M

Pagina 93 - "). The signals lm_ackn

3–108 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationMaster Write TransactionsThis section describes the beha

Pagina 94 - Target Local-Side Signals

Altera Corporation User Guide Version 11.1 3–109October 2011Functional Description3. The PCI function begins the PCI address phase. During the PCI ad

Pagina 95

3–110 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationBurst Memory Write Master TransactionsFigure 3–38 shows

Pagina 96

Altera Corporation User Guide Version 11.1 3–111October 2011Functional DescriptionTable 3–39 shows the sequence of events for a 64-bit zero-wait stat

Pagina 97

3–112 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode Operation6 The PCI MegaCore function begins the 64-bit memory wri

Pagina 98 - Master Local-Side Signals

Altera Corporation User Guide Version 11.1 3–113October 2011Functional Description9Because irdyn and trdyn are asserted, the second 64-bit data word

Pagina 99

3–114 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–39 shows the same transaction as in Figure 3–42

Pagina 100

Altera Corporation User Guide Version 11.1 3–115October 2011Functional DescriptionFigure 3–40 shows the same transaction as in Figure 3–38 but with t

Pagina 101 - Commands

Altera Corporation User Guide Version 11.1 7October 2011 About PCI CompilerFigure 1 shows a PCI-to-DDR2 SDRAM controller interface design using the P

Pagina 102 - Registers

3–116 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–41 shows the same transaction as in Figure 3–38

Pagina 103

Altera Corporation User Guide Version 11.1 3–117October 2011Functional DescriptionFigure 3–41. Burst Memory Write Master Transaction with PCI Wait St

Pagina 104

3–118 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationMegaCore Function Features page of the Parameterize - PC

Pagina 105 - Device ID Register

Altera Corporation User Guide Version 11.1 3–119October 2011Functional DescriptionFigure 3–42. Burst Memory Write Master Transaction with Variable By

Pagina 106 - Command Register

3–120 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–43. 32-Bit PCI & 32-Bit Local-Side Single-C

Pagina 107 - Status Register

Altera Corporation User Guide Version 11.1 3–121October 2011Functional Description64-Bit Single Cycle Memory Write Master TransactionsThis section is

Pagina 108 - Revision ID Register

3–122 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–44. PCI 64-Bit Single-Cycle Master Memory Write

Pagina 109 - Cache Line Size Register

Altera Corporation User Guide Version 11.1 3–123October 2011Functional DescriptionMismatched Bus Width Burst Memory Write Master TransactionsThis sec

Pagina 110 - Header Type Register

3–124 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationFigure 3–45. 32-Bit PCI & 64-Bit Local-Side Master B

Pagina 111 - Base Address Registers

Altera Corporation User Guide Version 11.1 3–125October 2011Functional DescriptionAbnormal Master Transaction TerminationAn abnormal transaction term

Pagina 112

i–ii User Guide Version 11.1 Altera CorporationPCI Compiler

Pagina 113 - Reserved

8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011General DescriptionFor example, Figure 2 shows the PCI-to-DDR2 SDRAM design using

Pagina 114 - Subsystem Vendor ID Register

3–126 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Master Mode OperationDisconnect Without DataThe target device issues a discon

Pagina 115 - Subsystem ID Register

Altera Corporation User Guide Version 11.1 3–127October 2011Functional DescriptionHost Bridge OperationThis section describes using the pci_mt64 and

Pagina 116 - Interrupt Line Register

3–128 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Host Bridge OperationFigure 3–46. Configuration Read from Internal Configura

Pagina 117 - Minimum Grant Register

Altera Corporation User Guide Version 11.1 3–129October 2011Functional DescriptionPCI Configuration Write Transaction from the pci_mt64 Local Master

Pagina 118 - Operation

3–130 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Host Bridge OperationFigure 3–47. Configuration Write to Internal Configurati

Pagina 119 - Functional Description

Altera Corporation User Guide Version 11.1 3–131October 2011Functional Description64-Bit Addressing, Dual Address Cycle (DAC)This section describes a

Pagina 120

3–132 User Guide Version 11.1 Altera CorporationPCI Compiler October 201164-Bit Addressing, Dual Address Cycle (DAC)64-Bit Address, 64-Bit Data Single

Pagina 121

Altera Corporation User Guide Version 11.1 3–133October 2011Functional DescriptionFigure 3–48. 64-Bit Address, 64-Bit Data Single-Cycle Target Read T

Pagina 122 - Target Read Transactions

3–134 User Guide Version 11.1 Altera CorporationPCI Compiler October 201164-Bit Addressing, Dual Address Cycle (DAC)Master Mode OperationA master oper

Pagina 123

Altera Corporation User Guide Version 11.1 3–135October 2011Functional DescriptionFigure 3–49. 64-Bit Address, 64-Bit Data Master Burst Memory Read T

Pagina 124 - Note Figure 3–7:

Altera Corporation User Guide Version 11.1 9October 2011 About PCI CompilerSelecting the Appropriate Flow for Your DesignTable 3 summarizes the guide

Pagina 125 - Clock Cycle Event

3–136 User Guide Version 11.1 Altera CorporationPCI Compiler October 201164-Bit Addressing, Dual Address Cycle (DAC)

Pagina 126

Altera Corporation User Guide Version 11.1 4–1October 20114. TestbenchGeneral DescriptionThe Altera PCI testbench facilitates the design and verifica

Pagina 127

4–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011FeaturesFeaturesThe PCI testbench includes the following features: Easy to use

Pagina 128 - Note to Figure 3–8:

Altera Corporation User Guide Version 11.1 4–3October 2011 PCI CompilerTestbenchTable 4–1 gives a description of the PCI testbench source files provi

Pagina 129 - Note to Figure 3–9:

4–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Testbench FilesTable 4–2 describes the reference design files provided in t

Pagina 130 - Note to Figure 3–10:

Altera Corporation User Guide Version 11.1 4–5October 2011 PCI CompilerTestbenchRefer to “Simulation Flow” on page 4–20 for more information on the m

Pagina 131

4–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench SpecificationsTestbench SpecificationsThis section describes the modu

Pagina 132

Altera Corporation User Guide Version 11.1 4–7October 2011 PCI CompilerTestbenchTable 4–5 shows the testbench's target termination support. The

Pagina 133

4–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench SpecificationsThe bus monitor informs the master transactor of a succ

Pagina 134 - Note to Figure 3–12:

Altera Corporation User Guide Version 11.1 4–9October 2011 PCI CompilerTestbenchcfg_rdThe cfg_rd command performs single-cycle PCI configuration read

Pagina 135 - I/O Read Transactions

10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Compliance SummaryPCI Compiler With MegaWizard Plug-in Manager Flow This section

Pagina 136

4–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench Specifications The mem_wr_32 command performs a burst-cycle 32-bit

Pagina 137 - Target Write Transactions

Altera Corporation User Guide Version 11.1 4–11October 2011 PCI CompilerTestbenchmem_wr_64The mem_wr_64 command performs a memory write of the data t

Pagina 138 - Note to Figure 3–15:

4–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench Specificationsio_wrThe io_wr command performs a single-cycle memory

Pagina 139

Altera Corporation User Guide Version 11.1 4–13October 2011 PCI CompilerTestbenchany address that is within the BAR1 range results in an io_hit actio

Pagina 140

4–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench Specificationsin the PCI transactions as required by your applicatio

Pagina 141

Altera Corporation User Guide Version 11.1 4–15October 2011 PCI CompilerTestbenchArbiter (arbiter)This module simulates the PCI bus arbiter. The modu

Pagina 142 - Note to Figure 3–16:

4–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Local Reference DesignFigure 4–3. Local Reference DesignNote to Figure 4–3:(1)

Pagina 143 - Note to Figure 3–17:

Altera Corporation User Guide Version 11.1 4–17October 2011 PCI CompilerTestbenchLocal TargetThe local target consists of a simple state machine that

Pagina 144 - Note to Figure 3–18:

4–18 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Local Reference DesignThe dma_bc_la register location includes the following 3

Pagina 145

Altera Corporation User Guide Version 11.1 4–19October 2011 PCI CompilerTestbenchLocal MasterThe DMA engine triggers the local master. The local mast

Pagina 146 - Note to Figure 3–19:

Altera Corporation User Guide Version 11.1 11October 2011 About PCI Compilerhost bridge, Ethernet network adapter, and video card. The Altera PCI Meg

Pagina 147

4–20 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Simulation FlowSimulation FlowThis section describes the simulation flow using

Pagina 148 - Note to Figure 3–20:

Altera Corporation User Guide Version 11.1 4–21October 2011 PCI CompilerTestbench4. Modify the target transactor model memory range. The target trans

Pagina 149 - I/O Write Transactions

4–22 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Simulation Flow

Pagina 150

Altera Corporation Section II–1October 2011 Section II. PCI CompilerWith SOPC Builder FlowThe PCI Compiler with SOPC Builder flow option allows yo

Pagina 151

Section II–2 User Guide 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler With SOPC Builder Flow

Pagina 152 - Note to Figure 3–23:

Altera Corporation User Guide Version 11.1 5–1October 20115. Getting StartedDesign FlowTo create a PCI system that uses the PCI Compiler with SOPC B

Pagina 153 - Disconnect

5–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler with SOPC Builder Flow Design WalkthroughAfter you have purchased

Pagina 154 - Note to Figure 3–24:

Altera Corporation User Guide Version 11.1 5–3October 2011 PCI CompilerGetting StartedFigure 5–1. System Generated Using SOPC Builder1 This walkthrou

Pagina 155 - Note to Figure 3–25:

5–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler with SOPC Builder Flow Design Walkthrough4. In the New Project Wiz

Pagina 156 - Note to Figure 3–26:

Altera Corporation User Guide Version 11.1 5–5October 2011 PCI CompilerGetting Startedc. Under Show in ‘Available device’ list, all fields should hav

Pagina 157 - Note to Figure 3–27:

12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Performance and Resource UtilizationMegaCore function. Using different parameter

Pagina 158

5–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler with SOPC Builder Flow Design Walkthrough6. Click Next to display

Pagina 159

Altera Corporation User Guide Version 11.1 5–7October 2011 PCI CompilerGetting StartedAdd the Remaining Components to the SOPC Builder SystemYou will

Pagina 160 - Target Abort

5–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler with SOPC Builder Flow Design WalkthroughComplete the Connections

Pagina 161 - Note to Figure 3–30:

Altera Corporation User Guide Version 11.1 5–9October 2011 PCI CompilerGetting Started4. From the System menu, select Auto-Assign Base Addresses.SOPC

Pagina 162 - Master Mode

5–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler with SOPC Builder Flow Design WalkthroughFiles Generated by SOPC

Pagina 163

Altera Corporation User Guide Version 11.1 5–11October 2011 PCI CompilerGetting StartedSimulate the DesignSOPC Builder automatically sets up the simu

Pagina 164 - Master Mode Operation

5–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler with SOPC Builder Flow Design WalkthroughYou can also copy the ms

Pagina 165

Altera Corporation User Guide Version 11.1 5–13October 2011 PCI CompilerGetting Started Configuration read operations on command registers BAR0 and

Pagina 166 - PCI Bus Parking

5–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Program a Device1 You must use the -pin_suffix option for the PCI constraints

Pagina 167 - Master Read Transactions

Altera Corporation User Guide Version 11.1 5–15October 2011 PCI CompilerGetting StartedUpgrading Systems from a Previous VersionFollow the steps belo

Pagina 168

Altera Corporation User Guide Version 11.1 13October 2011 About PCI CompilerTable 6 shows PCI MegaCore function resource utilization and performance

Pagina 169 - Notes to Figure 3–31:

5–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Program a Device

Pagina 170

Altera Corporation User Guide Version 11.1 6–1October 20116. Parameter SettingsThis chapter describes the parameters available to configure PCI Compi

Pagina 171

6–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011System Options-1Selecting the PCI Master/Target Peripheral mode results in the

Pagina 172

Altera Corporation User Guide Version 11.1 6–3October 2011Parameter SettingsPCI Target Performance This field lists the three available PCI target pe

Pagina 173 - Note to Figure 3–32:

6–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011System Options-1In fact, if the PCI-Avalon bridge has no prefetchable BARs, it

Pagina 174 - Notes to Figure 3–33:

Altera Corporation User Guide Version 11.1 6–5October 2011Parameter SettingsPCI Master Performance This field lists the two available PCI master perf

Pagina 175

6–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Value of Multiple Pending ReadsAlthough up to four pending reads can be issued

Pagina 176 - Notes to Figure 3–34:

Altera Corporation User Guide Version 11.1 6–7October 2011Parameter SettingsFigure 6–1. PCI-Avalon Bridge Burst Transfer with Multiple Pending ReadsI

Pagina 177

6–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Value of Multiple Pending Reads6. At some point the data for R1 is returned by

Pagina 178 - Notes to Figure 3–35:

Altera Corporation User Guide Version 11.1 6–9October 2011Parameter SettingsSystem Options-2 The System Options - 2 tab in the PCI Compiler wizard de

Pagina 179 - Note to Figure 3–36:

14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Performance and Resource UtilizationTable 8 lists memory utilization and perform

Pagina 180

6–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011System Options-2The Shared PCI and Avalon Clocks option allows the PCI bus and

Pagina 181

Altera Corporation User Guide Version 11.1 6–11October 2011Parameter Settings1 To implement a Host bridge device with no other PCI master-capable dev

Pagina 182 - Master Write Transactions

6–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Configurationif the address matches one of the BARs. The PCI-Avalon bridge

Pagina 183

Altera Corporation User Guide Version 11.1 6–13October 2011Parameter Settingsin this BAR type to 2 GBytes. In other words, this BAR type allows your

Pagina 184 - Notes to Figure 3–38:

6–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI ConfigurationHardwired PCI Address—The hardwired PCI address setting allow

Pagina 185

Altera Corporation User Guide Version 11.1 6–15October 2011Parameter SettingsThe PCI-Avalon address translation circuit requires that you supply the

Pagina 186

6–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Avalon ConfigurationIn some cases, you should try to adjust the Base Address o

Pagina 187

Altera Corporation User Guide Version 11.1 6–17October 2011Parameter Settings 16 if hardwired or 512 if dynamically configured 2 GBytes divided by

Pagina 188 - Note to Figure 3–39:

6–18 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Avalon Configuration

Pagina 189 - Notes to Figure 3–40:

Altera Corporation User Guide Version 11.1 7–1October 20117. Functional DescriptionThis chapter provides specification details for the PCI Compiler w

Pagina 190

Altera Corporation User Guide Version 11.1 15October 2011 About PCI CompilerTable 9 lists memory utilization and performance data for Cyclone II devi

Pagina 191 - Notes to Figure 3–41:

7–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewThis section discusses: PCI-Avalon bridge module blocks PC

Pagina 192

Altera Corporation User Guide Version 11.1 7–3October 2011Functional DescriptionFigure 7–1. Generic PCI-Avalon Bridge Block DiagramAvalon-MM PortsThe

Pagina 193 - Notes to Figure 3–42:

7–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewThis port is optimized for high bandwidth transfers as a PCI

Pagina 194 - Note to Figure 3–43:

Altera Corporation User Guide Version 11.1 7–5October 2011Functional Descriptionbridge’s master ports must be connected to this port. There is no int

Pagina 195

7–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewPCI Bus ArbiterThe PCI-Avalon bridge has an optional, integr

Pagina 196

Altera Corporation User Guide Version 11.1 7–7October 2011Functional DescriptionFigure 7–2. PCI-Avalon Bridge Managing the PCI Target-Only Peripheral

Pagina 197

7–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewFigure 7–3. PCI-Avalon Bridge Managing the PCI Target-Only P

Pagina 198

Altera Corporation User Guide Version 11.1 7–9October 2011Functional DescriptionFigure 7–4. PCI-Avalon Bridge Block Diagram Managing the PCI Master/T

Pagina 199 - Latency Timer Expires

7–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewFigure 7–5. PCI-Avalon Bridge Managing the PCI Master/Targe

Pagina 200 - Master Abort

Altera Corporation User Guide Version 11.1 7–11October 2011Functional DescriptionFigure 7–6. PCI-Avalon Bridge Block Diagram Managing the PCI Host-Br

Pagina 201 - Host Bridge

16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Performance and Resource UtilizationTable 11 lists memory utilization and perfor

Pagina 202 - Note to Figure 3–46:

7–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewWithin each of the PCI operating modes, the targeted Altera

Pagina 203

Altera Corporation User Guide Version 11.1 7–13October 2011Functional DescriptionBurst Transfers With Single Pending Read This profile provides high

Pagina 204 - Note to Figure 3–47:

7–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Interface Signalsrequirements. If you use the PCI constraint files as recommen

Pagina 205 - Cycle (DAC)

Altera Corporation User Guide Version 11.1 7–15October 2011Functional DescriptionPCI Bus Commands Table 7–3 shows the PCI bus commands support for PC

Pagina 206

7–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Target OperationPCI configuration read and write operations are automatica

Pagina 207

Altera Corporation User Guide Version 11.1 7–17October 2011Functional Description Read requests will always be initially retried and completed as de

Pagina 208

7–18 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Target OperationTo ensure the lowest possible latency, the PCI-Avalon brid

Pagina 209

Altera Corporation User Guide Version 11.1 7–19October 2011Functional DescriptionI/O Write OperationsThe non-prefetchable bridge data path handles th

Pagina 210

7–20 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Target OperationA PCI read operation handled by the non-prefetchable bridg

Pagina 211 - 4. Testbench

Altera Corporation User Guide Version 11.1 7–21October 2011Functional DescriptionTable 7–5 shows all of the termination conditions that are possible

Pagina 212

Altera Corporation User Guide Version 11.1 17October 2011 About PCI CompilerInstallation and LicensingThe User Guide is part of the MegaCore IP Libra

Pagina 213 - File(1) Description

7–22 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Target OperationThese features result in higher bandwidth, but introduce h

Pagina 214

Altera Corporation User Guide Version 11.1 7–23October 2011Functional DescriptionPrefetchable Read OperationsAll prefetchable PCI read requests that

Pagina 215

7–24 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Target OperationThe read requests are passed through the PCI-to-Avalon com

Pagina 216 - Specifications

Altera Corporation User Guide Version 11.1 7–25October 2011Functional Description The PCI memory read command initiates burst transaction to the Ava

Pagina 217 - PROCEDURES and TASKS Sections

7–26 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Target OperationTable 7–8 lists the reasons for which a burst transfer can

Pagina 218 - USER COMMANDS Section

Altera Corporation User Guide Version 11.1 7–27October 2011Functional DescriptionFigure 7–8. PCI-to-Avalon Address TranslationPCI Master Operation Th

Pagina 219

7–28 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationThe PCI-Avalon bridge uses the burst count to select the b

Pagina 220

Altera Corporation User Guide Version 11.1 7–29October 2011Functional Description1 Avalon-MM burst read requests are treated as if they are going to

Pagina 221

7–30 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationFigure 7–9 shows the basic data paths and control structur

Pagina 222

Altera Corporation User Guide Version 11.1 7–31October 2011Functional DescriptionFigure 7–9. Avalon-to-PCI Block DiagramAvalon-to-PCI Write RequestsF

Pagina 223 - PROCEDURES and TASKS sections

Copyright © 2011 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo,specific device designa

Pagina 224 - Clock Generator (clk_gen)

18 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Installation and LicensingFigure 3. Directory StructureqexamplesContains example

Pagina 225 - Local Reference

7–32 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationThe PCI-Avalon bridge will not combine multiple Avalon-MM

Pagina 226 - Description

Altera Corporation User Guide Version 11.1 7–33October 2011Functional DescriptionSingle-cycle, 64-bit Avalon-to-PCI read requests that have only the

Pagina 227 - DMA Engine

7–34 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationArbitration Among Pending PCI Master RequestsThe transacti

Pagina 228

Altera Corporation User Guide Version 11.1 7–35October 2011Functional Description1 The head-of-line read command in the pending read queue is the one

Pagina 229 - LPM RAM

7–36 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationFigure 7–10. Avalon-to-PCI Address TranslationAddress Tran

Pagina 230 - Simulation Flow

Altera Corporation User Guide Version 11.1 7–37October 2011Functional Descriptionwhether the resulting PCI address is a 32- or 64-bit address. Table

Pagina 231 - October 2011 PCI Compiler

7–38 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationThe Avalon-to-PCI address translation table has two config

Pagina 232

Altera Corporation User Guide Version 11.1 7–39October 2011Functional Description● PCI target, configuration writes are the only requests accepted, w

Pagina 233 - With SOPC Builder Flow

7–40 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationFigure 7–11. Ordering Logic for Avalon-to-PCI DirectionA2P

Pagina 234

Altera Corporation User Guide Version 11.1 7–41October 2011Functional DescriptionTable 7–14 specifies the ordering rules and behavior of the PCI-Aval

Pagina 235 - 5. Getting Started

Altera Corporation User Guide Version 11.1 19October 2011 About PCI CompilerOpenCore Plus EvaluationWith Altera’s free OpenCore Plus evaluation featu

Pagina 236 - Walkthrough

7–42 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationOrdering PCI-to-Avalon OperationsFor requests that hit a p

Pagina 237

Altera Corporation User Guide Version 11.1 7–43October 2011Functional DescriptionFigure 7–12. Ordering Logic for PCI-to-Avalon DirectionP2A Prefetcha

Pagina 238

7–44 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Master OperationTable 7–15 specifies the ordering rules and behavior for t

Pagina 239 - Set Up the PCI-Avalon Bridge

Altera Corporation User Guide Version 11.1 7–45October 2011Functional DescriptionPCI Host-Bridge Operation You can use the PCI Host-Bridge Device ope

Pagina 240

7–46 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011InterruptsWhen no ArbReq_n_i lines are asserted, ArbGnt_n_o[0] will be asserte

Pagina 241 - Getting Started

Altera Corporation User Guide Version 11.1 7–47October 2011Functional DescriptionThe Avalon-MM interrupt status register contains two bits that indic

Pagina 242

7–48 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status RegistersBecause all accesses come from Avalon-MM (reques

Pagina 243

Altera Corporation User Guide Version 11.1 7–49October 2011Functional DescriptionTable 7–17 shows the complete map of registers.The following section

Pagina 244

7–50 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status RegistersTable 7–18 describes the PCI interrupt status re

Pagina 245 - Simulate the

Altera Corporation User Guide Version 11.1 7–51October 2011Functional DescriptionPCI Interrupt Enable RegisterBy setting the corresponding bits in th

Pagina 246

20 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Installation and Licensing

Pagina 247 - Compile the

7–52 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status RegistersAvalon-MM interrupts can also be enabled for all

Pagina 248 - Program a

Altera Corporation User Guide Version 11.1 7–53October 2011Functional DescriptionThe Avalon-to-PCI mailbox registers are readable at the addresses sh

Pagina 249 - Previous

7–54 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status RegistersThe lower order address bits that are treated as

Pagina 250 - Program a Device

Altera Corporation User Guide Version 11.1 7–55October 2011Functional DescriptionTable 7–23 lists some basic configuration parameters of the bridge.T

Pagina 251 - 6. Parameter Settings

7–56 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status RegistersTable 7–24 lists some key performance sizing inf

Pagina 252 - System Options-1

Altera Corporation User Guide Version 11.1 7–57October 2011Functional DescriptionTable 7–26 describes the Avalon-MM interrupt status register bits.Ta

Pagina 253 - PCI Target Performance

7–58 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status Registers7INTAN_RISERW1CThis bit is set to 1 when the PCI

Pagina 254

Altera Corporation User Guide Version 11.1 7–59October 2011Functional DescriptionTable 7–27 describes the current PCI status register. This register

Pagina 255 - PCI Master Performance

7–60 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status RegistersAvalon-MM Interrupt Enable RegisterAn Avalon-MM

Pagina 256 - Pending Reads

Altera Corporation User Guide Version 11.1 7–61October 2011Functional DescriptionThe Avalon-to-PCI mailbox registers are writable at the addresses sh

Pagina 257 - Interconnect

Altera Corporation Section I–1October 2011 Section I. PCI CompilerWith MegaWizard Plug-InManager FlowThe Altera PCI Compiler provides a complete s

Pagina 258

7–62 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Control & Status Registers

Pagina 259 - Options-2

Altera Corporation User Guide Version 11.1 8–1October 20118. TestbenchGeneral DescriptionThe Altera PCI testbench facilitates the design and verifica

Pagina 260 - PCI Bus Arbiter

8–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011FeaturesFigure 8–1. Altera PCI Testbench Block DiagramTo use the PCI testbench,

Pagina 261

Altera Corporation User Guide Version 11.1 8–3October 2011 PCI CompilerTestbenchPCI Testbench FilesThe Altera PCI testbench is included and installed

Pagina 262

8–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench SpecificationsRefer to “Simulation Flow” on page 8–15 for more inform

Pagina 263 - Parameter Settings

Altera Corporation User Guide Version 11.1 8–5October 2011 PCI CompilerTestbenchTable 8–3 shows the testbench's target termination support. The

Pagina 264 - PCI Configuration

8–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench SpecificationsThe master transactor terminates the PCI transactions i

Pagina 265 - X X X X X . . . X

Altera Corporation User Guide Version 11.1 8–7October 2011 PCI CompilerTestbenchUSER COMMANDS SectionThe master transactor USER COMMANDS section cont

Pagina 266

8–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench Specificationscfg_wrThe cfg_wr command performs single-cycle PCI conf

Pagina 267

Altera Corporation User Guide Version 11.1 8–9October 2011 PCI CompilerTestbenchmem_rd_32The mem_rd_32 command performs a memory read with the addres

Pagina 268 - Avalon Configuration

Section I–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Compiler With MegaWizard Plug-In Manager Flow

Pagina 269 - 7. Functional Description

8–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench Specificationsmem_wr_64The mem_wr_64 command performs a memory write

Pagina 270 - PCI-Avalon Bridge Blocks

Altera Corporation User Guide Version 11.1 8–11October 2011 PCI CompilerTestbenchmem_rd_64The mem_rd_64 command performs memory read transactions wit

Pagina 271 - Avalon-MM Ports

8–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench SpecificationsTarget Transactor (trgt_tranx)The testbench target tra

Pagina 272

Altera Corporation User Guide Version 11.1 8–13October 2011 PCI CompilerTestbenchTo model different target terminations, use the following three inpu

Pagina 273 - PCI MegaCore Function

8–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Testbench Specifications Target retry Target abort Target terminated with d

Pagina 274 - PCI Operational Modes

Altera Corporation User Guide Version 11.1 8–15October 2011 PCI CompilerTestbenchSimulation FlowThis section describes the simulation flow using Alte

Pagina 275

8–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Simulation FlowRefer to Figure 8–1 for a block diagram of the Master Transacto

Pagina 276 - Functional Overview

Altera Corporation User Guide Version 11.1 A–1October 2011Appendix A. Using PCIConstraint File Tcl ScriptsIntroductionAltera provides constraint file

Pagina 277 - ■ PCI Host-Bridge Device mode

A–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Simultaneous Switching Noise (SSN) Considerations4. Source the constraint file

Pagina 278

Altera Corporation User Guide Version 11.1 A–3October 2011 PCI Compilerf For more recommendations on reducing SSN in your design, refer to AN 315: Gu

Pagina 279 - Performance Profiles

Altera Corporation User Guide Version 11.1 1–1October 20111. Getting StartedDesign FlowTo evaluate a PCI Compiler MegaCore function using the OpenCor

Pagina 280 - Master Performance

A–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Additional OptionsEP2AGZ225 — -3, -4 66 MHzEP2AGZ300 -3 -3, -4 66 MHzEP2AGZ350F

Pagina 281 - Interface

Altera Corporation User Guide Version 11.1 A–5October 2011 PCI CompilerEP4CGX30BF14EP4CGX30CF19EP4CGX30CF23-6 -6, -7, -8 66 MHzEP4CGX50CF23EP4CGX50DF

Pagina 282 - PCI Bus Arbiter Signals

A–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Additional OptionsFor constraint files that have a default value of 66 MHz, you

Pagina 283 - PCI Target

Altera Corporation User Guide Version 11.1 A–7October 2011 PCI Compiler-no_compileBy default, the add_pci_constraints command performs analysis and s

Pagina 284

A–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Upgrading Assignments from a Previous Version of PCI CompilerMegaCore functions

Pagina 285 - Non-Prefetchable Operations

Altera Corporation User Guide Version 11.1 A–9October 2011 PCI Compiler Manually delete all the existing PCI assignments from your QSF, then use the

Pagina 286

A–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Upgrading Assignments from a Previous Version of PCI Compiler

Pagina 287 - I/O Write Operations

Altera Corporation User Guide Version 11.1 Info–iOctober 2011Additional InformationRevision HistoryThe following table displays the revision history

Pagina 288 - PCI Target Operation

Info–ii User Guide Version 11.1 Altera CorporationPCI Compiler October 2011How to Contact AlteraHow to Contact AlteraFor the most up-to-date informati

Pagina 289 - Prefetchable Operations

Altera Corporation User Guide Version 11.1 Info–iiiOctober 2011Typographic ConventionsThe following table shows the typographic conventions that this

Pagina 290 - Prefetchable Write Operations

1–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI MegaCore Function Design WalkthroughAfter you have purchased a license for

Pagina 291 - Prefetchable Read Operations

Info–iv User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Typographic Conventions

Pagina 292

Altera Corporation User Guide Version 11.1 1–3October 2011 PCI CompilerGetting StartedTo create a new project, follow these steps:1. Choose Programs

Pagina 293

1–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI MegaCore Function Design Walkthrough7. Click Next to close this page and di

Pagina 294

Altera Corporation User Guide Version 11.1 1–5October 2011 PCI CompilerGetting Started5. The MegaWizard Plug-In Manager shows the project path that y

Pagina 295 - PCI Master

i–iv User Guide Version 11.1 Altera CorporationPCI Compiler

Pagina 296

1–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI MegaCore Function Design Walkthrough4. Click Next to open the Base Address

Pagina 297

Altera Corporation User Guide Version 11.1 1–7October 2011 PCI CompilerGetting StartedStep 2: Set Up SimulationAn IP functional simulation model is a

Pagina 298

1–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI MegaCore Function Design WalkthroughTo generate your MegaCore function, fol

Pagina 299 - Avalon-to-PCI Write Requests

Altera Corporation User Guide Version 11.1 1–9October 2011 PCI CompilerGetting Started2. After you review the generation report, click Exit to close

Pagina 300 - Avalon-to-PCI Read Requests

1–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Simulate the DesignThis section of the walkthrough uses the following: The IP

Pagina 301

Altera Corporation User Guide Version 11.1 1–11October 2011 PCI CompilerGetting StartedSimulation in the Quartus II SoftwareAltera provides Vector Wa

Pagina 302

1–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011The Quartus II Simulation Files6. In the Simulation input, specify <path>

Pagina 303

Altera Corporation User Guide Version 11.1 1–13October 2011 PCI CompilerGetting StartedMaster Simulation Files Table 1–2 describes the Quartus II sim

Pagina 304 - PCI Master Operation

1–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011The Quartus II Simulation FilesTable 1–3 describes the Quartus II simulation f

Pagina 305

Altera Corporation User Guide Version 11.1 1–15October 2011 PCI CompilerGetting StartedTarget Simulation Files Table 1–4 describes the Quartus II sim

Pagina 306 - Ordering of Requests

Altera Corporation vContentsAbout PCI CompilerIntroduction ...

Pagina 307 - ■ DRC—Delayed read completion

1–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Compile the DesignTable 1–5 describes the Quartus II simulation files included

Pagina 308

Altera Corporation User Guide Version 11.1 1–17October 2011 PCI CompilerGetting StartedFor this walkthrough, follow these steps:1. Open <path>\

Pagina 309

1–18 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Program a DeviceProgram a DeviceAfter you have compiled your design, program y

Pagina 310

Altera Corporation User Guide Version 11.1 1–19October 2011 PCI CompilerGetting Started2. In the Quartus II software, choose Tcl C o n s o l e (Vie

Pagina 311

1–20 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Using the Reference DesignsRefer to Table 1–3 the pci_mt32 MegaCore Function R

Pagina 312

Altera Corporation User Guide Version 11.1 1–21October 2011 PCI CompilerGetting Started<path>/pci_compiler/megawizard_flow/ref_designs/pci_mt32

Pagina 313 - Altera-Provided

1–22 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Using the Reference Designs<path>/pci_compiler/megawizard_flow/ref_desig

Pagina 314 - Interrupts

Altera Corporation User Guide Version 11.1 1–23October 2011 PCI CompilerGetting Started<path>/pci_compiler/megawizard_flow/ref_designs/pci_mt64

Pagina 315 - Control & Status

1–24 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Using the Reference Designs

Pagina 316

Altera Corporation User Guide Version 11.1 2–1October 20112. Parameter SettingsThis chapter describes the parameters available to configure PCI Compi

Pagina 317 - PCI Interrupt Status Register

vi User Guide Version 11.1 Altera CorporationPCI CompilerContentsCompile the Design ...

Pagina 318

2–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Read-Only PCI Configuration RegistersRead-Only PCI Configuration RegistersParam

Pagina 319 - PCI Interrupt Enable Register

Altera Corporation User Guide Version 11.1 2–3October 2011Parameter SettingsThe pci_mt64 and pci_t64 MegaCore functions allow the implementation of 6

Pagina 320 - PCI Mailbox Register Access

2–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Advanced PCI MegaCore Function FeaturesOptional Interrupt CapabilitiesThe PCI M

Pagina 321

Altera Corporation User Guide Version 11.1 2–5October 2011Parameter SettingsAllow Variable Byte Enables During Burst TransactionsIn a default master

Pagina 322 - Configuration” on page 6–16

2–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Advanced PCI MegaCore Function FeaturesDisable Master Latency TimerTurning on t

Pagina 323

Altera Corporation User Guide Version 11.1 2–7October 2011Parameter SettingsVariation File ParametersIf you do not want to use the IP Toolbench Param

Pagina 324

2–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Variation File ParametersVEND_IDHexadecimal H"1172" Device vendor ID

Pagina 325

Altera Corporation User Guide Version 11.1 2–9October 2011Parameter SettingsHARDWIRE_BARnHexadecimal H"FF000000" Hardwire base address regi

Pagina 326 - Bit Name

2–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Variation File ParametersMAX_64_BAR_RW_BITSDecimal 8 Maximum number of read/wr

Pagina 327 - INTAN_CURRENT_VALUE

Altera Corporation User Guide Version 11.1 2–11October 2011Parameter SettingsTable 2–2 shows the bit definition for ENABLE_BITS.INTERRUPT_PIN_REGHexa

Pagina 328 - CraIrq_o) to be asserted

Altera Corporation User Guide Version 11.1 viiPCI CompilerContentsInterrupt Pin Register ...

Pagina 329

2–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Variation File Parameters8CAP_LIST_ENA0 Capabilities list enable. This bit det

Pagina 330

Altera Corporation User Guide Version 11.1 2–13October 2011Parameter Settings13SELF_CFG_HB_ENA (1)0 Host bridge enable. This bit controls the self-co

Pagina 331 - 8. Testbench

2–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Variation File Parameters15DISABLE_LAT_TMR (1)1 Disable master latency timer.

Pagina 332

Altera Corporation User Guide Version 11.1 2–15October 2011Parameter Settings17MW_CBEN_ENA0 In a standard master burst transaction the byte enables a

Pagina 333

2–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Variation File Parameters

Pagina 334

Altera Corporation User Guide Version 11.1 3–1October 20113. Functional DescriptionThis chapter contains detailed information on the PCI Compiler and

Pagina 335

3–2 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewFigure 3–1. pci_mt64 Functional Block DiagramPCI Address/Dat

Pagina 336

Altera Corporation User Guide Version 11.1 3–3October 2011Functional DescriptionFigure 3–2. pci_mt32 Functional Block DiagramPCI Address/Data BufferP

Pagina 337

3–4 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewFigure 3–3. pci_t64 Functional Block Diagramreq64nack64npar6

Pagina 338

Altera Corporation User Guide Version 11.1 3–5October 2011Functional DescriptionFigure 3–4. pci_t32 Functional Block DiagramPCI Address/Data BufferPa

Pagina 339

viii User Guide Version 11.1 Altera CorporationPCI CompilerContentsFeatures ...

Pagina 340

3–6 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewTarget Device Signals & Signal AssertionFigure 3–5 illus

Pagina 341

Altera Corporation User Guide Version 11.1 3–7October 2011Functional Description When both trdyn and irdyn are active, a data word is clocked from t

Pagina 342 - BAR0 x10

3–8 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewThe pci_mt64 and pci_t64 functions accept either 32-bit tran

Pagina 343

Altera Corporation User Guide Version 11.1 3–9October 2011Functional DescriptionMaster Device Signals & Signal AssertionFigure 3–6 illustrates th

Pagina 344 - Pull Up (pull_up)

3–10 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011Functional OverviewWhen the pci_mt64 or pci_mt32 function is ready to present

Pagina 345

Altera Corporation User Guide Version 11.1 3–11October 2011Functional DescriptionPCI Bus SignalsThe following PCI signals are used by the pci_mt64, p

Pagina 346

3–12 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus Signalsad[63..0]Tri- Sta te –Address/data bus. The ad[63..0] bus is a

Pagina 347 - Constraint File Tcl Scripts

Altera Corporation User Guide Version 11.1 3–13October 2011Functional Descriptionreq64n (1)STS LowRequest 64-bit transfer. The req64n signal is an ou

Pagina 348 - Considerations

3–14 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus SignalsintanOpen-Drain LowInterrupt A. The intan signal is an active-l

Pagina 349 - Additional

Altera Corporation User Guide Version 11.1 3–15October 2011Functional DescriptionParameterized Configuration Register SignalsTable 3–3 summarizes the

Pagina 350

Altera Corporation User Guide Version 11.1 ixPCI CompilerContentsSystem Options-2 ...

Pagina 351

3–16 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus SignalsTable 3–5 shows definitions for the PCI status register bits.Lo

Pagina 352

Altera Corporation User Guide Version 11.1 3–17October 2011Functional DescriptionTable 3–6. PCI Local Address, Data, Command & Byte Enable Signal

Pagina 353 - -pin_suffix

3–18 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus Signalsl_adro[63..0]Output – Local address output. The l_adro[63..0] b

Pagina 354 - Compiler

Altera Corporation User Guide Version 11.1 3–19October 2011Functional Descriptionl_cmdo[3..0]Output –Local command output. The l_cmdo[3..0] bus is dr

Pagina 355

3–20 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus SignalsTarget Local-Side SignalsTable 3–7 summarizes the target interf

Pagina 356

Altera Corporation User Guide Version 11.1 3–21October 2011Functional Descriptionlt_rdynInput LowLocal target ready. The local side asserts lt_rdyn t

Pagina 357

3–22 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus Signalslt_tsr[11..0]Output –Local target transaction status register.

Pagina 358 - How to Contact

Altera Corporation User Guide Version 11.1 3–23October 2011Functional DescriptionTable 3–8 shows definitions for the local target transaction status

Pagina 359 - Conventions

3–24 User Guide Version 11.1 Altera CorporationPCI Compiler October 2011PCI Bus SignalsMaster Local-Side SignalsTable 3–9 summarizes the pci_mt64 and

Pagina 360 - Typographic Conventions

Altera Corporation User Guide Version 11.1 3–25October 2011Functional Descriptionlm_rdynInput LowLocal master ready. The local side asserts the lm_rd

Comentarios a estos manuales

Sin comentarios