From: Luke Kenneth Casson Leighton Date: Mon, 5 Oct 2020 11:51:25 +0000 (+0100) Subject: whoops fix syntax error X-Git-Tag: 24jan2021_ls180~230 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58e1cdae32d6bc350ba1edff8e2b0fac6bd9f987;p=soc.git whoops fix syntax error --- diff --git a/src/soc/experiment/icache.py b/src/soc/experiment/icache.py index 0213473e..00697f6c 100644 --- a/src/soc/experiment/icache.py +++ b/src/soc/experiment/icache.py @@ -140,7 +140,7 @@ print("WAY_BITS =", WAY_BITS) # from microwatt/utils.vhdl def ispow2(n): - return ((n << 32) & ((n-1) << 32)) == 0: + return ((n << 32) & ((n-1) << 32)) == 0 assert LINE_SIZE % ROW_SIZE == 0 assert ispow2(LINE_SIZE), "LINE_SIZE not power of 2"