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

Subversion Repositories fluid_core_2

[/] [fluid_core_2/] [trunk/] [xilinx14.5 project/] [tb_Test_Bed.v] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 azmathmoos
`timescale 1ns / 1ps
2
 
3
module tb_Test_Bed;
4
 
5
        // Inputs
6
        reg Clk;
7
        reg RST;
8
        reg [0:3] Interrupt;
9
 
10
        // Instantiate the Unit Under Test (UUT)
11
        Test_Bed uut (
12
                .Clk(Clk),
13
                .RST(RST),
14
                .Interrupt(Interrupt)
15
        );
16
 
17
        initial begin
18
                // Initialize Inputs
19
                Clk = 0;
20
                RST = 1;
21
                Interrupt = 0;
22
                // Wait 100 ns for global reset to finish
23
                #60;
24
        RST = 0;
25
                // Add stimulus here
26
 
27
        end
28
 
29
        always begin
30
                #50 Clk = ~Clk;
31
   end
32
//      always begin
33
//              #3400 Interrupt[1] <= 1;
34
//              #100 Interrupt[1] <= 0;
35
//      end
36
endmodule
37
 

powered by: WebSVN 2.1.0

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