beautypg.com

Using neuron chip memory, Chips with off-chip memory – Echelon Neuron User Manual

Page 36

background image

Segment

Name

Usage

INITDATA

For initialization data. Used by the Neuron C compiler.

RAMCODE

For code and constant data that resides in off-chip RAM.

RAMFAR

For data that resides in on-chip or off-chip RAM.

RAMNEAR

For data that resides in on-chip or off-chip RAM. Only Neuron

3150 Chip, FT 3150 Smart Transceiver, and Series 5000 and

6000 devices support off-chip RAM. The size of the

RAMNEAR segment is 256 bytes.

ROM

For code or constant data that resides in the user area of

ROM. Only Neuron 3150 Chip and FT 3150 Smart

Transceiver support a ROM user area.

SIDATA

For self-identification data. Used by the Neuron C compiler.

TRANSIENT

For transient code. Must be relocatable.

FLEX

For segments whose name is decided with the Neuron

Assembler’s --flex command line option. This allows writing

and sharing code for resident and for transient use.

Notes:

EEPROM: electrically erasable programmable read-only memory

RAM: random access memory

ROM: read-only memory

FLEX: In Neuron Assembly, use SEG FLEX to specify a segment whose

name is determined by the --flex command line option. This option is

typically used as --flex CODE or --flex TRANSIENT, although the --flex

option supports arbitrary segment names including invalid ones. The flex

feature allows sharing of code for different targets, directed to the

appropriate segment type with the Neuron Assembler invocation.

Using Neuron Chip Memory

The following sections describe the memory maps for Neuron Chips or Smart

Transceivers with off-chip memory, and Neuron Chips or Smart Transceivers

without off-chip memory. These memory maps show how several of the segment

types relate to memory usage within the Neuron Chip or Smart Transceiver.

Chips with Off-Chip Memory

On-chip memory on the Neuron 3150 Chip and FT 3150 Smart Transceiver

consists of RAM and EEPROM. On-chip memory on a Series 5000 and 6000

device consists of RAM.

26

Neuron Architecture for Neuron Assembly Programming