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

Subversion Repositories sgmii

[/] [sgmii/] [trunk/] [build/] [OpenCore_MAC/] [ila_xst_example.v] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 jefflieu
//-----------------------------------------------------------------------------
2
// Copyright (c) 1999-2006 Xilinx Inc.  All rights reserved.
3
//-----------------------------------------------------------------------------
4
// Title      : ILA Core Xilinx XST Usage Example
5
// Project    : ChipScope
6
//-----------------------------------------------------------------------------
7
// File       : ila_xst_example.v
8
// Company    : Xilinx Inc.
9
// Created    : 2002/03/27
10
//-----------------------------------------------------------------------------
11
// Description: Example of how to instantiate the ILA core in a Verilog 
12
//              design for use with the Xilinx XST synthesis tool.
13
//-----------------------------------------------------------------------------
14
 
15
module ila_xst_example
16
  (
17
  );
18
 
19
 
20
  //-----------------------------------------------------------------
21
  //
22
  //  ILA Core wire declarations
23
  //
24
  //-----------------------------------------------------------------
25
  wire [35:0] control;
26
  wire clk;
27
  wire [63:0] data;
28
  wire [0:0] trig0;
29
  wire [0:0] trig1;
30
  wire [0:0] trig2;
31
 
32
 
33
  //-----------------------------------------------------------------
34
  //
35
  //  ILA core instance
36
  //
37
  //-----------------------------------------------------------------
38
  ila i_ila
39
    (
40
      .control(control),
41
      .clk(clk),
42
      .data(data),
43
      .trig0(trig0),
44
      .trig1(trig1),
45
      .trig2(trig2)
46
    );
47
 
48
 
49
endmodule
50
 
51
 
52
//-------------------------------------------------------------------
53
//
54
//  ILA core module declaration
55
//
56
//-------------------------------------------------------------------
57
module ila
58
  (
59
    control,
60
    clk,
61
    data,
62
    trig0,
63
    trig1,
64
    trig2
65
  );
66
  input [35:0] control;
67
  input clk;
68
  input [63:0] data;
69
  input [0:0] trig0;
70
  input [0:0] trig1;
71
  input [0:0] trig2;
72
endmodule
73
 

powered by: WebSVN 2.1.0

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