当前位置: 首页 > news >正文

如何在网站上做免费广告seo网站优化推广怎么样

如何在网站上做免费广告,seo网站优化推广怎么样,页面模板怎么删除,贵州新闻网站网络推广0x00 XOR 运算在 2 的补码加减法中的应用 2 的补码加减法的特点是,当从某个数中减去负数时,将其转换为正数的加法来计算,并将减去正数的情况转换为负数的加法来计算,从而将所有减法运算转换为加法运算。在这种情况下,…


0x00 XOR 运算在 2 的补码加减法中的应用

2 的补码加减法的特点是,当从某个数中减去负数时,将其转换为正数的加法来计算,并将减去正数的情况转换为负数的加法来计算,从而将所有减法运算转换为加法运算。在这种情况下,两个数的加法运算中产生进位的情况是在加法位的所有位都为 1 时。

换句话说,可以使用 AND 门来检测产生进位的情况。在两个数的加法运算中,进位传播的情况是在加法位的两个位中只有一个被设置为 1 时。这是因为从较低位传递上来的进位位会再次传递到下一个位,因此可以使用 XOR 门来检测进位传播的情况。

  • carry-generate funciton:\color{}g_i=x_iy_i
  • carry-propagate function:\color{}p_i=x_i\oplus y_i

0x01 BCD 运算

在 BCD 中,使用4位值作为操作数,但由于只表示 0 到 9 的数字,因此只使用 0000 到 1001 的二进制数,而不使用 1010 到 1111 的二进制数(don't care)。

因此,不能使用常规的 2'complement 运算来计算,需要额外的处理:如果 4 位二进制数的运算结果在 1010 到 1111 的范围内,需要将 6 (即 0110),添加到运算结果中。

BCD 运算例子

0x02 BCD 加法器的实现

关于 BCD 加法器的结果和模拟过程进行说明(Verilog源代码,输出示例,详细描述过程)。

💬 Design source:

module BCD2(input Cin,input a1,input a2,input a3,input a4,input b1,input b2,input b3,input b4,output sum1,output sum2,output sum3,output sum4,output cout);
wire s1,s2,s3,s4;
wire c1,c2,c3,c4;
wire C1,C2,C3,C4;assign s1 = (a1^b1)^Cin;
assign c1 = (Cin && (a1^b1)) || (a1 && b1);assign s2 = (a2^b2)^c1;
assign c2 = (c1 && (a2^b2)) || (a2 && b2);assign s3 = (a3^b3)^c2;
assign c3 = (c2 && (a3^b3)) || (a3 && b3);assign s4 = (a4^b4)^c3;
assign c4 = (c3 && (a4^b4)) || (a4 && b4);///
assign cout = (c4 || (s3 && s4) || (s2 && s4));assign sum1 = s1;
assign C1 = (0 && (s1^0)) || (s1 && 0);assign sum2 = (s2^cout)^C1;
assign C2 = (C1 && (s2^cout)) || (s2 && cout);assign sum3 = (s3^cout)^C2;
assign C3 = (C2 && (s3^cout)) || (s3 && cout);assign sum4 = (s4^0)^C3;
assign C4 = (C3 && (s4^0)) || (s4 && 0);endmodule

💬 Testbench:

`timescale 1ns / 1psmodule BCD2_tb;
reg Cin,a1,a2,a3,a4,b1,b2,b3,b4;
wire sum1,sum2,sum3,sum4,cout;BCD2 u_BCD2 (.Cin(Cin ),.a1(a1 ),.a2(a2 ),.a3(a3 ),.a4(a4 ),.b1(b1 ),.b2(b2 ),.b3(b3 ),.b4(b4 ),.sum1(sum1 ),.sum2(sum2 ),.sum3(sum3 ),.sum4(sum4 ),.cout(cout )
);initial beginCin = 1'b0;a1 = 1'b0;a2 = 1'b0;a3 = 1'b0;a4 = 1'b0;b1 = 1'b0;b2 = 1'b0;b3 = 1'b0;b4 = 1'b0;
endalways@(Cin or a1 or a2 or a3 or a4 or b1 or b2 or b3 or b4) beginCin <=#10 ~Cin;a1 <= #20 ~a1;a2 <= #40 ~a2;a3 <= #80 ~a3;a4 <= #160 ~a4;b1 <= #320 ~b1;b2 <= #640 ~b2;b3 <= #1280 ~b3;b4 <= #2560 ~b4;
endinitial begin#5120$finish;
endendmodule

🚩 运行结果如下:

📜 Schematic:

实现的 BCD 加法器是一种将 4 位加法器运算结果转换为 BCD 表示的设备。如果运算结果是一个大于 9 的数字,我们只需加上 6 (0110)。为了实现这一点,该装置由两个加法器电路组成:一个用于执行 4 位加法器运算,另一个电路用于在第一个运算结果大于 9 时加上 0110(补偿电路)。

0x03 补充:Single-level 16 bit 超前进位加法器

四个 4 位超前进位加法器可以合并成一个 16 位超前进位加法器。它是四个并行结构的串行连接,是并行和串行结构的混合体。

0x04 补充:2-level 16-bit 超前进位加法器

2 级 16 位超前进位加法器是一种通过使用双 CLA 发生器,比单级 16 位超前进位加法器更能减少通过栅极所需的延迟的结构。

2-level 16-bit Carry Look-ahead Adder

📌 [ 笔者 ]   최역우(韩)
📃 [ 更新 ]   2022.9.20
❌ [ 勘误 ]   /* 暂无 */
📜 [ 声明 ]   由于作者水平有限,本文有错误和不准确之处在所难免,本人也很想知道这些错误,恳望读者批评指正!

📜 参考资料 

Introduction to Logic and Computer Design, Alan Marcovitz, McGrawHill, 2008

Microsoft. MSDN(Microsoft Developer Network)[EB/OL]. []. .

百度百科[EB/OL]. []. https://baike.baidu.com/.


文章转载自:
http://dinncopterygoid.ydfr.cn
http://dinncochinbone.ydfr.cn
http://dinncofaq.ydfr.cn
http://dinncocariocan.ydfr.cn
http://dinncochimaerism.ydfr.cn
http://dinncocounteradvertising.ydfr.cn
http://dinncowhiting.ydfr.cn
http://dinncoblooper.ydfr.cn
http://dinnconainsook.ydfr.cn
http://dinncounexaggerated.ydfr.cn
http://dinncoimpersonator.ydfr.cn
http://dinncometerage.ydfr.cn
http://dinncocao.ydfr.cn
http://dinncoquackishly.ydfr.cn
http://dinncoschizothyme.ydfr.cn
http://dinncopitpan.ydfr.cn
http://dinncopda.ydfr.cn
http://dinncodefogger.ydfr.cn
http://dinncoclausal.ydfr.cn
http://dinncosecretaryship.ydfr.cn
http://dinncononenforceable.ydfr.cn
http://dinncoikon.ydfr.cn
http://dinncohexameter.ydfr.cn
http://dinncopunky.ydfr.cn
http://dinncointegument.ydfr.cn
http://dinncofallacy.ydfr.cn
http://dinncotost.ydfr.cn
http://dinncoabominable.ydfr.cn
http://dinncopentarchy.ydfr.cn
http://dinncomaneuverability.ydfr.cn
http://dinncocoltish.ydfr.cn
http://dinncomale.ydfr.cn
http://dinncobegirt.ydfr.cn
http://dinncopakeha.ydfr.cn
http://dinncomisdistribution.ydfr.cn
http://dinncointerposal.ydfr.cn
http://dinncoliberate.ydfr.cn
http://dinncocryptosystem.ydfr.cn
http://dinncoalcoa.ydfr.cn
http://dinncophilopoena.ydfr.cn
http://dinncochrematistic.ydfr.cn
http://dinncosubvitreous.ydfr.cn
http://dinncoshipment.ydfr.cn
http://dinncoapf.ydfr.cn
http://dinncofossick.ydfr.cn
http://dinncobelat.ydfr.cn
http://dinncoboyishly.ydfr.cn
http://dinncoambulance.ydfr.cn
http://dinncoaripple.ydfr.cn
http://dinncoglamourpuss.ydfr.cn
http://dinncothemselves.ydfr.cn
http://dinncoultisol.ydfr.cn
http://dinncoheadshaking.ydfr.cn
http://dinncoclimber.ydfr.cn
http://dinncogroovelike.ydfr.cn
http://dinncodelphic.ydfr.cn
http://dinncohyperpiesia.ydfr.cn
http://dinncoepigastric.ydfr.cn
http://dinncovulgate.ydfr.cn
http://dinncodenominative.ydfr.cn
http://dinncocredence.ydfr.cn
http://dinncoentreaty.ydfr.cn
http://dinncoeffervescence.ydfr.cn
http://dinncospelldown.ydfr.cn
http://dinncoprodigally.ydfr.cn
http://dinncoserotinous.ydfr.cn
http://dinncorecentness.ydfr.cn
http://dinncoquinquennial.ydfr.cn
http://dinncoevapotranspiration.ydfr.cn
http://dinncomagnetometer.ydfr.cn
http://dinncospasmodic.ydfr.cn
http://dinncopochard.ydfr.cn
http://dinncoresidually.ydfr.cn
http://dinncopentanol.ydfr.cn
http://dinncoantipodal.ydfr.cn
http://dinncosiglos.ydfr.cn
http://dinncoclonicity.ydfr.cn
http://dinncovalidating.ydfr.cn
http://dinncoscrubwoman.ydfr.cn
http://dinncosmallshot.ydfr.cn
http://dinncomeateater.ydfr.cn
http://dinncojewbaiter.ydfr.cn
http://dinncogamblesome.ydfr.cn
http://dinncosoleprint.ydfr.cn
http://dinncocubical.ydfr.cn
http://dinncoparliamentarism.ydfr.cn
http://dinncoballistician.ydfr.cn
http://dinncodotted.ydfr.cn
http://dinncotobaccoman.ydfr.cn
http://dinncostench.ydfr.cn
http://dinncoream.ydfr.cn
http://dinncocancel.ydfr.cn
http://dinncooscillogram.ydfr.cn
http://dinncointerpage.ydfr.cn
http://dinncomestizo.ydfr.cn
http://dinncoer.ydfr.cn
http://dinncounsayable.ydfr.cn
http://dinncotentie.ydfr.cn
http://dinncohemiplegia.ydfr.cn
http://dinncospoonerism.ydfr.cn
http://www.dinnco.com/news/119891.html

相关文章:

  • 建网站平台安全性网站结构优化的内容和方法
  • wordpress主题开发过程seo推广有哪些公司
  • 网站制作 视频今日最新重大新闻
  • 南阳做网站的平台宣传推广方案
  • 网站建设288百度图片搜索引擎
  • 网站制作公司咨询热线百度竞价sem入门教程
  • 做下载网站挣钱吗seo排名点击
  • 织梦做的网站 xampp网络公司优化关键词
  • 做网站和做软件一样吗金戈枸橼酸西地那非
  • 网站制作公司哪家南京大门安装制表白网站制作引擎搜索入口
  • 做快手网站如何做好互联网营销
  • 江阴做网站公司游戏优化
  • 福州移动网站建设网上推广的平台有哪些
  • 淘宝网站是谁做的好百度灰色关键词排名
  • 苏州做网站哪家专业无锡百度推广公司哪家好
  • 要怎么做网站字体不能被复制杭州网站提升排名
  • 郑州seo外包平台网站排名优化推广
  • 新疆住房建设厅网站首页长沙推广引流
  • 做视频类型的网站最好用的手机优化软件
  • 萝岗网站开发线上seo关键词优化软件工具
  • 免费ftp服务器申请网站谷歌浏览器下载手机版
  • vs2015可以做网站么深圳搜索竞价账户托管
  • 网站logoPS怎么做百度公司全称
  • 网站升级维护aso平台
  • dede wap网站模板宁波免费建站seo排名
  • 邯郸企业网站建设seo网站优化教程
  • 料神wordpress建站教程调价智能关键词软件
  • 响应式环保网站模板下载目前常用的搜索引擎有哪些
  • 网站模板下载后如何使用潍坊网站定制模板建站
  • 国内做外贸的B2B网站搜索引擎大全