Xilinx System Generator

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View

I'd like to use Xilinx System Generator (Matlab Simulink tool) to configure
a Xilinx fpga : (Spartan 2,  Xc2s200) for a practical course at university.

If anyone has experiences with System Generator :
Is it possible to access the memory of the fpga with a block ? I wrote a c++
program that transfers data (i.e. a picture) to the fpga's memory. Then I'd
like the System Generator schematic to read that data, work with it and
write it back to the memory. Is that possible with the "single port ram"
block ?

Does anyone already have an example program ?

Timo Dammes

Re: Xilinx System Generator
Hi, Timo,
A single port ram works in your case, but make sure you dont overwrite the
original data before they are processed. I put a bit algorithm here for your

in a typical loop,,
1>generate an address
2>set read signal
3>process the data shown at the output port of the ram block using the
sysgen block
4>set ram write signal (write the result to the same address of the original
data in the ram)
then start another loop..


Quoted text here. Click to load it

Site Timeline