OpenCores
URL https://opencores.org/ocsvn/bustap-jtag/bustap-jtag/trunk

Subversion Repositories bustap-jtag

[/] [bustap-jtag/] [trunk/] [rtl/] [xilinx/] [chipscope_vio_adda_trig.v] - Blame information for rev 18

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 18 ash_riple
//**************************************************************
2
// Module             : chipscope_vio_adda_trig.v
3
// Platform           : Ubuntu pnum_width.04 
4
// Simulator          : Modelsim 6.5b
5
// Synthesizer        : PlanAhead 14.2
6
// Place and Route    : PlanAhead 14.2
7
// Targets device     : Zynq-7000
8
// Author             : Bibo Yang  (ash_riple@hotmail.com)
9
// Organization       : www.opencores.org
10
// Revision           : 2.3 
11
// Date               : 2012/11/19
12
// Description        : addr/data capture output to debug host
13
//                      via Virtual JTAG.
14
//**************************************************************
15
 
16
`timescale 1ns/1ns
17
 
18
module chipscope_vio_adda_trig(trig_out, pnum_out, clk, icon_ctrl);
19
 
20
parameter trig_width  = 56;
21
parameter pnum_width  = 10;
22
 
23
output [trig_width-1:0] trig_out;
24
output [pnum_width-1:0] pnum_out;
25
 
26
input clk;
27
inout [35:0] icon_ctrl;
28
 
29
wire [pnum_width+trig_width-1:0] pnum_trig_vi;
30
 
31
reg [trig_width-1:0] trig_out;
32
reg [pnum_width-1:0] pnum_out;
33
 
34
always @(posedge clk) begin
35
  pnum_out <= pnum_trig_vi[pnum_width+trig_width-1:trig_width];
36
  trig_out <= pnum_trig_vi[           trig_width-1:         0];
37
end
38
 
39
chipscope_vio_trig VIO_inst (
40
  .CONTROL(icon_ctrl), // INOUT BUS [35:0]
41
  .CLK(clk), // IN
42
  .SYNC_OUT(pnum_trig_vi) // OUT BUS [65:0]
43
);
44
 
45
endmodule

powered by: WebSVN 2.1.0

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