简体   繁体   English

接口SystemC事件和Qt事件

[英]Interfacing SystemC events and Qt events

I am thinking about interfacing SystemC and Qt, with the goal of simulating a Cyber-Physical system. 我正在考虑接口SystemC和Qt,目的是模拟网络物理系统。 Is there already any framework around for mapping Qt's signals/slots to SystemC events? 是否已经有用于将Qt的信号/插槽映射到SystemC事件的框架? (say, entering a value in a box triggers a SystemC multiplexer, which selects an entry in a list, and that value is displayed as a number on an LCD display) (例如,在框中输入值会触发SystemC多路复用器,该多路复用器在列表中选择一个条目,并且该值在LCD显示屏上显示为数字)

It is completely possible to interface SystemC events and Qt framework signals/slots together. 完全可能将SystemC事件和Qt框架信号/插槽连接在一起。
As per my current knowledge currently there are no readily available framework for this integration. 根据我目前的知识,目前尚无此集成的可用框架。

Here are a few pointer you can use for developing such framework: 这里有一些可用于开发此类框架的指针:

  • SystemC kernel has it's own/OS threading library depending on the configuration options provided while building it. SystemC内核具有自己的/ OS线程库,具体取决于构建它时提供的配置选项。
  • So you will have to write wrapper modules which will keep the Qt framework and SystemC threads in sync depending on the GUI events. 因此,您将不得不编写包装器模块,这些模块将根据GUI事件使Qt框架和SystemC线程保持同步。

Note: SystemC kernel is a co-operative multi-tasking based hardware simulator. 注意: SystemC内核是基于协作多任务的硬件模拟器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM