Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If possible use Intel FPGA Monitor program available free on Intels website, and make sure to write in ARM GNU assembly code. Thank you! Part

If possible use Intel FPGA Monitor program available free on Intels website, and make sure to write in ARM GNU assembly code. Thank you!

image text in transcribed

Part 1: At the start of the program, have five values written to the first five memory spaces of the SDRAM (with an address of SDRAM_BASE). Note that the registers contain 32 bits of data, but in the ARM architecture, each singly 8-bit byte is addressable, so you must increment your pointer accordingly (Increment address by 1 for next byte access and 4 for next word access). This will ensure that word alignment is observed. Students can choose what non-zero values are written, but since these five values will be added together and displayed on the 10 red LEDs, make sure that the sum will be able to be contained within 10 bits. After storing these values, zero out a register which will act as the accumulator. Read each value from memory and add it to the accumulator. Once all the values are read, write the accumulator value to the red LEDs. Part 1: At the start of the program, have five values written to the first five memory spaces of the SDRAM (with an address of SDRAM_BASE). Note that the registers contain 32 bits of data, but in the ARM architecture, each singly 8-bit byte is addressable, so you must increment your pointer accordingly (Increment address by 1 for next byte access and 4 for next word access). This will ensure that word alignment is observed. Students can choose what non-zero values are written, but since these five values will be added together and displayed on the 10 red LEDs, make sure that the sum will be able to be contained within 10 bits. After storing these values, zero out a register which will act as the accumulator. Read each value from memory and add it to the accumulator. Once all the values are read, write the accumulator value to the red LEDs

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions