首页> 外国专利> Method for translating conditional expressions from a non-verilog hardware description language to verilog hardware description language while preserving structure suitable for logic synthesis

Method for translating conditional expressions from a non-verilog hardware description language to verilog hardware description language while preserving structure suitable for logic synthesis

机译:将条件表达式从非Verilog硬件描述语言转换为Verilog硬件描述语言并同时保留适用于逻辑综合的结构的方法

摘要

A methodology for translating conditional expressions of a non-Verilog hardware description language (HDL) program, not readily recognized by Verilog HDL, which can then be used to prove out a logic circuit design. IF/CASE/COND (ICC) expressions occurring within the HDL program that are not recognized by Verilog HDL are categorized and accordingly translated to IF/CASE statements in Verilog HDL syntax. For ICC expressions that are part of a conditional or binary operator expression, a globally incremental variable that is representative of a corresponding variable of an ICC expression is created for each variable of the ICC expression. The ICC expression is then assigned to the globally incremental variable(s) which is placed in an always statement that is recognized by Verilog HDL. Synthesis can then be performed on the always statement by a processor to generate a logic circuit representative of the module of the non-Verilog HDL program. Translation of other conditional expressions in the non-Verilog HDL program, including simple ICC expressions, nested ICC expressions, special expressions, and edge-triggered statements, can additionally be performed.
机译:转换非Verilog HDL不容易识别的非Verilog硬件描述语言(HDL)程序的条件表达式的方法,然后可用于证明逻辑电路设计。无法对Verilog HDL不能识别的HDL程序中出现的IF / CASE / COND(ICC)表达式进行分类,并相应地以Verilog HDL语法转换为IF / CASE语句。对于作为条件或二进制运算符表达式一部分的ICC表达式,将为ICC表达式的每个变量创建一个代表ICC表达式的相应变量的全局增量变量。然后,将ICC表达式分配给全局增量变量,该变量将被Verilog HDL识别的Always语句中。然后可以由处理器对Always语句执行综合,以生成表示非Verilog HDL程序模块的逻辑电路。可以另外执行非Verilog HDL程序中其他条件表达式的翻译,包括简单的ICC表达式,嵌套的ICC表达式,特殊表达式和边触发语句。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号