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
http://www.codebf.com/read/13605/279595
module full_adder(a,b,cin,out,carry); input a,b,cin; output out,carry; reg out,carry; reg t1,t2,t3; always@ (a or b or cin)begin out = a^b^cin; t1 = a&cin;
http://www.codebf.com/read/13605/279596
// 16-bit Analogue-Digital Converter // // +-----------------------------+ // | Copyright 1996 DOULOS | // | designer : Tim Pagden | // | opened: 7 Jun 1996 | // +----------
http://www.codebf.com/read/13605/279597
`include "oc8051_timescale.v" // synopsys translate_on `include "oc8051_defines.v" module oc8051_alu_src1_sel (sel, immediate, acc, ram, ext, des); // // sel (in) select signals (
http://www.codebf.com/read/13605/279598
module cla_8bits(a,b,c0,c8,s); input [7:0] a,b; input c0; output c8; output [7:0] s; reg [7:0] p,q; reg [7:1] c; reg [7:
http://www.codebf.com/read/13605/279599
module mult16(clk,resetb,start,done,ain,bin,yout); parameter N=16; input clk; input resetb; input start; input [N-1:0] ain; input [N-1:0] bin; output
http://www.codebf.com/read/13605/279600
`include "half_adder_1.v" module full_adder(a,b,cin,out,carry); input a,b,cin; output carry,out; half_adder m1 (a,b,out1,carry1); half_adder m2 (cin,out1,out,carry2); or m3 (carry,carry1,carr
http://www.codebf.com/read/13605/279601
// Synchronous FIFO. 4 x 16 bit words. // module fifo (clk, rstp, din, writep, readp, dout, emptyp, fullp); input clk; input rstp; input [15:0] din; input readp; input writep; output [15:
http://www.codebf.com/read/13605/279604
module encoder8x3(in,out); input [7:0] in; output [2:0] out; reg [2:0] out; reg [2:0] i; always @(in) begin for(i=0;i
http://www.codebf.com/read/13605/279605
module half_adder(a,b,out,carry); input a,b; output out,carry; assign out=a^b; assign carry=a&b; endmodule
http://www.codebf.com/read/13605/279607
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机