Re: Memory map?
- From: Tim Wescott <tim@xxxxxxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 14:49:19 -0700
Fizzy wrote:
Hi,
What is memory mapping.
Memory mapping is the design practice of making something look like memory (RAM, to be precise) to a processor. You design your hardware so a write to a particular memory location causes a write to the peripheral in question, and a read from the memory location causes a read from the peripheral.
If i memory mapped registers in my pheipheral,.
The value written to them is teh value written to memory or it will be
written on physical registers in Pheripheral.
You don't actually have memory at the peripheral location. Just the peripheral.
Exactly what the peripheral does with a read or write command is up to the peripheral, but writes almost always go to a register (possibly short-lived if it's a transmit buffer in a communications interface like a UART).
Let me explain you cauz iI general, yes the registers are physically there. The processor will write to what it thinks is memory, the peripheral will get the message.
know my description is bit confusing.....
I have FPGA with a processor. Now i want to connect this processor with
Custom IP (on FPGA) using Processor Local Bus. I know custom IP has
bunch of registers which will recive the data and send the data. These
register i will create and to my understanding they are in pheripheral.
My question is ......
Are these registers really physically there or they are just the map.
SO when Processor will want to write to one of them it will write to
the memory and Pheripheral will knwo something is written to it?
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Posting from Google? See http://cfaj.freeshell.org/google/
.
- References:
- Memory map?
- From: Fizzy
- Memory map?
- Prev by Date: Re: RTX-51 Full reentrant stack problem
- Next by Date: Re: Two Ethernet MACs in a new DualCore ARM Microcontroller
- Previous by thread: Re: Memory map?
- Next by thread: Re: Memory map?
- Index(es):
Relevant Pages
|