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

Subversion Repositories dbg_interface

[/] [dbg_interface/] [tags/] [sdram_test_working/] [rtl/] [verilog/] [dbg_top.v] - Diff between revs 37 and 42

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

Rev 37 Rev 42
Line 43... Line 43...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.22  2002/03/12 10:31:53  mohor
 
// tap_top and dbg_top modules are put into two separate modules. tap_top
 
// contains only tap state machine and related logic. dbg_top contains all
 
// logic necessery for debugging.
 
//
// Revision 1.21  2002/03/08 15:28:16  mohor
// Revision 1.21  2002/03/08 15:28:16  mohor
// Structure changed. Hooks for jtag chain added.
// Structure changed. Hooks for jtag chain added.
//
//
// Revision 1.20  2002/02/06 12:23:09  mohor
// Revision 1.20  2002/02/06 12:23:09  mohor
// LatchedJTAG_IR used when muxing TDO instead of JTAG_IR.
// LatchedJTAG_IR used when muxing TDO instead of JTAG_IR.
Line 456... Line 461...
          `endif
          `endif
        end
        end
    end
    end
end
end
 
 
 
 
 
//synopsys translate_off
 
always @ (posedge tck)
 
begin
 
  if(ShiftDR & CHAIN_SELECTSelected & BitCounter > 12)
 
    begin
 
      $display("\n%m Error: BitCounter is bigger then chain_sel_data bits width[12:0]. BitCounter=%d\n",BitCounter);
 
      $stop;
 
    end
 
  else
 
  if(ShiftDR & DEBUGSelected)
 
    begin
 
      if(RiscDebugScanChain & BitCounter > 73)
 
        begin
 
          $display("\n%m Error: BitCounter is bigger then RISC_Data bits width[73:0]. BitCounter=%d\n",BitCounter);
 
          $stop;
 
        end
 
      else
 
      if(RegisterScanChain & BitCounter > 45)
 
        begin
 
          $display("\n%m Error: BitCounter is bigger then RISC_Data bits width[46:0]. BitCounter=%d\n",BitCounter);
 
          $stop;
 
        end
 
      else
 
      if(WishboneScanChain & BitCounter > 73)
 
        begin
 
          $display("\n%m Error: BitCounter is bigger then WISHBONE_Data bits width[73:0]. BitCounter=%d\n",BitCounter);
 
          $stop;
 
        end
 
      `ifdef TRACE_ENABLED
 
      else
 
      if(TraceTestScanChain & BitCounter > 47)
 
        begin
 
          $display("\n%m Error: BitCounter is bigger then Trace_Data bits width[47:0]. BitCounter=%d\n",BitCounter);
 
          $stop;
 
        end
 
      `endif
 
    end
 
end
 
// synopsys translate_on
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/**********************************************************************************
/**********************************************************************************
*                                                                                 *
*                                                                                 *
*   End: JTAG_DR                                                                  *
*   End: JTAG_DR                                                                  *
*                                                                                 *
*                                                                                 *
**********************************************************************************/
**********************************************************************************/

powered by: WebSVN 2.1.0

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