共查询到20条相似文献,搜索用时 109 毫秒
1.
介绍了一种基于可编程逻辑器件FPGA和硬件描述语言VHDL的32位ALU的设计方法。该ALU采取层次化设计方法,由控制模块、逻辑模块、加减法模块、乘法模块和除法模块组成,能实现32位有符号数和无符号数的加减乘除运算,另外还能实现9种逻辑运算、6种移位运算以及高低字节内容互换。该ALU在QuartusII软件环境下进行了功能仿真, 通过验证表明,所设计的ALU完全正确,可供直接调用。 相似文献
2.
3.
针对FPGA运算速度快,设计灵活的特点,提出了一种新颖的利用可编程逻辑器件FP-GA和硬件描述语言VHDL实现的功能齐全的32位ALU的方法.该ALU具备4种算术运算,9种逻辑运算,4种移位运算以及比较、求补、奇偶校验等共20种运算.采用层次化设计,给出了ALU的主要子模块,各模块均占用了较少的逻辑资源(LE),实现了节省资源与速度提升.通过QuartusⅡ9.1进行编译,Modelsim6.5SE进行仿真,仿真结果与预期结果一致,将设计下载到Altera公司的EP2C35F484C6 FPGA中进行验证,证实了设计的可行性.实验结果表明,采用基于FPGA技术设计运算器灵活易修改,提高了设计效率. 相似文献
4.
5.
6.
7.
大数模乘和模加/减是椭圆曲线密码学(Elliptic Curve Cryptography,ECC)中的基本运算.通过分析改进的Montgomery模乘算法,把模乘运算划分成3个阶段映射到3级流水线电路中,并在不影响模乘运算效率的情况下添加少量的硬件资源到流水线的第3个阶段,得到了一个模乘加单元(Modular Multiplication and Addition Unit,MMAU).和Crow等人给出的包含4个模操作ALU的模运算处理器相比,三级流水的MMAU节省了50%的资源,同时吞吐量提高了6%. 相似文献
8.
9.
10.
11.
Vasily G. Moshnyaga 《The Journal of VLSI Signal Processing》2003,33(1-2):75-82
Reducing switching activity of Arithmetic and Logic Unit (ALU) is important for design of low-power processors. Due to two's complement data notation and fixed bit-width, existing ALUs perform many redundant signal transitions during subtraction, dissipating power. This paper proposes a new scheme that adaptively adjusts the ALU bit-width to input data variation. Unlike related techniques, the scheme masks the number of the Most Significant Bits whose values remain unchanged, thus preserving unnecessary signal variations in corresponding hardware. The scheme is simple in implementation yet efficient in performance. According to simulations, it can reduce the total number of signal transitions per subtraction as much as half and save up to 30% of energy/operation without sacrificing the quality of results. 相似文献
12.
Arithmetic Logic Unit(ALU) as one of the main parts of any computing hardware plays an important role in digital computers. In quantum computers which can be realized by reversible logics and circuits, reversible ALUs should be designed. In this paper, we proposed three different designs for reversible 1-bit ALUs using our proposed 3×3 and 4×4 reversible gates called MEB3 and MEB4(Moallem Ehsanpour Bolhasani) gates, respectively. The first proposed reversible ALU consists of six logical operations. The second proposed ALU consists of eight operations, two arithmetic, and six logical operations. And finally, the third proposed ALU consists of sixteen operations, four arithmetic operations, and twelve logical operations. Our proposed ALUs can be used to construct efficient quantum computers in nanotechnology, because the proposed designs are better than the existing designs in terms of quantum cost, constant input, reversible gates used, hardware complexity, and functions generated. 相似文献
13.
冯丽丽 《信息技术与信息化》2007,(6):78-79,109
单元测试是针对单个功能模块的测试,能尽早发现缺陷,降低滞后纠错的高成本,是软件测试的重要环节。本文在对单元测试和测试用例的开发周期做了简要说明之后,重点介绍了如何设计单元测试用例执行简单的单元测试,以及如何利用测试自动化执行测试用例加快单元测试速率。 相似文献
14.
15.
介绍一种用于固态调制器的多路同步触发脉冲信号发生器。在单片机AT89S52和现场可编程门阵列(FPGA)的控制下,触发信号按多脉冲猝发模式高重复频率输出,并且每个子脉冲的脉宽、频率等参数均可单独实时调制。触发信号系统和高压功率系统之间采用光电同步隔离,降低了高压部分对低压部分的干扰。发生器具有操作方便,信号稳定,多路同步输出等特点。得到最多240路同步信号、最多4脉冲猝发的触发脉冲。 相似文献
16.
微程序控制器主要是用于微指令排序和微指令执行。文章详细介绍了龙腾“C1”微处理器中微控器的体系结构,以高性能为目标,对微控器的预取部件进行了优化设计,并设计了微指令格式,同时在微控器审还采用了流水技术来优化设计。通过仿真结果表明系统性能得到提高,执行速度得到加快,达到了预期目的。 相似文献
17.
18.
针对周期信号之间的小相位差难以检测的问题,提出了一种基于ARM Cortex高性能微控制器,采用相位差放大处理技术的相位差检测方法,先使用放大器和比较器对初始信号进行处理,产生3个方波信号,然后利用ARM Cortex处理器I/O口的中断功能来检测相位差。根据本方法进行了系统的软件、硬件设计和实际信号测试,测试结果表明:信号在1 kHz时不确定度能达到2%。 相似文献
19.
This article presents a hardware-efficient design of 2-bit ternary arithmetic logic unit (ALU) using carbon nanotube field-effect transistors (CNTFETs) for nanoelectronics. The proposed structure introduces a ternary adder–subtractor functional module to optimise ALU architecture. The full adder–subtractor (FAS) cell uses nearly 72% less transistors than conventional architecture, which contains separate ternary cells for addition as well as subtraction. The presented ALU also minimises ternary function expressions with utilisation of binary gates for optimisation at the circuit level, thus attaining a simple design. Hspice simulations results demonstrate that the ALU ternary circuits achieve great improvement in terms of power delay product with respect to their CMOS counterpart at 32 nm. 相似文献