当前位置:网站首页>基于FPGA的64位8级流水线加法器
基于FPGA的64位8级流水线加法器
2022-07-28 01:24:00 【QQ_778132974】
使用verilog实现,qurartus下创建工程和仿真;
原理说明
64位8级流水线加法器,即是将64位拆成8个8位进行运算,最后将8个8位运算的结果相加得出最后的和和进位位。采用8级流水线进行加法运算,则从第一次输入两个加数的第一个时钟起,需要第8个时钟周期对应的和才输出来,之后源源不断的输入加数,则和也不断的输出,如下图所示:
8级流水线需要将加法运算拆分成8个时钟周期来完成,每个时钟周期需要将前面计算得到的和、还未进行计算的加数进行缓存,由此,比如第1个8位计算得到的和就需要缓存7次,第2个8位计算得到的和就需要缓存6次,以此类推。同时,还要将未进行计算的加数进行缓存,比如[63:56]这个8位就需要缓存7次,[55:48] 这个8位就需要缓存6次。
第1个时钟周期:计算第1个8位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算的加数
第2个时钟周期:计算第2个8位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算的加数
第3个时钟周期:计算第3个8位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算的加数
第4个时钟周期:计算第4个8位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算的加数
第5个时钟周期:计算第5个8位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算的加数
第6个时钟周期:计算第6个8位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算
边栏推荐
- Leetcode hot topic Hot 100 - > 1. Sum of two numbers
- 探究flex-basis
- 实际工作中,我是如何使用 Postman 做接口测试?
- ps 简单使用
- Promise from introduction to mastery (Chapter 2 understanding and use of promise)
- 【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
- Wechat campus maintenance and repair applet graduation design finished product of applet completion work (4) opening report
- cn+dt
- This operation may not be worth money, but it is worth learning | [batch cutting of pictures]
- Share an esp32 relay
猜你喜欢

这个操作可能不值钱,但却值得学习 | 【图片批量裁剪】

Flume (5 demos easy to get started)

Leetcode hot topic Hot 100 - > 2. Add two numbers

Mysql Explain 详解(荣耀典藏版)

Day6 函数和模块的使用

JS event loop synchronous task, asynchronous task (micro task, macro task) problem analysis

CeresDAO:全球首个基于DAO赋能Web3.0的去中心化数字资产管理协议

ERD online 4.0.0 free private deployment scheme

Say yes, I will love you, and I will love you well

基于stm32的恒功率无线充电
随机推荐
Digital empowerment and innovation in the future: hese eredi appears at the 5th Digital China Construction Summit
Class notes (5) (1) - 593. Binary search
retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'
[机缘参悟-53]:阳谋立身,阴谋防身
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(2)小程序功能
The cooperation between starfish OS and metabell is just the beginning
Explore flex basis
【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
MySQL锁系列之锁算法详解(荣耀典藏版)
探究flex-basis
基于stm32的恒功率无线充电
Sqlserver problem solving: replication components are not installed on this server. Please run SQL Server Setup again and select the option to install replication components
智能合约安全——selfdestruct攻击
Wechat campus bathroom reservation applet graduation design finished product (2) applet function
Interviewer: what is the factory method mode?
Wechat campus maintenance and repair applet graduation design finished product of applet completion work (4) opening report
Alipay applet authorization / obtaining user information
组原必备知识点
Leetcode judge whether palindrome number
Important arrangements - the follow-up live broadcast of dx12 engine development course will be held at station B