Skip to content

Commit 7d59ec3

Browse files
committedAug 31, 2017
cpu_interface: eliminate 'bool' Rust type
Was never used and leads to inconsistencies.
1 parent c5edcd0 commit 7d59ec3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

Diff for: ‎misoc/integration/cpu_interface.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,8 @@ def _get_rstype(size):
165165
return "u32"
166166
elif size > 8:
167167
return "u16"
168-
elif size > 1:
169-
return "u8"
170168
else:
171-
return "bool"
169+
return "u8"
172170

173171

174172
def _get_rw_functions_rs(reg_name, reg_base, size, nwords, busword, read_only):

0 commit comments

Comments
 (0)