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

Subversion Repositories dbg_interface

[/] [dbg_interface/] [tags/] [old_debug/] [rtl/] [verilog/] [dbg_defines.v] - Diff between revs 65 and 71

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 65 Rev 71
Line 43... Line 43...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.12  2003/09/17 14:38:57  simons
 
// WB_CNTL register added, some syncronization fixes.
 
//
// Revision 1.11  2003/08/28 13:55:21  simons
// Revision 1.11  2003/08/28 13:55:21  simons
// Three more chains added for cpu debug access.
// Three more chains added for cpu debug access.
//
//
// Revision 1.10  2003/07/31 12:19:49  simons
// Revision 1.10  2003/07/31 12:19:49  simons
// Multiple cpu support added.
// Multiple cpu support added.
Line 95... Line 98...
 
 
// Enable TRACE
// Enable TRACE
//`define TRACE_ENABLED  // Uncomment this define to activate the trace
//`define TRACE_ENABLED  // Uncomment this define to activate the trace
 
 
// Define number of cpus supported by the dbg interface
// Define number of cpus supported by the dbg interface
`define RISC_NUM 8
`define RISC_NUM 2
 
 
// Define IDCODE Value
// Define IDCODE Value
`define IDCODE_VALUE  32'hdeadbeef
`define IDCODE_VALUE  32'h14951185
 
 
// Define master clock (RISC clock)
// Define master clock (RISC clock)
//`define       RISC_CLOCK  50   // Half period = 50 ns => MCLK = 10 Mhz
//`define       RISC_CLOCK  50   // Half period = 50 ns => MCLK = 10 Mhz
`define RISC_CLOCK  2.5   // Half period = 5 ns => MCLK = 200 Mhz
`define RISC_CLOCK  2.5   // Half period = 5 ns => MCLK = 200 Mhz
 
 
Line 127... Line 130...
// OpSelect width
// OpSelect width
`define OPSELECTWIDTH            3
`define OPSELECTWIDTH            3
`define OPSELECTIONCOUNTER       8    //2^3
`define OPSELECTIONCOUNTER       8    //2^3
 
 
// OpSelect (dbg_op_i) signal meaning
// OpSelect (dbg_op_i) signal meaning
//`define DEBUG_READ_PC            0
 
//`define DEBUG_READ_LSEA          1
 
//`define DEBUG_READ_LDATA         2
 
//`define DEBUG_READ_SDATA         3
 
//`define DEBUG_READ_SPR           4
 
//`define DEBUG_WRITE_SPR          5
 
//`define DEBUG_READ_INSTR         6
 
//`define Reserved                 7
 
 
 
`define DEBUG_READ_0               0
`define DEBUG_READ_0               0
`define DEBUG_WRITE_0              1
`define DEBUG_WRITE_0              1
`define DEBUG_READ_1               2
`define DEBUG_READ_1               2
`define DEBUG_WRITE_1              3
`define DEBUG_WRITE_1              3
`define DEBUG_READ_2               4
`define DEBUG_READ_2               4
Line 155... Line 149...
`define INTEST          4'b0100
`define INTEST          4'b0100
`define CLAMP           4'b0101
`define CLAMP           4'b0101
`define CLAMPZ          4'b0110
`define CLAMPZ          4'b0110
`define HIGHZ           4'b0111
`define HIGHZ           4'b0111
`define DEBUG           4'b1000
`define DEBUG           4'b1000
 
`define MBIST           4'b1001
`define BYPASS          4'b1111
`define BYPASS          4'b1111
 
 
// Chains
// Chains
`define GLOBAL_BS_CHAIN     4'b0000
`define GLOBAL_BS_CHAIN     4'b0000
`define RISC_DEBUG_CHAIN_2  4'b0001
`define RISC_DEBUG_CHAIN_2  4'b0001

powered by: WebSVN 2.1.0

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