Minres / SystemC-Components

A SystemC productivity library: https://minres.github.io/SystemC-Components/
https://www.minres.com/#opensource
Apache License 2.0
81 stars 21 forks source link

The sqlite is disabled by if 0 #19

Closed kopinions closed 2 years ago

kopinions commented 2 years ago

https://github.com/Minres/SystemC-Components/blob/21e139480f969848d9954879350687a09ae44ad3/src/sysc/scc/tracer.cpp#L66 Any reason about disable the sqlite?

eyck commented 2 years ago

Actually this was a quick fix for portability.

In the past the SQLite backend turned out to be very slow due to the SQL guarantees of ACID transactions. Therefore it has not been used at all which motivated the change. But it can easily be converted into a compile time option.

eyck commented 2 years ago

@staskau Could you please modify the cmake configuration accordingly?