Skip to content

Commit

Permalink
atlys: request 128 bits dram port for encoder (should fix issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jan 21, 2018
1 parent e423776 commit aa201c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gateware/encoder/core.py
Expand Up @@ -29,7 +29,7 @@ def __init__(self, dram_port):
burst_pixels = dram_port.dw//pixel_bits
alignment_bits = bits_for(dram_port.dw//8) - 1

self.comb += dma.source.connect(source) # XXX add Converter
self.comb += dma.source.connect(source)

base = Signal(32)
h_width = self.h_width.storage
Expand Down
2 changes: 1 addition & 1 deletion targets/atlys/hdmi2usb.py
Expand Up @@ -23,7 +23,7 @@ class HDMI2USBSoC(BaseSoC):
def __init__(self, platform, *args, **kwargs):
BaseSoC.__init__(self, platform, *args, **kwargs)

encoder_port = self.sdram.crossbar.get_port()
encoder_port = self.sdram.crossbar.get_port(mode="read", dw=128)
self.submodules.encoder_reader = EncoderDMAReader(encoder_port)
encoder_cdc = stream.AsyncFIFO([("data", 128)], 4)
encoder_cdc = ClockDomainsRenamer({"write": "sys",
Expand Down

0 comments on commit aa201c6

Please sign in to comment.