add TODOs
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sat, 14 Nov 2015 02:15:10 +0000 (03:15 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Sat, 14 Nov 2015 02:15:10 +0000 (03:15 +0100)
litex/gen/fhdl/verilog.py
litex/soc/interconnect/stream_packet.py
litex/soc/interconnect/stream_sim.py

index b5bc3f5626d69afa8e0c323fdc6069ac988d5eb2..faac18d1aed83bf28a8499c6f3d74018b5bff997 100644 (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",
index 17c724c447e07c59e214b89632a4fed53c37067d..cf2309c7ba6bd02d3760b5318bbc394d117d03a0 100644 (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
index 543f8d087281dd08b864afe7748ec7d6e2e468b7..ba345f64f765d669039f91f94934b5b2e72b8c6a 100644 (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
\ No newline at end of file