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 ...
随机推荐
- luogu P3172 [CQOI2015]选数
传送门 颓了一小时柿子orz 首先题目要求的是\[\sum_{x_1=l}^{r}\sum_{x_2=l}^{r}...\sum_{x_n=l}^{r}[gcd(x_1,x_2...x_n)=k]\] ...
- linux下搭建lamp环境以及安装swoole扩展
linux下搭建lamp环境以及安装swoole扩展 一.CentOS 6.5使用yum快速搭建LAMP环境 准备工作:先更新一下yum源 我安装的环境是:apache2.2.15+mysql5 ...
- aplication.properties配置
1.设置使用的properties文件 spring.profiles.active=dev 设置激活使用哪个properties一般设置两个,一个是开发环境的,一个是本地的测试环境 可设置默认使用开 ...
- centos 6.8下载地址
centos6.8校验码查询网站:https://wiki.centos.org/zh-tw/Manuals/ReleaseNotes/CentOS6.8 CentOS 6.8 64位DVD 种子下载 ...
- L3-2 森森快递 (30 分)(贪心+线段树/分块)
题目链接:https://pintia.cn/problem-sets/1108203702759940096/problems/1108204121661857798 题目大意: 森森开了一家快递公 ...
- Mybatis--课程中循序渐进的体会 《黑马程序员_Springmvc+Mybatis由浅入深全套视频教程video》
mybatis 刚开始是用最原始的方法开发了一个入门程序,(没有dao) 1.将数据源配置在SqlMapConfig.xml 2.写一个po类 和映射文件User.xml(中的namespace=“名 ...
- 实验吧 ASCII艺术
题目链接:http://ctf5.shiyanbar.com/ppc/acsii.php 首先我们先理清题意,题目的意思是将下面这样这些小叉叉组成的数字,连起来输入得到flag,并且要在两秒以内. 两 ...
- Service生命周期
https://www.cnblogs.com/huihuizhang/p/7623760.html (1)Service是单例的,只要没有destroy,多次startService或bindSer ...
- SpringBoot的Web配置
重写全局配置 如果springboot提供的springmvc配置不符合要求,则可以通过一个配置类(标有@Configuration注解的类)加上@EnableWebMvc注解来实现完全自己控制的mv ...
- 20165231 预备作业二:学习基础和C语言基础调查
微信文章感想 读了娄老师微信公众号中的文章,老师给我们的启示首先就是要坚持,万事开头难,但是只要肯坚持就一定会有所成就,不管是学习还是生活方面.其中最有触动的就是减肥了,是我三四年来一直难以完成的目标 ...