frontend/adaptation: fix some comments
This commit is contained in:
parent
25c5a8aaf5
commit
afd2e441eb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue