3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-23 14:23:41 +00:00

Consistency

This commit is contained in:
Eddie Hung 2020-01-17 16:06:20 -08:00
parent ee500b6d8e
commit e17f3f8c63
2 changed files with 6 additions and 4 deletions

View file

@ -460,7 +460,7 @@ arg argD argQ clock
code
dff = nullptr;
if (GetSize(argQ) == 0)
if (argQ.empty() == 0)
reject;
for (const auto &c : argQ.chunks()) {
// Abandon matches when 'Q' is a constant