中国半导体行业协会封装分会会刊

中国电子学会电子制造与封装技术分会会刊

导航

电子与封装 ›› 2023, Vol. 23 ›› Issue (2): 020304 . doi: 10.16257/j.cnki.1681-1070.2023.0013

• 电路与系统 • 上一篇    下一篇

基于Python的级联半带滤波器RTL自动生成方法*

何秋秀;李晓蓉;邵杰;卓琳   

  1. 中国电子科技集团公司第五十八研究所,江苏 无锡 214035
  • 收稿日期:2022-07-25 发布日期:2023-02-23
  • 作者简介:何秋秀(1994—),女,湖北随州人,硕士,助理工程师,主要研究方向为大规模数字集成电路设计。

Method ofAutomatically Generating Cascaded Half-Band Filter RTL Based on Python

HE Qiuxiu, LI Xiaorong, SHAO Jie, ZHUO Lin   

  1. China Electronics Technology Group Corporation No.58 Research Institute, Wuxi 214035,China
  • Received:2022-07-25 Published:2023-02-23

摘要: 针对数字上下变频的滤波需求和自动化的发展趋势,提出了一种级联半带滤波器寄存器传输级(RTL)自动生成方法。该方法首先读取设计需求参数,创建Python字典对象,将设计参数存储于此字典对象中;然后读取字典对象中的设计参数,基于Python分析并生成并行流水线结构的级联半带滤波器RTL代码。试验结果表明,提出的方法能够自动生成任意N级的级联半带插值滤波器或者任意N级的级联半带抽取滤波器,生成的滤波器能够实现2N倍的插值或者抽取,提升了设计效率,缩短了开发周期。

关键词: 多级级联, 插值, 抽取, 半带滤波器, 自动生成

Abstract: An automatic generation method of cascaded half-band filter register transfer level (RTL) code is proposed for the filtering requirements of digital up and down conversion and the development trend of automation. Design requirement parameters are read, a python universal dictionary object is created, and the design parameters are stored in this dictionary object; Then the design parameters in the dictionary object are read, and RTL code of cascaded half-band filter with parallel pipeline structure is generated based on Python. The experimental results show that the proposed method can automatically generate any N-level cascaded half-band interpolation filter or any N-level cascaded half-band decimation filter, and the generated filter can achieve 2N times interpolation or decimation, which improves the design efficiency and shortens the development period.

Key words: multilevel cascade, interpolation, decimation, half-band filter, automatic generation

中图分类号: