4410: include asf, pow param in example

This commit is contained in:
occheung 2021-12-01 12:04:38 +08:00
parent 816f19c027
commit da7058d442
1 changed files with 2 additions and 1 deletions

View File

@ -312,6 +312,7 @@ The full documentation for the ARTIQ software and gateware is available at \url{
% Timing accuracy in the examples below is well under 1 nanosecond thanks to the ARTIQ RTIO system. % Timing accuracy in the examples below is well under 1 nanosecond thanks to the ARTIQ RTIO system.
\subsection{10 MHz Sinusoidal Wave} \subsection{10 MHz Sinusoidal Wave}
Generate a 10MHz sinusoid from RF0 with full scale amplitude and 0.25 turns phase, attenuated by 6 dB.
Both the CPLD and the DDS channels should be initialized. Both the CPLD and the DDS channels should be initialized.
\begin{minted}{python} \begin{minted}{python}
@ -322,7 +323,7 @@ def run(self):
self.dds0.init() self.dds0.init()
self.dds0.cfg_sw(True) self.dds0.cfg_sw(True)
self.dds0.set_att(6.) self.dds0.set_att(6.)
self.dds0.set(10*MHz) self.dds0.set(10*MHz, amplitude=1.0, phase=0.25)
\end{minted} \end{minted}
If the synchronization feature of AD9910 was enabled, RF signal across different channels of the same Urukul can be synchronized. If the synchronization feature of AD9910 was enabled, RF signal across different channels of the same Urukul can be synchronized.