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

Subversion Repositories vtach

[/] [vtach/] [trunk/] [vtach_test.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:43:51 05/14/2013
8
// Design Name:   top
9
// Module Name:   /home/alw/projects/vtachspartan/vtach_test.v
10
// Project Name:  vtachspartan
11
// Target Device:  
12
// Tool versions:  
13
// Description: 
14
//
15
// Verilog Test Fixture created by ISE for module: top
16
//
17
// Dependencies:
18
// 
19
// Revision:
20
// Revision 0.01 - File Created
21
// Additional Comments:
22
// 
23
////////////////////////////////////////////////////////////////////////////////
24
 
25
module vtach_test;
26
 
27
        // Inputs
28
        reg clk;
29
        reg extreset;
30
 
31
        // Instantiate the Unit Under Test (UUT)
32
        top uut (
33
                .clk(clk),
34
                .extreset(extreset)
35
        );
36
 
37
        always #1 clk=~clk;
38
 
39
        initial begin
40
                // Initialize Inputs
41
                clk = 0;
42
                extreset = 1;
43
        //      uut.mem.row0[0]=13'h105;
44
        //      uut.mem.row0[1]=13'h206;
45
        //      uut.mem.row0[2]=13'h670;
46
        //      uut.mem.row0[3]=13'h570;
47
        //      uut.mem.row0[4]=13'h900;
48
        //      uut.mem.row0[5]=13'h1001;
49
        //      uut.mem.row0[6]=13'h001;
50
 
51
                // Wait 100 ns for global reset to finish
52
      #100 extreset=0;
53
                // Add stimulus here
54
 
55
        end
56
 
57
endmodule
58
 

powered by: WebSVN 2.1.0

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