targets/avnect_aesku040: Update build.

This commit is contained in:
Florent Kermarrec 2022-06-29 09:41:18 +02:00
parent 6b02ea024a
commit b61c471058
1 changed files with 3 additions and 2 deletions

View File

@ -115,11 +115,12 @@ def main():
**soc_core_argdict(args)
)
builder = Builder(soc, **builder_argdict(args))
builder.build(run=args.build)
if args.build:
builder.build()
if args.load:
prog = soc.platform.create_programmer()
prog.load_bitstream(os.path.join(builder.gateware_dir, soc.build_name + ".bit"))
prog.load_bitstream(builder.get_bitstream_filename(mode="sram"))
if __name__ == "__main__":
main()