Visible to Intel only — GUID: eis1413440156409
Ixiasoft
1. About Embedded Memory IP Cores
2. Embedded Memory IP Cores Getting Started
3. Functional Description
4. Embedded Memory Design Consideration
5. Parameters and Signals
6. Design Example
7. Document Revision History for the Embedded Memory (RAM: 1-PORT, RAM: 2-PORT, ROM: 1-PORT, and ROM: 2-PORT) User Guide
3.1. Memory Block Types
3.2. Write and Read Operations Triggering
3.3. Port Width Configurations
3.4. Mixed-width Port Configuration
3.5. Mixed-width Ratio Configuration
3.6. Maximum Block Depth Configuration
3.7. Clocking Modes and Clock Enable
3.8. Memory Blocks Address Clock Enable Support
3.9. Byte Enable
3.10. Asynchronous Clear
3.11. Read Enable
3.12. Read-During-Write
3.13. Power-Up Conditions and Memory Initialization
3.14. Error Correction Code
3.15. Freeze Logic
Visible to Intel only — GUID: eis1413440156409
Ixiasoft
6.1.1. Generating the ALTECC_ENCODER and ALTECC_DECODER with the RAM: 2-PORT IP Core
To generate the ALTECC_ENCODER and ALTECC_DECODER with the RAM: 2-PORT IP core, follow these steps:
- Open the Internal_Memory_DesignExample.zip file and extract true_dp.qar.
- In the Intel® Quartus® Prime software, open the true_dp.qar file and restore the archive file into your working directory.
- In the IP Catalog (Tools > IP Catalog), locate and double-click the ALTECC IP core. The parameter editor appears.
- Specify the following parameters:
Table 21. Configuration Settings for ALTECC_ENCODER Option Value How do you want to configure this module? Configure this module as an ECC encoder How wide should the data be? 8 bits Do you want to pipeline the functions? Yes, I want an output latency of 1 clock cycle Create an 'aclr' asynchronous clear port Not selected Create a 'clocken' clock enable clock Not selected - Click Finish. The ecc_encoder.v module is built.
- In the IP Catalog double-click the ALTECC IP core. The parameter editor appears.
- Specify the following parameters:
Table 22. Configuration Settings for ALTECC_DECODER Option Value How do you want to configure this module? Configure this module as an ECC decoder How wide should the data be? 13 bits Do you want to pipeline the functions? Yes, I want an output latency of 1 clock cycle Create an 'aclr' asynchronous clear port Not selected Create a 'clocken' clock enable clock Not selected - Click Finish. The ecc_decoder.v module is built.
- In the IP Catalog double-click the ALTECC IP core. The parameter editor appears.
- Specify the following parameters:
Table 23. Configuration Settings for RAM: 2-Port IP Core Option Value Which type of output file do you want to create? Verilog HDL What name do you want for the output file? true_dp_ram Return to this page for another create operation Turned off Currently selected device family: Stratix IV How will you be using the dual port ram? With two read/write ports How do you want to specify the memory size? As a number of words How many 8-bit words of memory? 16 Use different data widths on different ports Not selected How wide should the 'q_a' output bus be? 13 What should the memory block type be? M9K Set the maximum block depth to Auto Which clocking method do you want to use? Single clock Create 'rden_a' and 'rden_b' read enable signals Not selected Byte Enable Ports Not selected Which ports should be registered? All write input ports and read output ports Create one clock enable signal for each signal Not selected Create an 'aclr' asynchronous clear for the registered ports Not selected Mixed Port Read-During-Write for Single Input Clock RAM Old memory contents appear Port A Read-During-Write Option New Data Port B Read-During-Write Option Old Data Do you want to specify the initial content of the memory? Not selected Generate netlist Turned off Variation file (.vhd) Turned on AHDL Include file (.inc) Turned off VHDL component declaration file (.cmp) Turned on Intel® Quartus® Prime symbol file (.bsf) Turned off Instantiation template file(.vhd) Turned off - Click Finish. The true_dp_ram.v module is built.
The top_dpram.v is a design variation file that contains the top level file that instantiates two encoders, a true dual-port RAM, and two decoders. To simulate the design, a testbench, true_dp_ram.vt, is created for you to run in the ModelSim* - Intel® FPGA Edition software.