Commentary

This commit is contained in:
Wilson Snyder 2023-05-05 22:50:28 -04:00
parent 8a3cb8daa8
commit 4ae80f9a9f
3 changed files with 4 additions and 0 deletions

View File

@ -3227,6 +3227,7 @@ void V3Partition::finalize(AstNetlist* netlistp) {
}
void V3Partition::selfTest() {
UINFO(2, __FUNCTION__ << ": " << endl);
PartPropagateCpSelfTest::selfTest();
PartPackMTasks::selfTest();
PartContraction::selfTest();

View File

@ -183,8 +183,10 @@ void V3ThreadPool::selfTest() {
futures.push_back(s().enqueue<void>(std::bind(thirdJob, 100)));
futures.push_back(s().enqueue<void>(std::bind(thirdJob, 100)));
V3ThreadPool::waitForFutures(futures);
s().waitIfStopRequested();
s().requestExclusiveAccess(std::bind(firstJob, 100));
auto forthJob = [&]() -> int { return 1234; };
std::list<std::future<int>> futuresInt;
futuresInt.push_back(s().enqueue<int>(forthJob));

View File

@ -624,6 +624,7 @@ static void verilate(const string& argString) {
V3Partition::selfTestNormalizeCosts();
V3Broken::selfTest();
V3ThreadPool::selfTest();
UINFO(2, "selfTest done\n");
}
// Read first filename