axis 数据流
产生数据流的代码
模板
重新修改了下
reg [:]axis_data_cnt='d0;
reg [:]axis_data_frame_cnt='d0;
reg [:]delay_cnt='d0; initial begin
# clk=;
forever begin
# clk=~clk;
end
end
initial
begin
# rst_n=;
# rst_n=;
# rst_n=;
# rst_n=;
end
always @(posedge clk)
begin
if(!rst_n)
begin
s_axis_data<='d0;
s_axis_valid<=;
s_axis_last<=;
axis_data_frame_cnt<='d0;
delay_cnt<='d0;
axis_data_cnt<='d0;
end
else
begin
if()
begin
if(axis_data_frame_cnt<='d51200)//22*10 10frame
begin
axis_data_frame_cnt<=axis_data_frame_cnt+;
if(axis_data_cnt<'d510)
begin
if(delay_cnt=='d7)
begin
delay_cnt<='d0;
s_axis_data<=s_axis_data+;
axis_data_cnt<=axis_data_cnt+;
s_axis_valid<=;
s_axis_last<=;
end
else
begin
delay_cnt<=delay_cnt+;
s_axis_data<=s_axis_data;
axis_data_cnt<=axis_data_cnt;
s_axis_valid<=;
s_axis_last<=;
end
end
else if(axis_data_cnt =='d510)
begin
if(delay_cnt=='d7)
begin
delay_cnt<='d0;
s_axis_data<=s_axis_data+;
s_axis_valid<=;
s_axis_last<=;
axis_data_cnt<=axis_data_cnt+;
end
else
begin
delay_cnt<=delay_cnt+;
s_axis_data<=s_axis_data;
s_axis_valid<=;
s_axis_last<=;
axis_data_cnt<=axis_data_cnt;
end
end
else if(axis_data_cnt=='d511)
begin
if(delay_cnt=='d7)
begin
delay_cnt<='d0;
s_axis_data<=s_axis_data;
s_axis_valid<='d0;
axis_data_cnt<=axis_data_cnt+;
s_axis_last<=;
end
else
begin
delay_cnt<=delay_cnt+;
s_axis_data<=s_axis_data;
s_axis_valid<='d0;
axis_data_cnt<=axis_data_cnt;
s_axis_last<=;
end
end
else
begin
delay_cnt<='d0;
s_axis_data<=s_axis_data;
s_axis_valid<='d1;
axis_data_cnt<=;
s_axis_last<=;
end
end else
begin
axis_data_frame_cnt<=axis_data_frame_cnt;
s_axis_data<='d1;
s_axis_valid<='d0;
s_axis_last<=;
axis_data_cnt<='d20;
end
end
end
end
axis 数据流的更多相关文章
- verilog-产生axis数据流
首先这是产生aixs数据流的代码 `timescale 1ps/1ps `default_nettype none module axis_switch_0_example_master #( ) ( ...
- 一站式学习Wireshark(三):应用Wireshark IO图形工具分析数据流
基本IO Graphs: IO graphs是一个非常好用的工具.基本的Wireshark IO graph会显示抓包文件中的整体流量情况,通常是以每秒为单位(报文数或字节数).默认X轴时间间隔是1秒 ...
- Wireshark(三):应用Wireshark IO图形工具分析数据流
原文出处: EMC中文支持论坛 基本IO Graphs: IO graphs是一个非常好用的工具.基本的Wireshark IO graph会显示抓包文件中的整体流量情况,通常是以每秒为单位(报文数或 ...
- angular2系列教程(九)Jsonp、URLSearchParams、中断选择数据流
大家好,今天我们要讲的是http模块的第二部分,主要学习ng2中Jsonp.URLSearchParams.observable中断选择数据流的用法. 例子
- 《连载 | 物联网框架ServerSuperIO教程》- 10.持续传输大块数据流的两种方式(如:文件)
1.C#跨平台物联网通讯框架ServerSuperIO(SSIO)介绍 <连载 | 物联网框架ServerSuperIO教程>1.4种通讯模式机制. <连载 | 物联网框架Serve ...
- 应用Apache Axis进行Web Service开发
转自(http://tscjsj.blog.51cto.com/412451/84813) 一.概述 SOAP原意为Simple Object Access Protocol(简单对象访问协议),是一 ...
- 有理数的稠密性(The rational points are dense on the number axis.)
每一个实数都能用有理数去逼近到任意精确的程度,这就是有理数的稠密性.The rational points are dense on the number axis.
- [LeetCode] Data Stream as Disjoint Intervals 分离区间的数据流
Given a data stream input of non-negative integers a1, a2, ..., an, ..., summarize the numbers seen ...
- [LeetCode] Find Median from Data Stream 找出数据流的中位数
Median is the middle value in an ordered integer list. If the size of the list is even, there is no ...
随机推荐
- 第26月第8天 android studio 国内
1. //东软信息学院 mirrors.neusoft.edu.cn 80 使用方法: 启动 Android SDK Manager ,打开主界面,依次选择「Tools」.「Options…」,弹 ...
- Spark On Yarn报警告信息 WARN yarn.Client: Neither spark.yarn.jars nor spark.yarn.archive is set, falling back to uploading libraries under SPARK_HOME.
1 贴出完整日志信息 // :: INFO client.RMProxy: Connecting to ResourceManager at hdp1/ // :: INFO yarn.Client: ...
- 将sublime添加到鼠标右键
1.win+R 输入regedit ,打开注册表. 2.找到HKEY_CLASSES_ROOT/*/shell目录,在此目录下 ①新建项,命名为“sublime Text”(也可以是其他名字),双击右 ...
- Centos 03 基础命令
切换目录 cd ~ 切换到当前用户的家目录 cd - 切换到上一次的目录 上传与下载 支持包在Dial-up Networking Support选项里,没有装可以通过 1.yum install l ...
- Java生成短链接
为什么要生成短链接 微博之所以要是使用短链接,主要是因为微博只允许发140 字,如果链接地址太长的话,那么发送的字数将大大减少. 那么使用短链接的作用有哪些呢?1.字数,2.统计,3.监控,4.过滤 ...
- mongodb 案例 ~ 经典故障案例
一 简介:此文汇总遇到过和搜集过的故障案例 二 场景案例 1 问题描述: mongo集群在无任何业务情况下,mongos所在服务器cpu突然被打满,内核日志报错 mongos被hung住,非常奇怪的问 ...
- mysql 查询优化 ~ explain与索引失效
一 explain 1 扫描行数根据的是表的统计元数据 2 索引的元数据具体指的就是show index from查到的索引的区分度,索引的区分度越高越好 3 表的元数据是定期收集,所以可能不 ...
- RabbitMQ简单应用の订阅模式
订阅模式 公众号-->订阅之后才会收到相应的文章. 解读: 1.一个生产者,多个消费者 2.每个消费者都有自己的队列 3.生产者没有将消息直接发送到队列里,而是发送给了交换机(转发器)excha ...
- tp5.0 结合 Redis Cache缓存风暴
方法介绍 1.sadd() 描述:为一个Key添加一个值.如果这个值已经在这个Key中,则返回FALSE. 参数:key value 返回值:成功返回true,失败false 2.delete() ...
- android动态设置组件LayoutParams
开发中经常用到动态设置组件的LayoutParams,之前开发遇到的问题如下: LinearLayout.LayoutParams params = new LinearLayout.LayoutPa ...