共查询到19条相似文献,搜索用时 375 毫秒
1.
变量是VHDL语言中顺序语句的一个特征。从分析变量的作用出发,论述RTL综合中变量赋值语句的综合方法及其相应依据;同时提出一种用于对变量赋值语句进行综合的数据结构--变量关联链表(VAL),及以此数据结构为基础的变量赋值语句的综合方法。最后给出采用VAL对变量赋值语句进行综合的实验结果。 相似文献
2.
使用抽象状态机模型(ASM)对Verilog的语义进行研究,给出各类赋值语句和延迟/事件控制结构的形式定义。以此为基础与VHDL进行对比,说明各种赋值语句和延迟/事件控制结构向VHDL的转换方法以及二者在转换前后的差异。 相似文献
3.
4.
配置是VHDL语言的一个基本设计单元,用来为设计实体指定综合或仿真时采用的结构体。论文结合教学实际讨论了VHDL语言中配置语句的常用的三种用法:默认配置、元件配置和结构配置。论文首先论述了每种配置语句的格式,然后以数字电路中的半加器和全加器的VHDL描述为例,说明每种配置语句格式的使用方法。最后对论文内容进行归纳并得出几点结论。论文对VHDL语言教学及基于VHDL层次化电路设计都具有一定的指导意义。 相似文献
5.
配置是VHDL语言的一个基本设计单元,用来为设计实体指定综合或仿真时采用的结构体。论文结合教学实际讨论了VHDL语言中配置语句的常用的三种用法:默认配置、元件配置和结构配置。论文首先论述了每种配置语句的格式,然后以数字电路中的半加器和全加器的VHDL描述为例,说明每种配置语句格式的使用方法。最后对论文内容进行归纳并得出几点结论。论文对VHDL语言教学及基于VHDL层次化电路设计都具有一定的指导意义。 相似文献
6.
C语言一共有三种基本结构,分别为顺序结构、选择结构、循环结构,其中选择结构又称为分支结构,它根据给定的条件是否成立选择接下来执行什么动作,在C语言中,有if语句和switch语句这两种控制语句可以实现上述的判断选择功能。通过几年的C语言教学,我发现其中if语句的学习是不少学生学习C语言的一个"瓶颈",原因主要有以下两点:(1)对if语句两种基本形式的格式掌握不好,含义的理解不够深刻,不知道什么时候该用第一种基本形式,什么时候该用第二种基本形式;(2)由于if语句的嵌套形式多变,使用灵活,使用if语句的嵌套时,学生容易逻辑混乱,层次不清,配对不明。所以,本文将重点就if语句的教学进行讨论。 相似文献
7.
前一章我们已介绍了顺序结构的程序段以及赋值语句和读、写语句的用法。在顺序结构的程序段中,各语句是按书写的顺序逐条执行的。程序的实际流程是确定的,没有选择的余地。然而,实际问题常常要求根据某些判断结果来选取程序的实际执行的流程,这就在流程图中出现了所谓“分支”。在PASCAL语言中,实现分支功能的语句主要有IF语句和CASE语句。本章将通过介绍这些语句来阐明具有分支结构的程序段的构成和用途。此外,本章还将简述实现无条件转移的GOTO语句。在PC-PASCAL中还扩充了一些具有分支功能的语句,如BREAK语句和CYCLE语句等,由于它们与循环结构的程序段联系较密切,因此我们在下一章中再作讨论。 相似文献
8.
高级综合中VHDL描述向Petri网转换方法的研究 总被引:1,自引:0,他引:1
提出一种基于执行路径的Petri网生成算法,该算法提取VHDL源描述中的功能和时序信息,生成与源描述完全等价的Petri网结构.算法采用条件树结构保存条件,语句执行条件和Petri网迁移条件都依据条件树生成.生成的Petri网能够准确地保存源描述中的I/O时序信息,形成调度过程中I/O操作处理的基础.从该结构出发,能够方便地实现各种I/O模式的调度。 相似文献
9.
10.
用VHDL语言设计流水操作 总被引:2,自引:0,他引:2
在介绍了VHDL语言的基本特点和流水线的概念之后,简要叙述了如何使用单赋值代码开发算法的并发性,以获得其流水结构,以便进行电路设计。最后,举例说明了用VHDL语言设计流水结构的一般步骤及在实际工作中的应用。 相似文献
11.
针对形式化程序验证中的并行调度问题,提出了基于依赖集的算法。通过引入依赖图和依赖集概念,以形式化方式描述程序语句间的依赖关系,然后给出了从语法分析树构造依赖图和依赖集的算法;最后在此基础上设计了并行调度算法并应用于计算机辅助程序验证系统。实验结果表明,该方法具有较高的并行效率。 相似文献
12.
This article describes an algorithm for incremental parsing of expressions in the context of syntax-directed editors for programming languages. Since a syntax-directed editor represents programs as trees and statements and expressions as nodes in trees, making minor modifications in an expression can be difficult. Consider, for example, changing a “ + ” operator to a “1” operator or adding a short subexpression at a syntactically but not structurally correct position, such as inserting “) 1 (d“ at the # mark in” (a + b # + c)”. To make these changes in a typical syntax-directed editor, the user must understand the tree structure and type a number of tree-oriented construction and manipulation commands. This article describes an algorithm that allows the user to think in terms of the syntax of the expression as it is displayed on the screen (in infix notation) rather than in terms of its internal representation (which is effectively prefix), while maintaining the benefits of syntax-directed editing. This algorithm is significantly different from other incremental parsing algorithms in that it does not involve modifications to a traditional parsing algorithm or the overhead of maintaining a parser stack or any data structure other than the syntax tree. Instead, the algorithm applies tree transformations, in real-time as each token is inserted or deleted, to maintain a correct syntax tree. 相似文献
13.
基于决策分类熵的决策树构造算法及应用 总被引:1,自引:0,他引:1
为了更好地完成金融数据集上的分类挖掘任务,以粗糙集理论为基础提出决策分类熵的概念,进而以属性的决策分类熵为属性分裂度量提出基于决策分类熵的决策树构造算法,并针对过拟合问题提出一种抑制参数来实现树规模的良好控制。实例分析及金融数据集上的实验表明:相比经典的C4.5决策树算法,新算法能够较好地克服其缺点和不足,构建更优的决策树,能够更好地完成分类任务。 相似文献
14.
15.
16.
The Frequent-Pattern-tree (FP tree) is an efficient data structure for association-rule mining without generation of candidate itemsets. It was used to represent a database into a tree structure which stored only frequent items. It, however, needed to process all transactions in a batch way. In the past, Hong et al. thus proposed an efficient incremental mining algorithm for handling newly inserted transactions. In addition to record insertion, record deletion from databases is also commonly seen in real-applications. In this paper, we thus attempt to modify the FP-tree construction algorithm for efficiently handling deletion of records. A fast updated FP-tree (FUFP-tree) structure is used, which makes the tree update process become easier. An FUFP-tree maintenance algorithm for the deletion of records is also proposed for reducing the execution time in reconstructing the tree when records are deleted. Experimental results also show that the proposed FUFP-tree maintenance algorithm for deletion of records runs faster than the batch FP-tree construction algorithm for handling deleted records and generates nearly the same tree structure as the FP-tree algorithm. The proposed approach can thus achieve a good trade-off between execution time and tree complexity. 相似文献
17.
18.