文档详情

算术运算的VHDL描述方法探讨.PDF

发布:2017-06-17约1.07万字共4页下载文档
文本预览下载声明
第29 卷 第 1 期 电气电子教学学报 Vol. 29 No. 1 2007 年2 月 JOURNAL OF EEE Feb. 2007 VHDL ¹ ( , 361021) :针对在VHDL 语言教学过程中, 如何进行算术运算的VHDL 描述问 进行了探讨。文中首先论述了VHDL 语言描述算术运算的局 限性; 重点阐述了加运算、减运算、乘运算、除运算、取模运算、取余运算的VHDL 描述方法; 由于设计的结果是一个专用的算式电路, 不运行任 何程序, 工作的可靠性和稳定性都优于用CPU 设计。 :算术运算;VHDL 描述; 程序 : P312 :A : 1008- 0686(2007)01- 0091- 04 Discuss in Arithmetic Cperation in VHDL Described Method FANG Yi2bin ( School of Inf ormat ion Eng ineering , J imei Univer sity , Xi amen 361021, Ch ina) Abstr act: his paper gives some discussion about the teaching experience in arithmetic operation in VHDL described method. Localization about arithmetic operation in VHDL is given first. hen the paper focuses on the method of the demonstration of plus operation, subtract operation, multiply operation, divide oper2 ation, modular arithmetic, remaining in VHDL. Owing to the result of the design is a special arithmetic circuit, no program is run, reliability and stability is better then the designing by CPU. Keywor ds:arithmetic operation;VHDL describe;program CPU, 完成各种复杂的数学运算, 不过这类芯片价 0 格较贵, 开发难度较大, 不适合在教学中使用。 EDA 技术可以帮助设计者完成电子系统设计 如果某个电路或应用系统设计中只完成某些特 中的大部分工作, 可以直接从程序中修改错误及系 定的算式, 可以用VHDL 描述的方式为算式设计一 统功能而不需要硬件电路的支持, 既缩短了研发周 个专用电路, 但这个描述只能用到基本的数字逻辑 期, 又节约了成本。但是直接用VHDL 设计算术运 运算以及加运算和减运算, 这种电路的工作方式与 算远不如微处理器方便, VHDL 中的 16 种算术运 通过CPU 运算不同, 工作过程中不运行程序, 运算 算中只有加、减、乘可以被EDA 工具综合为逻辑电 时间极短, 不会出现死机等含微处理器电路系统的 路, 其余的则很困难, 或者完全不可能。而且在 常见问 。 EDA 中完成乘法运算占用的资源太多, 所以大多数 情况下不能用VHDL 的算术运算符号直接描
显示全部
相似文档