Logic simulation method and system for embedded protection device

The relative offset address and base address are obtained through the memory mapped file, and the actual memory address is calculated, which solves the memory address acquisition problem in the logic simulation of multi-module protection devices, realizes accurate acquisition and real-time update of logic diagram data, and meets the needs of multi-module logic simulation.

CN119670313APending Publication Date: 2025-03-21XUCHANG XJ SOFTWARE TECHNOLOGIES LTD +2
0 Cites 0 Cited by

Patent Information

Application Number
CN202311210197.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The multi-module protection device cannot accurately obtain the memory address of the logic diagram data during logic simulation, resulting in the inability to display the logic diagram correctly, causing trouble for the user's logic diagram modification and debugging.

Method used

The relative offset address is obtained through the memory mapped file, combined with the acquired base address, calculate the actual memory address, read the data of the protection device and update the logic diagram in real time, and complete the logical simulation of the multi-module protection device.

Benefits of technology

It realizes accurate acquisition and real-time update of the logic diagram data of multi-module protection devices, solves the problem of memory address acquisition during logical simulation, and meets the needs of multi-module logic simulation.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to an embedded protection device logic simulation method and system, and belongs to the field of embedded protection systems. Compiling the logic diagram, generating a module target code and a memory mapping file loaded by the protection device, obtaining a relative offset address according to the memory mapping file, establishing a connection relationship between the logic simulation tool and the protection device, obtaining a base address of a loading module in the protection device, and storing the base address in the protection device; and obtaining an actual memory address of the loading module according to the base address and the relative offset address, reading data of the protection device according to the actual memory address, and further updating the data of the logic diagram in real time to obtain an updated logic diagram. According to the method, the accurate memory address of the loading module is obtained, and the multi-module protection device is simulated.
Need to check novelty before this filing date? Find Prior Art