From 7643c19cd25e070e6333e7f56d0f44f9bed38e3c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 9 Jun 2021 20:07:51 +0100 Subject: [PATCH] doh, supposed to subtract 16 not throw the calculation away --- libresoc/ls180.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresoc/ls180.py b/libresoc/ls180.py index 744e836..81858ed 100644 --- a/libresoc/ls180.py +++ b/libresoc/ls180.py @@ -156,7 +156,7 @@ def io(): # not connected - eurgh have to adjust this to match the total pincount. num_nc = 24 - num_nc - 16 # added 16 more power/gnd + num_nc -= 16 # added 16 more power/gnd num_nc += 4 # mspi1 comments out, litex problems 25mar2021 num_nc += 6 # sd0 comments out, litex problems 25mar2021 num_nc += 2 # pwm comments out, litex problems 25mar2021 -- 2.30.2