add TODOs

This commit is contained in:
Florent Kermarrec 2015-11-14 03:15:10 +01:00
parent cf4c7da2e7
commit 16ba646b1b
3 changed files with 10 additions and 1 deletions

View File

@ -9,6 +9,7 @@ from litex.gen.fhdl.bitcontainer import bits_for
from litex.gen.fhdl.namer import build_namespace
from litex.gen.fhdl.conv_output import ConvOutput
# TODO: clean up simulation hack
_reserved_keywords = {
"always", "and", "assign", "automatic", "begin", "buf", "bufif0", "bufif1",

View File

@ -5,7 +5,8 @@ from litex.gen.genlib.fsm import FSM, NextState
from litex.soc.interconnect.stream import *
# TODO: move reverse_bytes / Counter
# TODO: clean up code below
# XXX
def reverse_bytes(signal):
n = (len(signal)+7)//8
@ -379,3 +380,5 @@ class Buffer(Module):
if almost_full is not None:
self.almost_full = Signal()
self.comb += self.almost_full.eq(data_fifo.fifo.level > almost_full)
# XXX

View File

@ -5,6 +5,9 @@ from copy import deepcopy
from litex.gen import *
from litex.soc.interconnect.stream import Sink, Source
# TODO: clean up code below
# XXX
def print_with_prefix(s, prefix=""):
if not isinstance(s, str):
s = s.__repr__()
@ -191,3 +194,5 @@ class AckRandomizer(Module):
selfp.run = 0
else:
selfp.run = 1
# XXX