beautypg.com

Performing a lookup for smh revision 1 – Altera Advanced SEU Detection IP Core User Manual

Page 20

background image

Programming a Sensitivity Map Header File into a Memory

You can program a

.smh

into any type of memory. For example, to use CFI flash memory, follow these

steps:
1. Rename the

.smh

to

.hex

, or convert it to little-endian

.hex

if required.

2. In the Quartus II software, click File > Convert Programming Files.

3. In the Convert Programming Files window under Output programming file, select the desired

options.

4. To add hex data, follow these steps:

Figure 13: Add Hex Data Dialog Box

a. Click Add Hex Data.

b. In the Add Hex Data dialog box, turn on Set start address and enter a start address.

c. In the Hex file box, click browse to select the

.hex

file, and click OK.

5. Click Generate.

Performing a Lookup for SMH Revision 1

To perform a lookup into the sensitivity map header data using a bit, byte, and frame number from an

EMR (Stratix IV devices only):
1. Read the 32-bit frame information string for the frame number:

• Address = 0x14 + (frame*4)

• Return value = (

frame_info_data_offset

,

offset_map_array_index

)

2. Read the offset map information for a frame. The return value for the offset map information is 16 bits:

• Address =

offset_map_base_address

+ offset array for current frame + offset data value for

current byte and bit

where,

20

Programming a Sensitivity Map Header File into a Memory

ALTADVSEU

2015.05.04

Altera Corporation

Altera Advanced SEU Detection IP Core User Guide

Send Feedback