View Single Post
  #8 (permalink)  
Old 07-04-2009, 04:18 AM
MikeWhy
Guest
 
Posts: n/a
Default Re: how to use ram or memory


"The Lord of War" <[email protected]> wrote in message
news:[email protected] ...
> >"The Lord of War" <[email protected]> wrote in message
>>news:[email protected] om...
>>> eh no for what no for I cant use the sram that is onboard or no I have

> to
>>> do some fancy stuff and calls to be able to use them? and if so what do

> i
>>> need to do?

>>
>>No, the fpga doesn't of itself know about the board. It doesn't know

> about
>>the devices on the board. And it doesn't know the minutiae of operation

> of
>>the devices on the board.
>>
>>As to what to do, it depends on what you're trying to do. An embedded

> system
>>can use the Xilinx EDK to interface with the device, attach it to the
>>peripheral bus, assign it room in the memory space, and build drivers to

>
>>access and control the device from software. For a hardware only

> solution,
>>start with the device's datasheet, and build the interface circuitry in

> the
>>fpga. The "process" you can "call" to work with the device might already

>
>>exist. They're more generally referred to as IP Cores. I expect you'll

> find
>>the required IP Cores in the Xilinx tools.
>>
>>"Fancy stuff" on the fpga is more properly thought of as describing and
>>connecting circuitry. It is not software "calls" using a strange new
>>programming language. I hope you'll find that distinction helpful.
>>
>>
>>

>
> I dont know but maybe (or definitely) you guys are way more advanced than
> me that's why I'm getting nothing, so to be clear I have an fpga board on
> it is the virtex 4 and lots of other chips including an sram module and a
> flash (scan disk) and something called linear flash all this is on the
> SAME
> board as the FPGA and what I'm trying to do is to use these modules to
> save
> information temporarily, so I need to save data in the sram (the one
> ONboard) to be able to use later. I'm using VHDL to code my project, and
> my
> question is; HOW can I use these resources which are on the same board.
>
> please help the declaring big array did not work.
> any tutorials or sample code is greatly appreciated
>
> thanks a lot guys and best of regards


It sounds like the ML405 board. www.xilinx.com is where I would look first
for sample code and tutorials. You'll find there as many application notes
and documents as you would care to read. The memory manufacturers' websites
will also have vitally useful information.

With that said, I think it's way too much all at once to tackle as a first
effort. If you care to, back up a few steps, tell us what you're doing and
why, and what your expectations are. If it's a school project, stick with
their program, of course. But, if you're on your own, maybe someone here can
suggest a more reasonable progression to get you rolling. It won't be a
short journey, but you might find it more satisfying and worthwhile than
immediate gratification on your near term goal.


Reply With Quote