DE2-70 User Manual
1 7
Figure 3.7. Accessing the SDRAM-U1.
A 16-bit word can be written into the SDRAM by entering the address of the desired location,
specifying the data to be written, and pressing the
Write
button. Contents of the location can be
read by pressing the
Read
button. Figure 3.7 depicts the result of writing the hexadecimal value
06CA into location 200, followed by reading the same location.
The Sequential Write function of the Control Panel is used to write the contents of a file into the
SDRAM as follows:
1.
Specify the starting address in the
Address
box.
2.
Specify the number of bytes to be written in the
Length
box. If the entire file is to be
loaded, then a checkmark may be placed in the
File Length
box instead of giving the
number of bytes.
3.
To initiate the writing of data, click on the
Write a File to Memory
button.
4.
When the Control Panel responds with the standard Windows dialog box asking for the
source file, specify the desired file in the usual manner.
The Control Panel also supports loading files with a
.hex
extension. Files with a
.hex
extension are
ASCII text files that specify memory values using ASCII characters to represent hexadecimal
values. For example, a file containing the line
0123456789ABCDEF
defines four 8-bit values: 01, 23, 45, 67, 89, AB, CD, EF. These values will be loaded consecutively