forked from M-Labs/artiq
1
0
Fork 0

sayma_amc: add converter SPI config defines

This commit is contained in:
Sebastien Bourdeauducq 2017-08-31 13:04:38 +08:00
parent bacf8a1614
commit a4144a07c4
1 changed files with 5 additions and 0 deletions

View File

@ -140,6 +140,11 @@ def main():
args.rtm_csr_csv)
for name, origin, busword, csrs in remote_csr_regions:
soc.add_csr_region(name, origin, busword, csrs)
# Configuration for RTM peripherals. Keep in sync with sayma_rtm.py!
soc.config["HAS_HMC830_7043"] = None
soc.config["CONVERTER_SPI_HMC830_CS"] = 0
soc.config["CONVERTER_SPI_HMC7043_CS"] = 1
soc.config["CONVERTER_SPI_FIRST_AD9154_CS"] = 2
build_artiq_soc(soc, builder_argdict(args))