摘要 |
A system and method for extracting protocol information from a simulated or emulated design to analyze system behavior is disclosed. The system includes a database, a signal extraction module, a signal processing module, a protocol parsing module, a multi-level protocol parsing module, a protocol rule description table, a display module, an extracted protocol information table, and a debug automation module. The signal extraction module extracts signal level information to generate stream of bits. The protocol parsing module applies BNF grammar rules on stream of bits to generate lower level protocol information. The multi-level parsing module constructs a multiple hierarchy levels of protocol information by creating a tree structure based on a lower level protocol. The higher level protocol information determines operations. The higher level protocol information and the operations are associated with a protocol pattern which is being parsed. |
主权项 |
1. A system for extracting protocol information from a simulated or an emulated design to analyze a system behavior, comprising:
a memory unit that stores a database, a set of modules, and instructions,
wherein said database comprises a protocol rule description table and an extracted protocol information table, wherein said protocol rule description table comprises one or more protocol rules to process a signal level information and said extracted protocol information table comprises data units associated with a second layer at a higher abstraction level than a first layer, wherein said second layer provides node to node data transfer, and wherein said data units are specific to a protocol; a processor which when configured by said instructions executes said set of modules, wherein said set of modules comprises:
a signal extraction module, implemented by said processor, that extracts said signal level information from an interface of said simulated or said emulated design to generate a stream of bits, wherein said signal level information comprises an arbitrary combination of bits;a signal processing module, implemented by said processor, that processes said stream of bits based on one or more protocol rules to obtain a protocol information that comprises a lower level protocol information and a higher level protocol information, wherein said one or more protocol rules comprise Backus Naur Form (BNF) grammar rules and said one or more protocol rules is specific to a protocol, wherein said signal processing module 106 comprises:a protocol parsing module, implemented by said processor, that applies a said BNF grammar rules on said stream of bits to generate said lower level protocol information; anda multi-level parsing module, implemented by said processor, configured to construct multiple hierarchy levels of said protocol information by creating a tree structure based on a lower level protocol information to obtain a higher level protocol information to determine operations, wherein said tree structure comprises branches and leaves based on said protocol which is being parsed. |