module count4(out,reset,clk); output[3:0] out; input reset,clk; reg[3:0] out; always @(posedge clk) begin if (reset) out
Arria+V 源代码
汇集 Arria+V 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
module adder4(cout,sum,ina,inb,cin); output[3:0] sum; output cout; input[3:0] ina,inb; input cin; assign {cout,sum}=ina+inb+c…
/******************************************************/ module viterbi_encode9(X,Y,Clock,Reset); /***************************…
module alu_16 ( a, b, ir,alu_f, t); input [15:0] a,b; input [2:0] ir,t; output [15:0] alu_f; reg [3:0] s; reg …
module counter60 ( clk, rst, carry, out); input clk,rst; output carry; output [7:0] out; reg carry; reg…
module counter24 ( clk, rst, out); input clk,rst; output [7:0] out; reg [7:0] out; always @ (posedge clk or ne…
module counter60 ( clk, rst, carry, out); input clk,rst; output carry; output [7:0] out; reg carry; reg…
module counter60 ( clk, rst, carry, out); input clk,rst; output carry; output [7:0] out; reg carry; reg…
module counter24 ( clk, rst, out); input clk,rst; output [7:0] out; reg [7:0] out; always @ (posedge clk or ne…