Skip to content

Commit

Permalink
better name dma_output_capable
Browse files Browse the repository at this point in the history
  • Loading branch information
vk2seb committed Dec 5, 2023
1 parent 80c1514 commit 4023a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-ecpix-5.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
]

def add_eurorack_pmod(soc, sample_rate=48000, output_capable=True):
def add_eurorack_pmod(soc, sample_rate=48000, dma_output_capable=True):
soc.platform.add_extension(_io_eurorack_pmod)

# Create 256*Fs clock domain
Expand All @@ -55,7 +55,7 @@ def add_eurorack_pmod(soc, sample_rate=48000, output_capable=True):
soc.add_module("eurorack_pmod0", eurorack_pmod)

# Now instantiate the DMA router and connect it to the EurorackPmod.
add_dma_router(soc, eurorack_pmod, output_capable=output_capable)
add_dma_router(soc, eurorack_pmod, output_capable=dma_output_capable)

def main():
from litex.build.parser import LiteXArgumentParser
Expand Down

0 comments on commit 4023a70

Please sign in to comment.