I try to compile a simple program which contains sc_bit declaration in SystemC. However, I got the following error:
undefined reference to `sc_dt::sc_deprecated_sc_bit()'
Can someone help me to resolve this? Thanks.
That's a linker issue.
You need to link against the appropriate library