Line 43... |
Line 43... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.3 2001/09/19 11:55:13 mohor
|
|
// Asynchronous set/reset not used in trace any more.
|
|
//
|
// Revision 1.2 2001/09/18 14:13:47 mohor
|
// Revision 1.2 2001/09/18 14:13:47 mohor
|
// Trace fixed. Some registers changed, trace simplified.
|
// Trace fixed. Some registers changed, trace simplified.
|
//
|
//
|
// Revision 1.1.1.1 2001/09/13 13:49:19 mohor
|
// Revision 1.1.1.1 2001/09/13 13:49:19 mohor
|
// Initial official release.
|
// Initial official release.
|
Line 91... |
Line 94... |
input Mclk; // Master clock (RISC clock)
|
input Mclk; // Master clock (RISC clock)
|
input Reset; // Reset
|
input Reset; // Reset
|
input ReadBuffer;// Instruction for reading a sample from the Buffer
|
input ReadBuffer;// Instruction for reading a sample from the Buffer
|
|
|
// from registers
|
// from registers
|
input ContinMode;
|
input ContinMode; // Continous mode of the trace
|
input TraceEnable_reg;
|
input TraceEnable_reg; // Trace is enabled (enabled by writing a bit in the register)
|
|
|
input [10:0] WpTrigger;
|
input [10:0] WpTrigger; // Signals that come from registers to set the trigger
|
input BpTrigger;
|
input BpTrigger; // Signals that come from registers to set the trigger
|
input [3:0] LSSTrigger;
|
input [3:0] LSSTrigger; // Signals that come from registers to set the trigger
|
input [1:0] ITrigger;
|
input [1:0] ITrigger; // Signals that come from registers to set the trigger
|
input [1:0] TriggerOper;
|
input [1:0] TriggerOper; // Signals that come from registers to set the trigger
|
|
|
input [10:0] WpQualif;
|
input [10:0] WpQualif; // Signals that come from registers to set the qualifier
|
input BpQualif;
|
input BpQualif; // Signals that come from registers to set the qualifier
|
input [3:0] LSSQualif;
|
input [3:0] LSSQualif; // Signals that come from registers to set the qualifier
|
input [1:0] IQualif;
|
input [1:0] IQualif; // Signals that come from registers to set the qualifier
|
input [1:0] QualifOper;
|
input [1:0] QualifOper; // Signals that come from registers to set the qualifier
|
|
|
input [10:0] WpStop;
|
input [10:0] WpStop; // Signals that come from registers to set the stop condition
|
input BpStop;
|
input BpStop; // Signals that come from registers to set the stop condition
|
input [3:0] LSSStop;
|
input [3:0] LSSStop; // Signals that come from registers to set the stop condition
|
input [1:0] IStop;
|
input [1:0] IStop; // Signals that come from registers to set the stop condition
|
input [1:0] StopOper;
|
input [1:0] StopOper; // Signals that come from registers to set the stop condition
|
|
|
input RecordPC;
|
input RecordPC; // Signals that come from registers for defining the sample for recording
|
input RecordLSEA;
|
input RecordLSEA; // Signals that come from registers for defining the sample for recording
|
input RecordLDATA;
|
input RecordLDATA; // Signals that come from registers for defining the sample for recording
|
input RecordSDATA;
|
input RecordSDATA; // Signals that come from registers for defining the sample for recording
|
input RecordReadSPR;
|
input RecordReadSPR; // Signals that come from registers for defining the sample for recording
|
input RecordWriteSPR;
|
input RecordWriteSPR; // Signals that come from registers for defining the sample for recording
|
input RecordINSTR;
|
input RecordINSTR; // Signals that come from registers for defining the sample for recording
|
|
|
input WpTriggerValid;
|
input WpTriggerValid; // Signals that come from registers and indicate which trigger conditions are valid
|
input BpTriggerValid;
|
input BpTriggerValid; // Signals that come from registers and indicate which trigger conditions are valid
|
input LSSTriggerValid;
|
input LSSTriggerValid; // Signals that come from registers and indicate which trigger conditions are valid
|
input ITriggerValid;
|
input ITriggerValid; // Signals that come from registers and indicate which trigger conditions are valid
|
|
|
input WpQualifValid;
|
input WpQualifValid; // Signals that come from registers and indicate which qualifier conditions are valid
|
input BpQualifValid;
|
input BpQualifValid; // Signals that come from registers and indicate which qualifier conditions are valid
|
input LSSQualifValid;
|
input LSSQualifValid; // Signals that come from registers and indicate which qualifier conditions are valid
|
input IQualifValid;
|
input IQualifValid; // Signals that come from registers and indicate which qualifier conditions are valid
|
|
|
input WpStopValid;
|
input WpStopValid; // Signals that come from registers and indicate which stop conditions are valid
|
input BpStopValid;
|
input BpStopValid; // Signals that come from registers and indicate which stop conditions are valid
|
input LSSStopValid;
|
input LSSStopValid; // Signals that come from registers and indicate which stop conditions are valid
|
input IStopValid;
|
input IStopValid; // Signals that come from registers and indicate which stop conditions are valid
|
// end: from registers
|
// end: from registers
|
|
|
|
|
output [`OPSELECTWIDTH-1:0] OpSelect; // Operation select (what kind of information is avaliable on the DataIn)
|
output [`OPSELECTWIDTH-1:0] OpSelect; // Operation select (what kind of information is avaliable on the DataIn)
|
output RiscStall_O; // CPU stall (stalls the RISC)
|
output RiscStall_O; // CPU stall (stalls the RISC)
|
Line 453... |
Line 456... |
* *
|
* *
|
**********************************************************************************/
|
**********************************************************************************/
|
assign RecEnable = {1'b0, RecordINSTR, RecordWriteSPR, RecordReadSPR, RecordSDATA, RecordLDATA, RecordLSEA, RecordPC};
|
assign RecEnable = {1'b0, RecordINSTR, RecordWriteSPR, RecordReadSPR, RecordSDATA, RecordLDATA, RecordLSEA, RecordPC};
|
|
|
|
|
endmodule // Trace
|
endmodule
|
|
|
No newline at end of file
|
No newline at end of file
|