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

Subversion Repositories synchronous_reset_fifo

[/] [synchronous_reset_fifo/] [trunk/] [test/] [fifo_testcase.sv] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 madhu54321
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
////  File name "fifo_testcase.sv"                                          ////
4
////                                                              ////
5
////  This file is part of the "synchronous_reset_fifo" project   ////
6
//// http://opencores.com/project,synchronous_reset_fifo          ////
7
////                                                              ////
8
////  Author:                                                     ////
9
////     - Madhumangal Javanthieswaran (madhu54321@opencores.org) ////
10
////                                                              ////
11
//////////////////////////////////////////////////////////////////////
12
////                                                              ////
13
//// Copyright (C) 2008 AUTHORS. All rights reserved.             ////
14
////                                                              ////
15
//// This source file may be used and distributed without         ////
16
//// restriction provided that this copyright statement is not    ////
17
//// removed from the file and that any derivative work contains  ////
18
//// the original copyright notice and the associated disclaimer. ////
19
////                                                              ////
20
//// This source file is free software; you can redistribute it   ////
21
//// and/or modify it under the terms of the GNU Lesser General   ////
22
//// Public License as published by the Free Software Foundation; ////
23
//// either version 2.1 of the License, or (at your option) any   ////
24
//// later version.                                               ////
25
////                                                              ////
26
//// This source is distributed in the hope that it will be       ////
27
//// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
28
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
29
//// PURPOSE.  See the GNU Lesser General Public License for more ////
30
//// details.                                                     ////
31
////                                                              ////
32
//// You should have received a copy of the GNU Lesser General    ////
33
//// Public License along with this source; if not, download it   ////
34
//// from http://www.opencores.org/lgpl.shtml                     ////
35
////                                                              ////
36
//////////////////////////////////////////////////////////////////////
37
 
38
/************************************************************************
39
 Design Name : synchronous_reset_fifo
40
 Module Name : fifo_testcase.v
41
 Description :
42
 Date        : 19/12/2011
43
 Author      : Madhumangal Javanthieswaran
44
 Email       : j.madhumangal@gmail.com
45
 Company     :
46
 Version     : 1.0
47
 Revision    : 0.0
48
************************************************************************/
49
program fifo_testcase (fifo_if.DR_MP dr_if,fifo_if.RC_MP rc_if);
50
 
51
initial
52
  begin
53
 
54
    fifo_top.DUV_IF.sync_reset;
55
    fifo_top.DUV_IF.sync_reset;
56
    fifo_top.DUV_IF.sync_reset;
57
 
58
    fifo_top.DUV_IF.write;
59
    fifo_top.DUV_IF.read;
60
 
61
    fifo_top.DUV_IF.write_read;
62
 
63
    fifo_top.DUV_IF.sync_reset;
64
 
65
    fifo_top.DUV_IF.fifo_empty;
66
 
67
    fifo_top.DUV_IF.sync_reset;
68
 
69
    fifo_top.DUV_IF.fifo_full;
70
 
71
 
72
 
73
  #100 $finish;
74
  end
75
 
76
endprogram:fifo_testcase

powered by: WebSVN 2.1.0

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