frontend/adaptation: fix some comments

This commit is contained in:
Florent Kermarrec 2016-06-08 17:32:08 +02:00
parent 25c5a8aaf5
commit afd2e441eb
1 changed files with 3 additions and 3 deletions

View File

@ -52,10 +52,10 @@ class _LiteDRAMPortDownConverter(Module):
This module reduces user port data width to fit controller data width. This module reduces user port data width to fit controller data width.
With N = port_from.dw/port_to.dw: With N = port_from.dw/port_to.dw:
- Address is adapted (multiplied by N + internal increments) - Address is adapted (multiplied by N + internal increments)
- A single write from the user is splitted and generate N writes to the - A write from the user is splitted and generates N writes to the
controller. controller.
- Reads generates N reads on the controller and returned datas are regroup - A read from the user generates N reads to the controller and returned datas are regrouped
into a single data presented to the user. in a single data presented to the user.
""" """
def __init__(self, port_from, port_to): def __init__(self, port_from, port_to):
assert port_from.cd == port_to.cd assert port_from.cd == port_to.cd