Call Transfer Table for Dynamic RAM Addressing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In electronic apparatuses, the interaction between ROM and RAM can result in unexpected operation results due to the inability to dynamically adjust the calling addresses of RAM functions accessed by ROM functions, leading to instability and inefficiency in data processing.
Innovation Solution
A call transfer table is implemented in the RAM, where table indices are used to dynamically adjust the addresses of VM codes in the ROM, allowing the processing unit to execute VM codes by referencing these indices and ensuring correct addressing even when RAM function addresses change.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If ROM functions use fixed calling addresses to access RAM functions, then the ROM code structure remains simple and stable, but the system cannot adapt when RAM function addresses change, leading to unexpected operation results
Solution Approach 1:
The patent introduces a call transfer table as an intermediary data structure between ROM and RAM. This table stores the mapping relationships between ROM calling addresses and actual RAM function addresses. When a ROM function needs to call a RAM function, it uses the calling address to index into the call transfer table, which then provides the correct target address. This intermediary mechanism decouples the fixed ROM code from the potentially changing RAM addresses, ensuring reliable operation while enabling adaptability.
Solution Approach 2:
The call transfer table is designed to be dynamically adjustable. While the ROM code remains fixed, the call transfer table can be modified to reflect changes in RAM function addresses. This dynamic element allows the system to adapt to different RAM configurations or updated functions without changing the ROM code, resolving the contradiction between stability and adaptability.
2Adaptability or versatility
If RAM functions are made modifiable to allow patch functions and code updates, then system flexibility and adaptability improve, but the addressing mechanism becomes more complex and error-prone
Solution Approach 1:
The call transfer table serves as a mediator that simplifies the addressing mechanism. Instead of requiring complex address calculation or lookup logic throughout the system, all address resolution is centralized in the call transfer table. This table can be easily updated to reflect RAM modifications, while the rest of the system continues to use simple address indexing, thereby reducing overall complexity despite RAM modifiability.
Solution Approach 2:
The system performs preliminary action by pre-establishing the call transfer table with all necessary address mappings before execution. This allows the addressing mechanism to remain simple during runtime, as all address resolutions are already prepared. When RAM functions are modified, only the call transfer table needs to be updated in advance, without complicating the runtime addressing logic.
3Adaptability or versatility
If a call transfer table is implemented to enable dynamic address adjustment, then adaptability improves, but memory usage and system complexity increase
Solution Approach 1:
The call transfer table is segmented into discrete entries, each corresponding to a specific ROM calling address. This segmentation allows the table to be constructed and updated in a systematic manner, with each entry independently manageable. The segmented structure reduces complexity by breaking down the overall addressing task into smaller, more manageable units that can be processed individually.
Solution Approach 2:
The call transfer table serves multiple functions: it acts as an address lookup table, a mapping mechanism, and a configuration storage structure. By consolidating these functions into a single data structure, the system avoids the need for multiple separate mechanisms, thereby reducing overall complexity while maintaining high adaptability.
Data Source
AI summary
An electronic apparatus is disclosed. The electronic apparatus comprises a random access memory (RAM), a read-only memory (ROM) and a processing unit. The RAM stores a call transfer table, wherein the call transfer table comprising at least one transferred address in the RAM. The ROM stores at least one code to call one address of the call transfer table. The processing unit executes the code in the ROM and reads the transfer table accordingly, then transfers to run the data in the transferred address of the RAM.


