产生数据流的代码

模板

 

重新修改了下

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 数据流的更多相关文章

  1. verilog-产生axis数据流

    首先这是产生aixs数据流的代码 `timescale 1ps/1ps `default_nettype none module axis_switch_0_example_master #( ) ( ...

  2. 一站式学习Wireshark(三):应用Wireshark IO图形工具分析数据流

    基本IO Graphs: IO graphs是一个非常好用的工具.基本的Wireshark IO graph会显示抓包文件中的整体流量情况,通常是以每秒为单位(报文数或字节数).默认X轴时间间隔是1秒 ...

  3. Wireshark(三):应用Wireshark IO图形工具分析数据流

    原文出处: EMC中文支持论坛 基本IO Graphs: IO graphs是一个非常好用的工具.基本的Wireshark IO graph会显示抓包文件中的整体流量情况,通常是以每秒为单位(报文数或 ...

  4. angular2系列教程(九)Jsonp、URLSearchParams、中断选择数据流

    大家好,今天我们要讲的是http模块的第二部分,主要学习ng2中Jsonp.URLSearchParams.observable中断选择数据流的用法. 例子

  5. 《连载 | 物联网框架ServerSuperIO教程》- 10.持续传输大块数据流的两种方式(如:文件)

    1.C#跨平台物联网通讯框架ServerSuperIO(SSIO)介绍 <连载 | 物联网框架ServerSuperIO教程>1.4种通讯模式机制. <连载 | 物联网框架Serve ...

  6. 应用Apache Axis进行Web Service开发

    转自(http://tscjsj.blog.51cto.com/412451/84813) 一.概述 SOAP原意为Simple Object Access Protocol(简单对象访问协议),是一 ...

  7. 有理数的稠密性(The rational points are dense on the number axis.)

    每一个实数都能用有理数去逼近到任意精确的程度,这就是有理数的稠密性.The rational points are dense on the number axis.

  8. [LeetCode] Data Stream as Disjoint Intervals 分离区间的数据流

    Given a data stream input of non-negative integers a1, a2, ..., an, ..., summarize the numbers seen ...

  9. [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 ...

随机推荐

  1. luogu P3242 [HNOI2015]接水果

    传送门 其实这题难点在于处理路径包含关系 先求出树的dfn序,现在假设路径\(xy\)包含\(uv(dfn_x<dfn_y,dfn_u<dfn_v)\) 如果\(lca(u,v)!=u\) ...

  2. confluence 5.8.6升级到5.10.1

    1.下载最新版 https://www.atlassian.com/software/confluence/download 2.上传至服务器 tar zxf atlassian-confluence ...

  3. spring-core 中 asm 包的作用

    asm包中主要有以下这些类 其中, AnnotationVisitor类:是一个抽象类,定义在解析注解时会触发的事件,如解析到一个基本值类型的注解.enum值类型的注解.Array值类型的注解.注解值 ...

  4. Python 爬虫五 进阶案例-web微信登陆与消息发送

    首先回顾下网页微信登陆的一般流程 1.打开浏览器输入网址 2.使用手机微信扫码登陆 3.进入用户界面 1.打开浏览器输入网址 首先打开浏览器输入web微信网址,并进行监控: https://wx.qq ...

  5. Linux中的libc和glibc

    现在centos6.8-x64系统里的c标准库已经成了glibc,glibc取代了libc,c标准库的位置在/lib64/libc.so.6 以下为转载 一.libc库 Linux平台提供的C标准库包 ...

  6. 【.net ajax显示后台返回值】

    1..net ajax显示后台返回值 <script>        $(document).ready(function () {            $("#btn&quo ...

  7. No compiler is provided in this environment. --Maven build失败

    今天,maven build 失败了, 遇到下面的问题 经过查找,通过这个大佬的blog(  https://blog.csdn.net/lslk9898/article/details/738367 ...

  8. Css - 页面标签页图标

    Css - 页面标签页图标 <head>     <meta charset="utf-8" />     <title>京东(JD.COM)- ...

  9. Tesseract处理背景渐变的图片

    在Tesseract处理背景渐变图片不太理想的情况下, 可以利用Pillow库, 创建一个阈值过滤器来去掉渐变的背景色, 只把文字留下来, 从而让图片更清晰, 便于Tesseract读取: from ...

  10. 2018牛客暑期ACM多校训练营第一场(有坑未填)

    (重新组队后的第一场组队赛 也是和自己队友的一次磨合吧 这场比赛真的算是一个下马威吧……队友上手一看 啊这不是莫队嘛 然后开敲 敲完提交发现t了 在改完了若干个坑点后还是依然t(真是一个悲伤的故事)然 ...