当前位置:网站首页>基于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位的和,并加上前一个的进位位。缓存前面得到的和、未进行计算
边栏推荐
- Get the difference data of two sets
- 分层图解决的一些最短路问题
- The virtual host website cannot access the self-test method
- Detailed explanation of the lock algorithm of MySQL lock series (glory Collection Edition)
- Ceresdao: new endorsement of ventures Dao
- Xiaomi website homepage big module - small module + navigation (floating case)
- [data processing] boxplot drawing
- mysql 如图所示,现有表a,表b,需求为 通过projectcode关联a、b表,查出address不同的 idcardnum。
- [深入研究4G/5G/6G专题-42]: URLLC-14-《3GPP URLLC相关协议、规范、技术原理深度解读》-8-低延时技术-2-基于slot的调度与Slot内灵活的上下行符号配比
- Feign calls get and post records
猜你喜欢

Ceresdao: the world's first decentralized digital asset management protocol based on Dao enabled Web3.0

学会这招再也不怕手误让代码崩掉

Mysql Explain 详解(荣耀典藏版)

MYSQL解决死锁之路 - 常见 SQL 语句的加锁分析

How to put app on the app store?

"Risking your life to upload" proe/creo product structure design - seam and buckle
![[data processing] boxplot drawing](/img/4e/c4f863d06d8b318e6bb2d40e0c5ed3.png)
[data processing] boxplot drawing

"The faster the code is written, the slower the program runs"

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

Read Plato & nbsp; Eplato of farm and the reasons for its high premium
随机推荐
LeetCode 热题 HOT 100 -> 1.两数之和
使用BigDecimal类型应该避免哪些问题?(荣耀典藏版)
【愚公系列】2022年07月 Tabby集成终端的使用
实际工作中,我是如何使用 Postman 做接口测试?
Xiaomi website homepage big module - small module + navigation (floating case)
cn+dt
这个操作可能不值钱,但却值得学习 | 【图片批量裁剪】
AWS elastic three swordsman
MySQL explain (glory Collection Edition)
What problems should be avoided when using BigDecimal type? (glory Collection Edition)
LETV responded that employees live an immortal life without internal problems and bosses; Apple refuses to store user icloud data in Russia; Dapr 1.8.0 release | geek headlines
一文读懂Plato Farm的ePLATO,以及其高溢价缘由
MySQL high availability and master-slave synchronization
Share an esp32 relay
Smart contract security -- selfdestroy attack
How to put app on the app store?
Promise from introduction to mastery (Chapter 2 understanding and use of promise)
软工必备知识点
Say yes, I will love you, and I will love you well
分层图解决的一些最短路问题