[lowrisc-dev] Problem compiling bare metal examples

Alexis Ramos Amo aramosam at nebrija.es
Thu Mar 3 10:53:02 GMT 2016


Hello Stefan, thank you for your answer.

Here is the log.

Best,
Alexis

________________________________________
De: lowrisc-dev-bounces at lists.lowrisc.org <lowrisc-dev-bounces at lists.lowris=
c.org> en nombre de Stefan Wallentowitz <stefan at wallentowitz.de>
Enviado: jueves, 3 de marzo de 2016 11:44
Para: lowrisc-dev at lists.lowrisc.org
Asunto: Re: [lowrisc-dev] Problem compiling bare metal examples

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03.03.2016 10:59, Alexis Ramos Amo wrote:
> Hello all,
>
>
> I've made some modifications in the project for nexys4. I've
> integrated an IP and changed the hierarchy by creating a wrapper
> for chip_top (the top identity in default untethered lowRISC) and
> my others verilog files.
>
>
> I can create a bitstream without any problem but if I want to make
> a bare metal example alongside with my modification I get the
> following error
>
>
> $make hello
>
> [...]
>
> vivado -mode batch -source ../../common/script/search_ramb.tcl
> -tclargs lowrisc-chip-imp > search-ramb.log python
> ../../common/script/bmm_gen.py search-ramb.log src/boot.bmm 128
> 65536 Traceback (most recent call last): File
> "../../common/script/bmm_gen.py", line 23, in <module> if
> int(sys.argv[3]) % len(rams) !=3D 0: ZeroDivisionError: integer
> division or modulo by zero make[1]: *** [src/boot.bmm] Error 1
>

Hi,

it seems it does not find the RAMs in the bitstream. Can you send
search-ramb.log?

Best,
Stefan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlbYFYsACgkQuMYtsrn2U9x1tACgicBb2zJJaaSeAA6mY3c6zfjN
QaYAniZ0bCGaJP5tYatcUzwOsfFCh/+1
=3Dbwip
-----END PGP SIGNATURE-----



More information about the lowrisc-dev mailing list