Line 42... |
Line 42... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: xsv_fpga_top.v,v $
|
// $Log: xsv_fpga_top.v,v $
|
|
// Revision 1.5 2010-01-16 02:15:22 Nathan
|
|
// Updated to match changes in hardware. Added support for hi-speed mode.
|
|
//
|
|
// Revision 1.4 2010-01-08 01:41:07 Nathan
|
|
// Removed unused, non-existant include from CPU behavioral model. Minor text edits.
|
|
//
|
// Revision 1.3 2008/07/11 08:22:17 Nathan
|
// Revision 1.3 2008/07/11 08:22:17 Nathan
|
// Added code to make the native TAP simulate a Xilinx BSCAN device, and code to simulate the behavior of the xilinx_internal_jtag module. The adv_dbg_module should get inputs that emulate the xilinx_internal_jtag device outputs.
|
// Added code to make the native TAP simulate a Xilinx BSCAN device, and code to simulate the behavior of the xilinx_internal_jtag module. The adv_dbg_module should get inputs that emulate the xilinx_internal_jtag device outputs.
|
//
|
//
|
// Revision 1.10 2004/04/05 08:44:35 lampret
|
// Revision 1.10 2004/04/05 08:44:35 lampret
|
// Merged branch_qmem into main tree.
|
// Merged branch_qmem into main tree.
|
Line 394... |
Line 400... |
.sample_preload_select_o(),
|
.sample_preload_select_o(),
|
.mbist_select_o(),
|
.mbist_select_o(),
|
.debug_select_o(debug_select),
|
.debug_select_o(debug_select),
|
|
|
// TDO signal that is connected to TDI of sub-modules.
|
// TDO signal that is connected to TDI of sub-modules.
|
.tdo_o(debug_tdi),
|
.tdi_o(debug_tdi),
|
|
|
// TDI signals from sub-modules
|
// TDI signals from sub-modules
|
.debug_tdi_i(debug_tdo), // from debug module
|
.debug_tdo_i(debug_tdo), // from debug module
|
.bs_chain_tdi_i(1'b0), // from Boundary Scan Chain
|
.bs_chain_tdo_i(1'b0), // from Boundary Scan Chain
|
.mbist_tdi_i(1'b0) // from Mbist Chain
|
.mbist_tdo_i(1'b0) // from Mbist Chain
|
);
|
);
|
|
|
// This is taken from the xilinx bscan_virtex4.v module
|
// This is taken from the xilinx bscan_virtex4.v module
|
// It simulates the DRCK output of a BSCAN_* block
|
// It simulates the DRCK output of a BSCAN_* block
|
assign drck = ((debug_select & !shift_dr & !capture_dr) ||
|
assign drck = ((debug_select & !shift_dr & !capture_dr) ||
|
Line 440... |
Line 446... |
end
|
end
|
|
|
//
|
//
|
// Instantiation of the development i/f
|
// Instantiation of the development i/f
|
//
|
//
|
dbg_top dbg_top (
|
adbg_top dbg_top (
|
|
|
// JTAG pins
|
// JTAG pins
|
.tck_i ( tck2 ),
|
.tck_i ( tck2 ),
|
.tdi_i ( debug_tdi ),
|
.tdi_i ( debug_tdi ),
|
.tdo_o ( debug_tdo ),
|
.tdo_o ( debug_tdo ),
|