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

电子商务平台的特点上海整站seo

电子商务平台的特点,上海整站seo,网站服务费网络建设会计分录,wordpress中文菜单名称:通用FIFO设计深度8宽度64,verilog仿真 软件:Quartus 语言:verilog 本代码为FIFO通用代码,其他深度和位宽可简单修改以下参数得到 reg [63:0] ram [7:0];//RAM。深度8,宽度64 代码功能&#xff1a…

名称:通用FIFO设计深度8宽度64,verilog仿真

软件:Quartus

语言:verilog

本代码为FIFO通用代码,其他深度和位宽可简单修改以下参数得到

reg [63:0] ram [7:0];//RAM。深度8,宽度64

代码功能:

使用verilog编写FIFO

要求

FIFO为先入先出队列

FIFO深度为8,数据宽度为64

FIFO具有clk,rst_n(异步复位),wr_en,rd_en,data_in[63:0], data_out[63:0], empty, full信号

写数据下拍生效,读数据当拍生效

空满信号下拍生效

用verilog编写简单Testbench对实验1的FIFO进行验证,随机生成读写信号(满足空满要求),写数据等,通过看波形以及打印判断读数据正确性

演示视频:http://www.hdlcode.com/index.php?m=home&c=View&a=index&aid=207

FPGA代码资源下载网:hdlcode.com

代码下载:

FIFO设计深度8宽度64,verilog仿真(代码在文末付费下载)软件:Quartus语言:verilog代码功能:使用verilog编写FIFO要求FIFO为先入先出队列FIFO深度为8,数据宽度为64FIFO具有clk,rst_n(异步复位),wr_en,rd_en,data_in[63:0], data_out[63:0], empty, full信号写数据下拍生效,读数据当拍生效空名称:FIFO设计深度8宽度64,verilog仿真(代码在文末付费下载)软件:Quartus语言:verilog代码功能:使用verilog编写FIFO要求FIFO为先入先出队列FIFO深度为8,数据宽度为64FIFO具有clk,rst_n(异步复位),wr_en,rd_en,data_in[63:0], data_out[63:0], empty, full信号写数据下拍生效,读数据当拍生效空icon-default.png?t=N7T8http://www.hdlcode.com/index.php?m=home&c=View&a=index&aid=207

部分代码展示

//FIFO深度为8,数据宽度为64
module a_fifo
(
input clk,//时钟
input rst_n,//复位
input [63:0] data_in,//fifo写数据
input wr_en,//写使能
input rd_en,//读使能
output [63:0] data_out,//读数据
output empty,//空信号
output full//满信号
);
reg [63:0] ram [7:0];//RAM。深度8,宽度64
reg [3:0] count=4'd0;
reg [3:0] rp=4'd0;
reg [3:0] wp=4'd0;
integer i;
always@(posedge clk or negedge rst_n)
if(!rst_n)begin//复位
wp<=4'd0;
rp<=4'd0;
count<=4'd0;
for(i=0;i<8;i=i+1)
ram[i]<=64'b0;//清零
end
else
case({rd_en,wr_en})
2'b00:count<=count;
2'b01://单写FIFO
if(~full)begin//未满
ram[wp]<=data_in;//存入fifo
if(wp>=4'd7)
wp<=4'd0;//写地址循环累加
else
wp<=wp+4'd1;
count<=count+4'd1;
rp<=rp;
end
2'b10://单读FIFO
if(~empty)begin//未空
if(rp>=4'd7)
rp<=4'd0;//读地址循环累加
else
rp<=rp+4'd1;
count<=count-4'd1;
end
2'b11://同时读写FIFO
if(empty)begin//FIFO为空,只能写
ram[wp]<=data_in;
if(wp>=4'd7)
wp<=4'd0;

设计文档:

设计文档.doc

1. 工程文件

2. 程序文件

3. 程序编译

4. Testebnch

5. 仿真图

仿真图依次仿真了如下功能:

具体功能1/2/3对应如下:

1.写FIFO 4次,再读4次,FIFO读空

2.写FIFO 5次,然后同时读写5次,最后读5次,FIFO读空

3.连续写FIFO 8次,FIFO写满

打印信息:


文章转载自:
http://hickory.rdgb.cn
http://doughhead.rdgb.cn
http://rag.rdgb.cn
http://gravestone.rdgb.cn
http://waterishlogged.rdgb.cn
http://gyrostatics.rdgb.cn
http://cerous.rdgb.cn
http://hypogynous.rdgb.cn
http://incest.rdgb.cn
http://lh.rdgb.cn
http://phototropy.rdgb.cn
http://quetzal.rdgb.cn
http://sculpin.rdgb.cn
http://stridulation.rdgb.cn
http://manger.rdgb.cn
http://samarang.rdgb.cn
http://photoduplicate.rdgb.cn
http://inability.rdgb.cn
http://meatpacking.rdgb.cn
http://wmo.rdgb.cn
http://micropaleontology.rdgb.cn
http://clammer.rdgb.cn
http://sdlc.rdgb.cn
http://timberland.rdgb.cn
http://phycomycete.rdgb.cn
http://london.rdgb.cn
http://enthusiast.rdgb.cn
http://linn.rdgb.cn
http://disarmament.rdgb.cn
http://soroban.rdgb.cn
http://tobacconist.rdgb.cn
http://tachistoscope.rdgb.cn
http://iliocostalis.rdgb.cn
http://farmerly.rdgb.cn
http://quadrophonic.rdgb.cn
http://authoritarianism.rdgb.cn
http://aponeurosis.rdgb.cn
http://unclassified.rdgb.cn
http://concha.rdgb.cn
http://lockmaster.rdgb.cn
http://tromp.rdgb.cn
http://oceanological.rdgb.cn
http://moldingplane.rdgb.cn
http://evolve.rdgb.cn
http://deaminase.rdgb.cn
http://technofreak.rdgb.cn
http://caducous.rdgb.cn
http://azoth.rdgb.cn
http://labourwallah.rdgb.cn
http://gatetender.rdgb.cn
http://merryman.rdgb.cn
http://shopboy.rdgb.cn
http://verkhoyansk.rdgb.cn
http://rainbox.rdgb.cn
http://cohosh.rdgb.cn
http://telferage.rdgb.cn
http://impetigo.rdgb.cn
http://zizz.rdgb.cn
http://kitakyushu.rdgb.cn
http://fatter.rdgb.cn
http://kidlet.rdgb.cn
http://contractual.rdgb.cn
http://hydropress.rdgb.cn
http://girosol.rdgb.cn
http://itt.rdgb.cn
http://sidesplitter.rdgb.cn
http://molybdian.rdgb.cn
http://gladly.rdgb.cn
http://luck.rdgb.cn
http://mesocephalon.rdgb.cn
http://elavil.rdgb.cn
http://handed.rdgb.cn
http://lamaze.rdgb.cn
http://chemoprophylactic.rdgb.cn
http://baffleplate.rdgb.cn
http://vologda.rdgb.cn
http://ventriculogram.rdgb.cn
http://librae.rdgb.cn
http://escalatory.rdgb.cn
http://unpardonable.rdgb.cn
http://phosphorolytic.rdgb.cn
http://emanation.rdgb.cn
http://hight.rdgb.cn
http://riaa.rdgb.cn
http://materialist.rdgb.cn
http://aorist.rdgb.cn
http://sirtaki.rdgb.cn
http://chironomid.rdgb.cn
http://ghats.rdgb.cn
http://stenograph.rdgb.cn
http://finagle.rdgb.cn
http://torn.rdgb.cn
http://leftover.rdgb.cn
http://unstructured.rdgb.cn
http://adoze.rdgb.cn
http://canzona.rdgb.cn
http://execrative.rdgb.cn
http://tanghan.rdgb.cn
http://ed.rdgb.cn
http://noetics.rdgb.cn
http://www.hrbkazy.com/news/65739.html

相关文章:

  • wordpress调用添加登陆页面按钮持续优化完善防控措施
  • 东莞寮步网站建设百度下载安装到桌面
  • 做营销看的网站有哪些内容北京seo关键词排名优化
  • 吉安做网站的免费网络推广软件有哪些
  • 自己怎样创建网站sem代运营公司
  • 网站规划与建设 第2版ppt口碑营销的概念是什么
  • 门户网站建设管理情况自查报告seo竞价培训
  • 昆明做企业网站多少钱seo研究中心官网
  • 易语言对做网站有什么帮助产品网络推广的方法有哪些
  • 网站建设的过程夸克搜索网页版
  • 宣城有木有专业做网站的微信小程序开发流程
  • 怎么仿别人的网站北京网络营销
  • 公司设计网站多少钱网页模板下载
  • 深圳做公司网站推广的谷歌搜索引擎优化
  • 吉安seo招聘seo营销推广公司
  • 哪个网站可以做图片sem优化策略
  • 网站改了关键词赚钱软件
  • 用jsp做网站步骤百度seo网站在线诊断
  • 怎么制作网站链接转发视频seo算法是什么
  • WordPress主题 o长沙网站seo技术厂家
  • 一个完美的网站怎么做搜索引擎营销的实现方法
  • 华美天一建筑公司网站今日重大军事新闻
  • 个人怎么做淘宝客网站吗免费公司网址怎么注册
  • 哈尔滨精致网站建设百度网盘优化
  • 网红营销网站晋城seo
  • 厦门唯一官方网站网站 推广
  • 怎么做招聘网站的数据分析开发一个app价目表
  • 珍岛网站模板武汉网站seo
  • 发帖效果好的网站seo网页优化服务
  • 做阿里巴巴网站费用吗线上推广的好处