Line 13... |
Line 13... |
//// All additional information is avaliable in the README.txt ////
|
//// All additional information is avaliable in the README.txt ////
|
//// file. ////
|
//// file. ////
|
//// ////
|
//// ////
|
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//// ////
|
//// ////
|
//// Copyright (C) 2000 - 2003 Authors ////
|
//// Copyright (C) 2000 - 2004 Authors ////
|
//// ////
|
//// ////
|
//// This source file may be used and distributed without ////
|
//// This source file may be used and distributed without ////
|
//// restriction provided that this copyright statement is not ////
|
//// restriction provided that this copyright statement is not ////
|
//// removed from the file and that any derivative work contains ////
|
//// removed from the file and that any derivative work contains ////
|
//// the original copyright notice and the associated disclaimer. ////
|
//// the original copyright notice and the associated disclaimer. ////
|
Line 41... |
Line 41... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.4 2004/01/16 14:51:33 mohor
|
|
// cpu registers added.
|
|
//
|
// Revision 1.3 2004/01/08 17:53:36 mohor
|
// Revision 1.3 2004/01/08 17:53:36 mohor
|
// tmp version.
|
// tmp version.
|
//
|
//
|
// Revision 1.2 2004/01/06 17:15:19 mohor
|
// Revision 1.2 2004/01/06 17:15:19 mohor
|
// temp3 version.
|
// temp3 version.
|
Line 53... |
Line 56... |
// New directory structure. New version of the debug interface.
|
// New directory structure. New version of the debug interface.
|
//
|
//
|
//
|
//
|
//
|
//
|
|
|
|
// Defining length of the command
|
|
`define DBG_WB_CMD_LEN 3'd3
|
|
`define DBG_WB_CMD_CNT_WIDTH 3
|
|
|
|
// Defining length of the address
|
|
`define DBG_WB_ADR_LEN 6'd32
|
|
|
|
// Defining length of the length register
|
|
`define DBG_WB_LEN_LEN 5'd16
|
|
|
|
// Defining length of the CRC
|
|
`define DBG_WB_CRC_LEN 6'd32
|
|
|
// Defining commands for wishbone
|
// Defining commands for wishbone
|
`define WB_STATUS 3'h0
|
`define WB_STATUS 3'h0
|
`define WB_WRITE8 3'h1
|
`define WB_WRITE8 3'h1
|
`define WB_WRITE16 3'h2
|
`define WB_WRITE16 3'h2
|
Line 66... |
Line 81... |
`define WB_READ16 3'h6
|
`define WB_READ16 3'h6
|
`define WB_READ32 3'h7
|
`define WB_READ32 3'h7
|
|
|
|
|
// Length of status
|
// Length of status
|
`define STATUS_LEN 4
|
`define DBG_WB_STATUS_LEN 4
|
|
|
|
|
|
|
No newline at end of file
|
No newline at end of file
|