From: Florent Kermarrec Date: Sat, 2 Aug 2014 14:42:26 +0000 (+0200) Subject: gensoc/cpuif: do not generate access functions for registers > 64 bits X-Git-Tag: 24jan2021_ls180~2686 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1ff43faa7358f82d8e56077acb72ab8c67f0cd6;p=litex.git gensoc/cpuif: do not generate access functions for registers > 64 bits --- diff --git a/misoclib/gensoc/cpuif.py b/misoclib/gensoc/cpuif.py index 2646711d..994f9ddb 100644 --- a/misoclib/gensoc/cpuif.py +++ b/misoclib/gensoc/cpuif.py @@ -37,7 +37,7 @@ def _get_rw_functions(reg_name, reg_base, nwords, busword, read_only): size = nwords*busword if size > 64: - raise NotImplementedError("Register too large") + return r elif size > 32: ctype = "unsigned long long int" elif size > 16: