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
ALL.V
Package: verilog.HDL.examples.rar [view]
Upload User: saul_905
Upload Date: 2013-11-27
Package Size: 184k
Code Size: 0k
Category:
VHDL-FPGA-Verilog
Development Platform:
Visual C++
- module all (a,b,y);
- input [7:0] a,b;
- output [8:0] y;
- function [8:0] add_It_10;
- input [7:0] a,b;
- reg [7:0] temp;
- begin
- if(b<10)
- temp=b;
- else
- temp=10;
- add_It_10=a+temp[3:0];
- end
- endfunction
- assign y=add_It_10(a,b);
- endmodule