wb_types.py add reset value of 0b11111111 for WBSelType, which is the value of the...
authorCole Poirier <colepoirier@gmail.com>
Fri, 25 Sep 2020 20:08:19 +0000 (13:08 -0700)
committerCole Poirier <colepoirier@gmail.com>
Fri, 25 Sep 2020 20:15:30 +0000 (13:15 -0700)
src/soc/experiment/wb_types.py

index 4385a3eddfb9c514693614eedc7afe45be7daa83..bcf64b4215cbe4ae044debbb6f7fe4c0ec35cd79 100644 (file)
@@ -38,7 +38,7 @@ def WBDataType():
     return Signal(WB_DATA_BITS, name="dat")
 
 def WBSelType():
     return Signal(WB_DATA_BITS, name="dat")
 
 def WBSelType():
-    return Signal(WB_SEL_BITS, name="sel")
+    return Signal(WB_SEL_BITS, name="sel", reset=0b11111111)
 
 # type wishbone_master_out is record
 #     adr : wishbone_addr_type;
 
 # type wishbone_master_out is record
 #     adr : wishbone_addr_type;