The invention relates to the technical field of communication, in particular to a
software-based AS6802 protocol-oriented simulator, which comprises an SM component, a CM component and a test component, the SM
assembly is composed of a parameter configuration module, a
clock management module, a solidification module, an optimal frame selection module, a frame generation module and a state
machine jump module. The CM
assembly is composed of a parameter configuration module, a
clock management module, a solidification module, an optimal frame selection module, a frame generation module, a compression module and a state
machine jump module. And the test
assembly is used for carrying out SM test on the SM assembly, carrying out CM test on the CM assembly, and carrying out Both test and Switch test on the SM assembly and the CM assembly. According to the
simulation device, the operation logic of the AS6802 protocol is successfully restored on the
software level through a modularized and configurable framework, consistency testing, synchronization precision
estimation and synchronization process
visualization under different network topologies and synchronization parameter configurations are supported, the testing process is simple, the testing efficiency is high, and high universality is achieved.