accellera-official / systemc

SystemC Reference Implementation
https://systemc.org/overview/systemc/
Apache License 2.0
445 stars 141 forks source link

Rust binding? #77

Closed ileixe closed 3 months ago

ileixe commented 4 months ago

Hi, we're using systemc a lot and have a large rust codebase. I'd like to ask question about feasibility to make Rust binding for Systemc. Any opinion or prior arts?

karthick-gururaj commented 4 months ago

Hi,

I think the Accellera's SystemC forum (https://forums.accellera.org/forum/10-systemc-language/) maybe more appropriate for this. SystemC is C++ - and Rust has bindings to C++ (that you are likely already aware of). But beyond that high level response - a lot will depend on exactly what is modeled (at what level of abstraction) in the rust codebase and how it needs to communicate with the SystemC simulation.

lmailletcontoz commented 3 months ago

Rust binding is not part of the IEEE 1666-2023 revision, and is therefore out of scope at the moment. This might be considered for a later revision.