Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird builder args behaviour #1934

Open
roby2014 opened this issue Apr 20, 2024 · 0 comments
Open

Weird builder args behaviour #1934

roby2014 opened this issue Apr 20, 2024 · 0 comments

Comments

@roby2014
Copy link
Contributor

roby2014 commented Apr 20, 2024

When compiling with this:

    builder_kwargs = builder_argdict(args)
    builder_kwargs["compile_software"] = False
    if builder_kwargs["csr_svd"] is None:
        builder_kwargs["csr_svd"] = f"../litex-pac/5a-75e_{args.revision}.svd"
    if builder_kwargs["memory_x"] is None:
        builder_kwargs["memory_x"] = "../litex-pac/memory.x"

    builder = Builder(soc, **builder_kwargs)
    builder.build(run=args.build)

I get a bitstream of

-rw-r--r-- 1 roby roby 218570 Apr 20 19:24 /home/roby/repos/colorlight-litex-rs/hw/build/colorlight_5a_75e/gateware/colorlight_5a_75e.bit

and flashing doesnt seem to be working (led does not blink when flash)

however, when using it like this:

builder = Builder(soc, **builder_argdict(args))
builder.build(run=args.build)

I get:

-rw-r--r-- 1 roby roby 658863 Apr 20 18:34 /home/roby/repos/risc-v-colorlight-5a-75e/build/colorlight_5a_75e/gateware/colorlight_5a_75e.bit

and flashing works (led blinks)

Am I stupid? Shouldnt this be the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant