›› 2010, Vol. 23 ›› Issue (11): 80-81.

• 论文 • 上一篇    下一篇

基于FPGA的32位ALU软核设计

周殿凤   

  1. (盐城师范学院 物电学院, 江苏 盐城 224002)
  • 出版日期:2010-11-15 发布日期:2010-12-23
  • 作者简介:周殿凤(1978-),女,硕士研究生,讲师。研究方向:EDA技术。

Design of a 32-bit ALU Based on FPGA

 ZHOU Dian-Feng   

  1. (School of Physical Science and Electronic Technique, Yancheng Normal University, Yancheng 224002, China)
  • Online:2010-11-15 Published:2010-12-23

摘要:

介绍了一种基于可编程逻辑器件FPGA和硬件描述语言VHDL的32位ALU的设计方法。该ALU采取层次化设计方法,由控制模块、逻辑模块、加减法模块、乘法模块和除法模块组成,能实现32位有符号数和无符号数的加减乘除运算,另外还能实现9种逻辑运算、6种移位运算以及高低字节内容互换。该ALU在QuartusII软件环境下进行了功能仿真, 通过验证表明,所设计的ALU完全正确,可供直接调用。

关键词: FPGA, VHDL, ALU, IP软核

Abstract:

A method for designing a 32-bit ALU based on the programmable logic device FPGA and VHDL language is introduced. The ALU is designed by modules. It is composed of control module, add-sub module, multiplication module and division module. The ALU can perform 32-bit signed and unsigned binary digit's mathematic operations. It can also perform nine kinds of logic and six kinds of arithmetic operation. In addition, it can exchange high-byte and low-byte's data. Its simulation in QuartusII shows that the ALU designed is correct and can be used for testing directly.

Key words: FPGA, VHDL, ALU, IP core

中图分类号: 

  • TP312