From cfb5ef5548d46f5920fddd6f5ef29e71e331b423 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 9 Sep 2019 14:54:34 +0800 Subject: [PATCH] kasli_generic: add Novogorny support --- artiq/gateware/targets/kasli_generic.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/artiq/gateware/targets/kasli_generic.py b/artiq/gateware/targets/kasli_generic.py index 87f511835..01889afa8 100755 --- a/artiq/gateware/targets/kasli_generic.py +++ b/artiq/gateware/targets/kasli_generic.py @@ -45,6 +45,12 @@ def peripheral_urukul(module, peripheral): sync_gen_cls) +def peripheral_novogorny(module, peripheral): + if len(peripheral["ports"]) != 1: + raise ValueError("wrong number of ports") + eem.Novogorny.add_std(module, peripheral["ports"][0], ttl_serdes_7series.Output_8X) + + def peripheral_sampler(module, peripheral): if len(peripheral["ports"]) == 1: port, port_aux = peripheral["ports"][0], None @@ -81,6 +87,7 @@ def add_peripherals(module, peripherals): peripheral_processors = { "dio": peripheral_dio, "urukul": peripheral_urukul, + "novogorny": peripheral_novogorny, "sampler": peripheral_sampler, "zotino": peripheral_zotino, "grabber": peripheral_grabber,