aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Pendlum <jonathon.pendlum@ettus.com>2017-07-12 19:12:28 -0700
committerJonathon Pendlum <jonathon.pendlum@ettus.com>2017-07-12 19:12:28 -0700
commitf3a40f9a6e5add6f4396bb5dda0a4be11f2abe85 (patch)
tree8a8aef96d2592b30a4f45c5efc7a8906a36debd1
parentrfnoc: Updated OFDM Constellation Demod due to FPGA changes (diff)
downloaduhd-rfnoc-ofdm.tar.xz
uhd-rfnoc-ofdm.zip
rfnoc: Correct FFT direction in Noc Scriptrfnoc-ofdm
-rw-r--r--host/include/uhd/rfnoc/blocks/fft.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/rfnoc/blocks/fft.xml b/host/include/uhd/rfnoc/blocks/fft.xml
index 9b529eb83..af51d0ddb 100644
--- a/host/include/uhd/rfnoc/blocks/fft.xml
+++ b/host/include/uhd/rfnoc/blocks/fft.xml
@@ -87,8 +87,8 @@
<check>EQUAL($direction, "forward") OR EQUAL($direction, "reverse")</check>
<check_message>FFT direction must be either "forward" or "reverse".</check_message>
<action>
- IF(EQUAL($direction, "forward"), SR_WRITE("FFT_DIRECTION", 0)) OR
- IF(EQUAL($direction, "reverse"), SR_WRITE("FFT_DIRECTION", 1))
+ IF(EQUAL($direction, "forward"), SR_WRITE("FFT_DIRECTION", 1)) OR
+ IF(EQUAL($direction, "reverse"), SR_WRITE("FFT_DIRECTION", 0))
</action>
</arg>
<arg>