OpenCores
URL https://opencores.org/ocsvn/vtach/vtach/trunk

Subversion Repositories vtach

[/] [vtach/] [trunk/] [bcdadd_tb.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wd5gnr
`timescale 1ns / 1ps
2
 
3
////////////////////////////////////////////////////////////////////////////////
4
// Company: 
5
// Engineer:
6
//
7
// Create Date:   23:29:56 05/14/2013
8
// Design Name:   bcdadd
9
// Module Name:   /home/alw/projects/vtachspartan/bcdadd_tb.v
10
// Project Name:  vtachspartan
11
// Target Device:  
12
// Tool versions:  
13
// Description: 
14
//
15
// Verilog Test Fixture created by ISE for module: bcdadd
16
//
17
// Dependencies:
18
// 
19
// Revision:
20
// Revision 0.01 - File Created
21
// Additional Comments:
22
// 
23
////////////////////////////////////////////////////////////////////////////////
24
 
25
module bcdadd_tb;
26
 
27
        // Inputs
28
        reg [16:0] a;
29
        reg [12:0] b;
30
 
31
        // Outputs
32
        wire [16:0] z;
33
 
34
        // Instantiate the Unit Under Test (UUT)
35
        bcdadd uut (
36
                .a(a),
37
                .b(b),
38
                .z(z)
39
        );
40
 
41
        initial begin
42
                // Initialize Inputs
43
                a = 0;
44
                b = 0;
45
 
46
                // Wait 100 ns for global reset to finish
47
                #100;
48
 
49
                // Add stimulus here
50
                a=17'h10001;
51
                b=13'h0001;
52
                #20 a=17'h10002;
53
                b=13'h1;
54
                #10 b=13'h0;
55
 
56
        end
57
 
58
endmodule
59
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.