Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - Re: [systemc-forum] SystemC "UART" Message Thread: Previous | Next
  • To: "Bradley, Mike" <mike_bradley@xxxxxxxxxx>
  • From: Bernard Deadman <bdeadman@xxxxxxxxxx>
  • Date: Mon, 10 Jan 2011 17:45:53 -0600
  • Cc: systemc-forum@xxxxxxxxxxxxxxxxx
Send Email to
Send new message
Reply to this message
On 1/10/2011 5:33 PM, Bradley, Mike wrote:
It seems there are two possible solutions: (1) some process running in
the systemC simulator poll's the external process (either pipes, TCP,
etc.) or (2) some interrupt or signaling mechanism is setup to trigger a
process, event, etc. in the systemC simulator.

It sounds like you need to register a callback into the SystemC which is activated when a character or a packet is received from the terminal. The callback can then flip the state of the INT signal or pass a message in some other way to the TLM. I believe there are socket drivers that allow callback registration that I don't know anything about pipes.



By Date: Previous | Next Current Thread By Thread: Previous | Next