Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
TEST.V
Package: verilog.HDL.examples.rar [view]
Upload User: saul_905
Upload Date: 2013-11-27
Package Size: 184k
Code Size: 1k
Category:
VHDL-FPGA-Verilog
Development Platform:
Visual C++
- //////////////////////////////////////////////////////////////
- ////////Module name :test /////////////
- ////////Function :used to test the sequence_detect.v/////////////
- ////////Author :Xiaoming Chen /////////////
- ////////Date :18/12/2002 /////////////
- //////////////////////////////////////////////////////////////
- `include "sequence_dectect.v"
- `timescale 1ns/100ps
- module test;
- reg clk,rst;
- reg [63:0] data;
- wire out_signal,current_bit;
- assign current_bit=data[63];
- initial
- begin
- clk<=0;
- rst<=1;
- #2 rst<=0;
- #30 rst<=1;
- data=64'b1101_1101_1101_0111_0111_0101_1100_0101_1101_1011_0001_0000_1011_1010_1100_0101;
- end
- always #10 clk=~clk;
- always@(posedge clk)
- data<={data[62:0],data[63]};
- sequence_dectect m(current_bit,out_signal,clk,rst);
- endmodule