Altera Internal Memory (RAM and ROM) IP Core Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Urządzenia pomiarowe Altera Internal Memory (RAM and ROM) IP Core. Altera Internal Memory (RAM and ROM) IP Core User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - User Guide

Embedded Memory (RAM: 1-PORT, RAM:2-PORT, ROM: 1-PORT, and ROM: 2-PORT)User GuideSubscribeSend FeedbackUG-010682014.12.17101 Innovation DriveSan Jose,

Strona 2 - Contents

The new parameter editor appears when the generation is complete.4. Click Generate HDL, and then confirm the Synthesis and Simulation file options. Ve

Strona 3

Embedded Memory Functional Description32014.12.17UG-01068SubscribeSend FeedbackDescribes the features and functionality of the embedded memory blocks

Strona 4 - Embedded Memory Features

Table 3-1: Embedded Memory Blocks in Altera DevicesDeviceFamilyMemory Block TypeM512(512bits)(1)M4K (4Kbits)M-RAM(512Kbits) (2)MLAB(640 bits)(3)M9K (9

Strona 5

Embedded Memory Blocks Write Operation (4)Read OperationMLAB Falling clock edgesRising clock edges (in ArriaV, Cyclone V, and Stratix Vdevices only)Ri

Strona 6

Figure 3-2: Valid Write Operation that Triggers at Falling Clock EdgesThis figure assumes that twc is the maximum write cycle time interval. Write ope

Strona 7 - Using the Parameter Editor

Mixed-width Port ConfigurationOnly dual-port RAM and dual-port ROM support mixed-width port configuration for all memory blocktypes except when they a

Strona 8

Embedded Memory Blocks Valid Range (6)M144K 2K–16KM9K 256–8KMLAB 32–64 (7)M512 32–512M4K 128–4KM-RAM 4K–64KThe parameter editor prompts an error messa

Strona 9

Table 3-5: Clocking ModesThis table lists the embedded memory clocking modes.Clocking Modes Single-portRAMSimple Dual-port RAMTrue Dual-portRAMSingle-

Strona 10 - Related Information

Figure 3-4: Address Clock Enable During Read Cycle WaveformThis figure shows the address clock enable waveform during the read cycle. inclockrdenrdadd

Strona 11 - Memory Block Types

You can specifically define and set the size of a byte for the byte-enable port. The valid values are 5, 8, 9,and 10, depending on the type of embedde

Strona 12 - Send Feedback

ContentsAbout RAM: 1-PORT, RAM: 2-PORT, ROM: 1-PORT, and ROM: 2-PORTIP Cores...

Strona 13 - Read Operation

Asynchronous ClearThe embedded memory blocks in the Arria II GX, Arria II GZ, Stratix IV, Stratix V, and newer devicefamilies support the asynchronous

Strona 14 - Port Width Configurations

Memory Modes M9K, M144K, M10K, M20K MLABSimple dual-port RAM Supported —True dual-port RAM Supported —Tri-port RAM Supported —Single-port ROM Supporte

Strona 15

RDW Operation DescriptionMixed-PortRDWThe mixed-port RDW occurs when one port reads and another port writes to the sameaddress location with the same

Strona 16 - Clocking Modes Description

Memory BlockTypesSingle-port RAM (9)Simple dual-portRAM (10)True dual-port RAMSame port RDW Mixed-port RDW Same port RDW (11)Mixed-port RDW (12)MLABDo

Strona 17 - UG-01068

memory block being used, provided you do not assign block type when you instantiate the memoryblock.Power-Up Conditions and Memory InitializationPower

Strona 18 - Byte Enable

Error Correction CodeError correction code (ECC) allows you to detect and correct data errors at the output of the memory.The Stratix III and Stratix

Strona 19

Embedded Memory Signals and Parameters42014.12.17UG-01068SubscribeSend FeedbackDescribes the signals and parameters of the RAM: 1-PORT, RAM: 2-PORT, R

Strona 20 - Read Enable

Signal Type Required Descriptionbyteena_a Input Optional Byte enable input to mask the data_a port so that onlyspecific bytes, nibbles, or bits of the

Strona 21 - Read-During-Write

Signal Type Required Descriptionaddressstall_b Input Optional Address clock enable input to hold the previous address ofaddress_b port for as long as

Strona 22

Signal Type Required Descriptionclocken3 Input Optional Clock enable input for clock1 port.aclr0aclr1Input Optional Asynchronously clear the registere

Strona 23

Simulating the Design... 5-4Document

Strona 24

Signal Type Required Descriptionbyteena Input Optional Byte enable input to mask the data port so that onlyspecific bytes, nibbles, or bits of data ar

Strona 25 - Error Correction Code

Signal Type Required Descriptionaclr Input Optional Asynchronously clear the registered input and outputports. The asynchronous clear effect on the re

Strona 26

Parameter Legal Values DescriptionWhich ports should be registered?The following options are available:• ‘data’ and ‘wren’ input ports• ‘address’ inpu

Strona 27

Parameter Legal Values DescriptionMore Options ‘q’ port On/Off Turn on this option for the ‘q’port to be affected by theasynchronous clear signal. The

Strona 28

RAM: 2-Port IP Core ParametersThis table lists the parameters for the RAM: 2-Port IP CoreTable 4-3: RAM: 2-Port Parameter SettingsParameter Legal Valu

Strona 29

Parameter Legal Values DescriptionSet the maximum block depth to Auto, 32, 64, 128,256, 512, 1024, 2048,4096Specifies the maximum blockdepth in words.

Strona 30

Parameter Legal Values DescriptionWhen you select With one read port and one writeport, the following option is available:Create a ‘rden’ read enable

Strona 31 - RAM:1-Port IP Core Parameters

Parameter Legal Values DescriptionWhich ports should be registered?When you select With one read port and one writeport, the following options are ava

Strona 32

Parameter Legal Values DescriptionMore OptionsWhen you selectWith one read portand one write port,the following optionis available:• Use clock enablef

Strona 33

Parameter Legal Values DescriptionMore OptionsWhen you selectWith one read portand one write port,the following optionsare available:• Create an ‘wr_a

Strona 34

About RAM: 1-PORT, RAM: 2-PORT, ROM: 1-PORT, and ROM: 2-PORT IP Cores12014.12.17UG-01068SubscribeSend FeedbackThe Quartus® II software automatically s

Strona 35

Parameter Legal Values DescriptionWhen you select With one read port and one writeport, the following option is available:• How should the q output be

Strona 36

Parameter Legal Values DescriptionWhat should the ‘q_a’ output be when reading froma memory location being written to?• New data• Old DataSpecifies th

Strona 37

Parameter Legal Values DescriptionWhat should the memory block type be? Auto, M4K, M9K,M144K, M10K,M20KSpecifies the memory blocktype. The types of me

Strona 38

Parameter Legal Values DescriptionMore Options‘address’ port On/Off Specifies whether the‘address’ port should beaffected by the ‘aclr’ port.‘q’ port

Strona 39

Parameter Legal Values DescriptionUse different data widths on different ports On/Off Specifies whether to usedifferent data widths ondifferent ports.

Strona 40

Parameter Legal Values DescriptionWhat clocking method would you like to use?• Single clock• Dual clock: useseparate ‘input’and ‘output’clocks• Dual c

Strona 41

Parameter Legal Values DescriptionMore OptionsUse clock enable forport A inputregistersOn/Off Specifies whether to useclock enable for port A inputreg

Strona 42

Design Example52014.12.17UG-01068SubscribeSend FeedbackSimulate the designs using the ModelSim®-Altera software to generate a waveform display of the

Strona 43

is asserted. Because the RAM mode has two dedicated write ports, another encoder is implemented for theother RAM input port.Two ALTECC_DECODER blocks

Strona 44

Option ValueHow wide should the data be? 13 bitsDo you want to pipeline the functions? Yes, I want an output latency of 1 clock cycleCreate an 'a

Strona 45

Supported Memory Operation ModesThis table lists the supported memory operation mode and the related IP core for each operation mode.Table 1-2: Suppor

Strona 46

Option ValueGenerate netlist Turned offVariation file (.vhd) Turned onAHDL Include file (.inc) Turned offVHDL component declaration file (.cmp) Turned

Strona 47 - Design Example

Ports Name PortsTypeDescriptionsaddress_adata_awren_arden_aInput Address input, data input, write enable, and read enable toport A of the RAM. (17)add

Strona 48 - Option Value

Figure 5-2: Same-Port Read-During-WriteThis figure shows the timing diagram of when the same-port read-during-write occurs for each port Aand port B o

Strona 49

Figure 5-3: Mixed-Port Read-During-WriteThis figure shows the timing diagram of when the mixed-port read-during-write occurs.At 12500 ps, mixed-port r

Strona 50 - Simulating the Design

Figure 5-4: Write ContentionThis figure shows the timing diagram of when the write contention occurs.At 22500 ps, the write contention occurs when dat

Strona 51 - Descriptions

Figure 5-5: Error Injection– Asserting corrupt_dataa_bit0This figure shows the timing diagram of the effect when an error is injected to twist the LSB

Strona 52

Document Revision HistoryA2014.12.17UG-01068SubscribeSend FeedbackDocument Revision HistoryThis table lists the document revision history for the user

Strona 53

Date Version ChangesNovember 2012 4.1• Added a note to the “Asynchronous Clear” on page 3–15to state that internal contents cannot be cleared with the

Strona 54

Customizing Embedded Memory IP Cores22014.12.17UG-01068SubscribeSend FeedbackInstalling and Licensing IP CoresThe Altera IP Library provides many usef

Strona 55

IP Catalog and Parameter EditorThe Qsys IP Catalog (Tools > IP Catalog) and parameter editor help you easily customize and integrateIP cores into y

Strona 56 - Document Revision History

Figure 2-2: IP Parameter EditorsView IP portand parameter detailsApply preset parameters forspecific applicationsSpecify your IP variation nameand tar

Strona 57 - Date Version Changes

7. To generate an HDL instantiation template that you can copy and paste into your text editor, clickGenerate > HDL Example.8. Click Finish. The pa

Komentarze do niniejszej Instrukcji

Brak uwag