当前位置:网站首页>基于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位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算
边栏推荐
- 【愚公系列】2022年07月 Go教学课程 019-循环结构之for
- QT implementation disable shortcut key
- cn+dt
- Today in history: the father of database passed away; Apple buys cups code; IBM chip Alliance
- Three core issues of concurrent programming (glory Collection Edition)
- Flume (5 demos easy to get started)
- pytorch优化器设置
- Explore flex basis
- [机缘参悟-53]:阳谋立身,阴谋防身
- MySQL pymysql operation
猜你喜欢

【HCIP】路由策略、策略路由

Red hat official announced the new president and CEO! Paul Cormier, a key figure in transformation, is "retiring"

一文读懂Plato Farm的ePLATO,以及其高溢价缘由

借助Elephant Swap打造的ePLATO,背后的高溢价解析

【ROS进阶篇】第九讲 基于Rviz和Arbotix控制的机器人模型运动

Plato Farm在Elephant Swap上铸造的ePLATO是什么?
![This operation may not be worth money, but it is worth learning | [batch cutting of pictures]](/img/e8/a34e471b0089f8085b140c74b5c01f.jpg)
This operation may not be worth money, but it is worth learning | [batch cutting of pictures]

MySQL's way to solve deadlock - lock analysis of common SQL statements

Flex layout - fixed positioning + flow layout - main axis alignment - side axis alignment - expansion ratio

The cooperation between starfish OS and metabell is just the beginning
随机推荐
C#引入WINAPI传递中文字符串参数字符集问题
[Yugong series] July 2022 go teaching course 019 - for circular structure
Promise from getting started to mastering (Chapter 3: customize (handwriting) promise)
【HCIP】路由策略、策略路由
What can you say to comfort your girlfriend or daughter-in-law
支付宝小程序授权/获取用户信息
了解加密行业的“下一个大趋势”——Ventures DAO
网络必知题目
Lock mechanism in MySQL database InnoDB storage engine (glory Collection Edition)
what‘s the meaning of “rc“ in release name
The cooperation between starfish OS and metabell is just the beginning
Red hat official announced the new president and CEO! Paul Cormier, a key figure in transformation, is "retiring"
Promise from introduction to mastery (Chapter 2 understanding and use of promise)
剑指offer专项突击版第12天
How to put app on the app store?
[hcip] BGP features
When iPhone copies photos to the computer, the device connection often fails and the transmission is interrupted. Here's the way
MySQL's way to solve deadlock - lock analysis of common SQL statements
Learn this trick and never be afraid to let the code collapse by mistake
MySQL pymysql operation