Skip to content

Commit

Permalink
bench/serwb/demo: Add comment on icebreaker add_master and generate .…
Browse files Browse the repository at this point in the history
…json.
  • Loading branch information
enjoy-digital committed Feb 9, 2024
1 parent 72ee372 commit 66881fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/serwb/demo/icebreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(self, platform, with_analyzer=False):
serwb_bus = wishbone.Interface(data_width=32, address_width=32)
self.comb += self.serwb_slave_core.bus.connect(serwb_bus)
self.comb += serwb_bus.adr.eq(self.serwb_slave_core.bus.adr & 0x00ff_ffff) # FIXME.
self.bus.add_master("serwb", serwb_bus)
self.bus.add_master("serwb", serwb_bus) # FIXME: Add origin and size capability -> Would automatically filter addresses.

# Leds -------------------------------------------------------------------------------------
self.comb += [
Expand All @@ -101,7 +101,7 @@ def main():
platform.add_extension(icebreaker.break_off_pmod)
platform.add_extension(serwb_io)
soc = SerWBDemoSoC(platform)
builder = Builder(soc, csr_csv="csr.csv")
builder = Builder(soc, csr_csv="csr.csv", csr_json="icebreaker_soc.json")
builder.build(run=args.build)

if args.load:
Expand Down

0 comments on commit 66881fa

Please sign in to comment.