本文内容、开发板及配件仅限用于学校或科研院所开展科研实验!
本文介绍GNU Radio中的逻辑运算(And、Or、Xor)模块。
在开始介绍之前,首先推荐一下Alexandros-Apostolos A. Boulogeorgos作者的https://github.com/aboulogeorgos/Wireless-communication-systems-Lab,这里作者分享了大量的GRC实例,但是我看目前关注的人数很少。我也是看了这个之后,被作者整理汇总工作的细致程度深深打动,下定决心一口气读完了作者分享的所有实例。
我打算在接下来一段时间里,首先把作者分享的实例,加上我个人的理解,继续丰富一下内容(例如XX模块中的参数的含义解释,以及XX模块的功能解释等等),然后,也把我这几年来搜集到的、自己改写的一些GNU Radio实例分享给大家,希望能够对关注、使用GNU Radio的朋友有所帮助。也欢迎大家有问题及时反馈给我,或者有好的实例,一起分享给大家。
目录
一、与运算And
1、AddOperator.grc
Random Source模块:
Generate num samples of random numbers of [min, max). Repeat samples if specified.
Ex: With min=0 and max=2, the sequence 01110101... will be generated.
运行上述GRC后,观察界面中只有当两个Random Source的取值都为非零时,相加后结果才为非零。
2、two_signal_source.grc
二、或运算Or
BooleanOR.grc
Canvas Size会设定画布的长和宽,例如1000,400,长1000,宽400。
The window size controls the dimensions of the flow graph editor. The window size (width, height) must be between (300, 300) and (4096, 4096).
三、异或运算Xor
BooleanOperators.grc
四、有用链接
https://github.com/aboulogeorgos/Wireless-communication-systems-Lab