From d1ff43faa7358f82d8e56077acb72ab8c67f0cd6 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 2 Aug 2014 16:42:26 +0200 Subject: [PATCH] gensoc/cpuif: do not generate access functions for registers > 64 bits --- misoclib/gensoc/cpuif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2