soc/interconnect/wishbonebridge: reset_less optimizations
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 30 Jun 2017 17:41:14 +0000 (19:41 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 30 Jun 2017 17:41:14 +0000 (19:41 +0200)
litex/soc/interconnect/wishbonebridge.py

index b3be5bd88dc738c3c21f9af7f690f4d8393a2390..b9f9d10953c9b293165f9539a46e594d5eb6300c 100644 (file)
@@ -19,7 +19,7 @@ class WishboneStreamingBridge(Module):
 
         # # #
 
-        byte_counter = Signal(3)
+        byte_counter = Signal(3, reset_less=True)
         byte_counter_reset = Signal()
         byte_counter_ce = Signal()
         self.sync += \
@@ -29,7 +29,7 @@ class WishboneStreamingBridge(Module):
                 byte_counter.eq(byte_counter + 1)
             )
 
-        word_counter = Signal(3)
+        word_counter = Signal(3, reset_less=True)
         word_counter_reset = Signal()
         word_counter_ce = Signal()
         self.sync += \
@@ -39,16 +39,16 @@ class WishboneStreamingBridge(Module):
                 word_counter.eq(word_counter + 1)
             )
 
-        cmd = Signal(8)
+        cmd = Signal(8, reset_less=True)
         cmd_ce = Signal()
 
-        length = Signal(8)
+        length = Signal(8, reset_less=True)
         length_ce = Signal()
 
-        address = Signal(32)
+        address = Signal(32, reset_less=True)
         address_ce = Signal()
 
-        data = Signal(32)
+        data = Signal(32, reset_less=True)
         rx_data_ce = Signal()
         tx_data_ce = Signal()