mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Order initial statements based on variables used. Merge from bug683 branch.
This commit is contained in:
+2
-1
@@ -690,7 +690,8 @@ class EmitCImp : EmitCStmts {
|
||||
}
|
||||
changep->lhsp()->iterateAndNext(*this);
|
||||
if (changep->lhsp()->isWide()) puts("["+cvtToStr(word)+"]");
|
||||
puts(" ^ ");
|
||||
if (changep->lhsp()->isDouble()) puts(" != ");
|
||||
else puts(" ^ ");
|
||||
changep->rhsp()->iterateAndNext(*this);
|
||||
if (changep->lhsp()->isWide()) puts("["+cvtToStr(word)+"]");
|
||||
puts(")");
|
||||
|
||||
Reference in New Issue
Block a user