首页> 外国专利> Method and system for formatting hardware trace in trace arrays

Method and system for formatting hardware trace in trace arrays

机译:在跟踪阵列中格式化硬件跟踪的方法和系统

摘要

A method and a system is proposed for formatting trace arrays contents obtained by capturing trace data within trace arrays using a wrap back window during compression mode within which trace data are stored circularly. Following formatting bits are used: Array Wrap Flag (AWF) bit toggling between two values at each array wrap around when wrap back window is left; Wrap Back Counter (WBC) counting the number of wrap backs within the wrap back window. And the method comprises the steps of determining the number of AWF toggles within the trace array and accordingly unwrap the trace array contents by starting with the row of the trace array contents corresponding to the toggling of AWF and determining a row within wrap back window with WBC toggling and if present unwrap wrap back window by reordering the rows of the trace array contents according to an ascending order of the value from the WBC.
机译:提出了一种用于格式化跟踪阵列内容的方法和系统,该方法和系统是通过在压缩模式下使用回退窗口在循环存储跟踪数据的情况下使用回退窗口来捕获跟踪阵列内的跟踪数据而获得的。使用以下格式位:数组回绕标志(AWF)位,当保留回卷窗口时,在每个数组的两个值之间切换;回卷计数器(WBC)对回卷窗口内的回卷数进行计数。并且该方法包括以下步骤:通过从与AWF的切换相对应的跟踪阵列内容的行开始,并利用WBC确定回退窗口内的行,来确定跟踪阵列内的AWF切换数,并相应地解包跟踪阵列内容。通过根据WBC中值的升序对跟踪数组内容的行进行重新排序,来切换并打开折叠窗口(如果存在)。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号