[Oberon] FPGA - Boot over serial line

Tomas Kral thomas.kral at email.cz
Sun Oct 15 09:16:24 CEST 2017


On Fri, 13 Oct 2017 11:05:31 -0700
Magnus Karlsson <magnus at saanlima.com> wrote:

Hi

> In our case the prom.mem
> data is stored in one of the 32 block rams available in the Spartan6
> LX9 so you would need to find out which one the synthesis toll
> decided to use for this purpose.  The Data2Mem tool needs this
> information in a special file called .bmm that will also specify how
> the memory is organized (in our case it's organized as 32 bits x 512
> words).

The syntax is:
$ data2mem -bm my.bmm -bd code.elf -bt my.bit -o b new.bit

The difficult part is to assemble .bmm. There is an option INIT_f1
creating BMM map for us.

Verilog Coding INIT_fl Example -
RAMB16 #(.INIT_fl("file.mem")
          ...)
ramb16_0 ( <port mapping>);

But what is .elf, as I need to somehow supply prom.mem instead?

-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list