[lowrisc-dev] Problem compiling bare metal examples

Stefan Wallentowitz stefan at wallentowitz.de
Thu Mar 3 10:44:27 GMT 2016


-----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) != 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
=bwip
-----END PGP SIGNATURE-----



More information about the lowrisc-dev mailing list