首页>
外国专利>
Automatic generation of hardware simulation interface code using pre-processor macros
Automatic generation of hardware simulation interface code using pre-processor macros
展开▼
机译:使用预处理器宏自动生成硬件仿真接口代码
展开▼
页面导航
摘要
著录项
相似文献
摘要
A memory map wrapper may be used to provide an interface between a model and a system with which the model interacts. The memory map wrapper may be designed to provide an interface for source code implementing the model. The memory-map wrapper may include a source code section that describes a mapping between memory regions corresponding to first and second sets of signals and between the source code implementing the model, the mapping defined using macros in memory map wrapper code in which configuration information describing the first and second signals is provided as one or more parameters associated with the source code section. Additionally, a preprocessor component may expand the macros in the memory map wrapper code based on the provided one or more parameters to output expanded memory map wrapper code.
展开▼