From 1add778b516bad8c97457641c7a9f9fae26526a2 Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Wed, 27 Jul 2022 09:32:49 -0400 Subject: [PATCH] change CSR types --- firmware/generate_csr_locations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/generate_csr_locations.py b/firmware/generate_csr_locations.py index 34062f7..355e24c 100644 --- a/firmware/generate_csr_locations.py +++ b/firmware/generate_csr_locations.py @@ -2,8 +2,8 @@ import json reg_names = { - "adc" : ("conv", "sck", "sdo"), - "dac" : ("miso", "ctrl") + "adc" : ("from_slave", "finished", "arm", "conv"), + "dac" : ("from_slave", "to_slave", "finished", "arm", "ss") } max_num = 8 # TODO: make dependent on adc, dac