mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-17 15:11:30 +00:00
Add thread support code
Provides very simple ConcurrentQueue and ThreadPool classes that build even when threading is disabled. Also provides a `DeferredLogs` class that captures log output to be replayed on the main thread later.
This commit is contained in:
parent
012ddc2f1e
commit
9f0d5d1aca
7 changed files with 254 additions and 2 deletions
|
@ -204,6 +204,7 @@ extern dict<std::string, LogExpectedItem> log_expect_log, log_expect_warning, lo
|
|||
extern dict<std::string, LogExpectedItem> log_expect_prefix_log, log_expect_prefix_warning, log_expect_prefix_error;
|
||||
void log_check_expected();
|
||||
|
||||
std::string signal_str(const RTLIL::SigSpec &sig, bool autoint = true);
|
||||
const char *log_signal(const RTLIL::SigSpec &sig, bool autoint = true);
|
||||
const char *log_const(const RTLIL::Const &value, bool autoint = true);
|
||||
const char *log_id(const RTLIL::IdString &id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue