Altera PCI Compiler Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Instrumentos de medida Altera PCI Compiler. Altera PCI Compiler User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 360
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - User Guide

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

Página 2

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

Página 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

Página 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

Página 5

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

Página 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

Página 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

Página 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

Página 9

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

Página 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

Página 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

Página 12 - Contents

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

Página 13 - About PCI Compiler

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

Página 14 - Device Family

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

Página 15 - Features

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

Página 16

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

Página 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

Página 18 - PCI Testbench

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

Página 19

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

Página 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

Página 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

Página 22 - Compliance

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

Página 23 - Utilization

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

Página 24

xii User Guide Version 11.1 Altera CorporationPCI CompilerContents

Página 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

Página 26

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

Página 27

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

Página 28

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 35 - 1. Getting Started

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

Página 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

Página 37

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

Página 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

Página 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

Página 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

Página 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

Página 42

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

Página 43

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

Página 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

Página 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

Página 46 - Simulation Files

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

Página 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

Página 48

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

Página 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

Página 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

Página 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

Página 52 - PCI Timing

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

Página 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

Página 54

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

Página 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

Página 56

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

Página 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

Página 58 - Using the Reference Designs

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

Página 59 - 2. Parameter Settings

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

Página 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

Página 61 - Function

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

Página 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

Página 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

Página 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

Página 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

Página 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-

Página 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

Página 68 - ENABLE_BITS

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

Página 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

Página 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

Página 71

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

Página 72

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

Página 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

Página 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

Página 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

Página 76

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

Página 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

Página 78

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

Página 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

Página 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

Página 81

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

Página 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

Página 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

Página 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

Página 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

Página 86

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

Página 87

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

Página 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

Página 89

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

Página 90

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

Página 91

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

Página 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

Página 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

Página 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

Página 95

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 103

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

Página 104

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

Página 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

Página 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

Página 107 - Status Register

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

Página 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

Página 109 - Cache Line Size Register

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

Página 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

Página 111 - Base Address Registers

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

Página 112

i–ii User Guide Version 11.1 Altera CorporationPCI Compiler

Página 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

Página 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

Página 115 - Subsystem ID Register

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

Página 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

Página 117 - Minimum Grant Register

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

Página 118 - Operation

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

Página 119 - Functional Description

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 125 - Clock Cycle Event

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

Página 126

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

Página 127

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

Página 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

Página 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

Página 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

Página 131

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

Página 132

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

Página 133

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 140

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

Página 141

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

Página 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)

Página 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

Página 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

Página 145

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

Página 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

Página 147

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

Página 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

Página 149 - I/O Write Transactions

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

Página 150

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

Página 151

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

Página 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

Página 153 - Disconnect

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

Página 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

Página 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

Página 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

Página 157 - Note to Figure 3–27:

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

Página 158

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

Página 159

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

Página 160 - Target Abort

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

Página 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

Página 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

Página 163

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

Página 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

Página 165

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

Página 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

Página 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

Página 168

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

Página 169 - Notes to Figure 3–31:

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

Página 170

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

Página 171

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

Página 172

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 185

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

Página 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

Página 187

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

Página 188 - Note to Figure 3–39:

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

Página 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

Página 190

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

Página 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

Página 192

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

Página 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

Página 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

Página 195

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

Página 196

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

Página 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

Página 198

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

Página 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

Página 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

Página 201 - Host Bridge

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

Página 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

Página 203

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

Página 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

Página 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

Página 206

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

Página 207

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

Página 208

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

Página 209

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

Página 210

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

Página 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

Página 212

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

Página 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

Página 214

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

Página 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

Página 216 - Specifications

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 222

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

Página 223 - PROCEDURES and TASKS sections

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

Página 224 - Clock Generator (clk_gen)

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

Página 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

Página 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

Página 227 - DMA Engine

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

Página 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

Página 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

Página 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

Página 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

Página 232

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

Página 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

Página 234

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

Página 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

Página 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

Página 237

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

Página 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

Página 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

Página 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

Página 241 - Getting Started

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

Página 242

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

Página 243

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

Página 244

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

Página 245 - Simulate the

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

Página 246

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

Página 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

Página 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

Página 249 - Previous

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

Página 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

Página 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

Página 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

Página 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

Página 254

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

Página 255 - PCI Master Performance

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

Página 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

Página 257 - Interconnect

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

Página 258

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

Página 259 - Options-2

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

Página 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,

Página 261

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

Página 262

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

Página 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

Página 264 - PCI Configuration

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

Página 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

Página 266

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

Página 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

Página 268 - Avalon Configuration

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

Página 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

Página 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

Página 271 - Avalon-MM Ports

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

Página 272

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

Página 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

Página 274 - PCI Operational Modes

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

Página 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

Página 276 - Functional Overview

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

Página 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

Página 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

Página 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

Página 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

Página 281 - Interface

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

Página 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

Página 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

Página 284

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

Página 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

Página 286

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

Página 287 - I/O Write Operations

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

Página 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

Página 289 - Prefetchable Operations

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

Página 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

Página 291 - Prefetchable Read Operations

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

Página 292

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

Página 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

Página 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

Página 295 - PCI Master

i–iv User Guide Version 11.1 Altera CorporationPCI Compiler

Página 296

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

Página 297

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

Página 298

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

Página 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

Página 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

Página 301

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

Página 302

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

Página 303

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

Página 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

Página 305

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

Página 306 - Ordering of Requests

Altera Corporation vContentsAbout PCI CompilerIntroduction ...

Página 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

Página 308

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

Página 309

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

Página 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

Página 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

Página 312

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

Página 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

Página 314 - Interrupts

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

Página 315 - Control & Status

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

Página 316

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

Página 317 - PCI Interrupt Status Register

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

Página 318

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

Página 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

Página 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

Página 321

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

Página 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

Página 323

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

Página 324

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

Página 325

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

Página 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

Página 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

Página 328 - CraIrq_o) to be asserted

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

Página 329

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

Página 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

Página 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.

Página 332

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

Página 333

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

Página 334

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

Página 335

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

Página 336

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

Página 337

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

Página 338

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

Página 339

viii User Guide Version 11.1 Altera CorporationPCI CompilerContentsFeatures ...

Página 340

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

Página 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

Página 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

Página 343

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

Página 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

Página 345

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

Página 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

Página 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

Página 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

Página 349 - Additional

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

Página 350

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

Página 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

Página 352

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

Página 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

Página 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

Página 355

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

Página 356

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

Página 357

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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários