Visible to Intel only — GUID: sam1408418371121
Ixiasoft
1.1. Jam™ STAPL Players
1.2. Jam™ STAPL Files
1.3. Using the Jam™ STAPL Player
1.4. Using the quartus_jli Command-Line Executable
1.5. Using Jam™ STAPL for ISP with an Embedded Processor
1.6. Board Layout
1.7. Embedded Jam™ STAPL Players
1.8. Updating Devices Using Jam
1.9. Document Revision History for AN 425: Using the Command-Line Jam™ STAPL Solution for Device Programming
Visible to Intel only — GUID: sam1408418371121
Ixiasoft
1.7.3.3. Example of Calculating DRAM Required by Jam™ STAPL Byte-Code Player
To determine memory usage, first determine the amount of ROM required and then estimate the RAM usage.
This example uses a 16-bit Motorola 68000 processor to program EPM7128AE and EPM7064AE devices in an IEEE Std. 1149.1 JTAG chain using a compressed .jbc.
- Use the multi-device equation to estimate the .jbc size.
Figure 15. Multi-Device Equation to Estimate .jbc Size
- Estimate the Jam™ STAPL Byte-Code Player size—this example uses a Jam™ STAPL Byte-Code Player size of 62 KB because the Motorola 68000 processor is a 16 bit processor. Use the following equation to determine the amount of ROM required. In this example, the ROM size is 95 KB.
Figure 16. Equation to Estimate the Maximum Required ROM Size
- Estimate the RAM usage using the following equation. In this example, the .jbc size is 33 KB.
Figure 17. Equation to Estimate Maximum Required DRAM
- Because the .jbc uses compressed data, add up the uncompressed data size for each device to find the total amount of RAM usage. Refer to the related information.
- The uncompressed data size constants for EPM7064AE and EPM7128AE are 8 KB and 12 KB, respectively.
- The total DRAM usage in this example is calculated as RAM Size = 33 KB + (8 KB + 12 KB) = 53 KB.
In general, .jam files use more RAM than ROM. This characteristic is desirable because RAM is cheaper. In addition, the overhead associated with easy upgrades becomes less of a factor when programming a large number of devices. In most applications, the importance of easy upgrades outweigh memory costs.
Related Information