[Oberon] FPGA - Boot over serial line

Magnus Karlsson magnus at saanlima.com
Thu Oct 19 03:08:40 CEST 2017


The simplest way to find out the location is to used data2mem itself:

data2mem -bm prom.bmm -bt ISE/risc5topt.bit -d | grep "riscx_PM"

Magnus


On 10/18/2017 2:58 PM, Paul Reed wrote:
>> prom.bmm file content:
>>
>> ADDRESS_SPACE prom RAMB16 [0x00000000:0x000007FF]
>>     BUS_BLOCK
>>       riscx_PM/Mram_mem [31:0] PLACED = X0Y22;
>>     END_BUS_BLOCK;
>> END_ADDRESS_SPACE;
>>
>> The PLACED part must match the actual BRAM used.
>>
>> command:
>> data2mem -bm prom.bmm -bt ISE/risc5top.bit -bd prom.mem -o b new.bit
> Thanks Magnus!
>
> I was just about to install ISE (ie, clear off some disk space to install
> ISE!) in order to find out what Tomas' ROM would be named.
>
> If that .bmm file works, you can drop the "PLACED =" clause and add some
> command-line options to the project:
>
> To "Other Ngdbuild Command Line Options" in ISE Translate properties,
> add  "-bm prom.bmm" (advanced property)
>
> To "Other Bitgen Command Line Options" in ISE Generate Programming file
> properties,
> add "-bd prom.mem" (advanced property)
>
> Then after one rebuild you can subsequently just just re-run "Generate
> Programming File" to pick up a new prom.mem version (or, as you say, run
> data2mem, but use the generated prom_bd.bmm file which will contain the
> "PLACED =" attribute).
>
> HTH
> Paul
>
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>



More information about the Oberon mailing list