mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 16:40:12 +02:00
Internals: Rename AstVar::initp to valuep as it's a constant, not initial value
This commit is contained in:
+1
-1
@@ -437,7 +437,7 @@ void GateVisitor::optimizeSignals(bool allowMultiIn) {
|
||||
if (vvertexp->inEmpty()) {
|
||||
vvertexp->clearReducible("inEmpty"); // Can't deal with no sources
|
||||
if (!vvertexp->isTop() // Ok if top inputs are driverless
|
||||
&& !vvertexp->varScp()->varp()->initp()
|
||||
&& !vvertexp->varScp()->varp()->valuep()
|
||||
&& !vvertexp->varScp()->varp()->isSigPublic()) {
|
||||
UINFO(4, "No drivers "<<vvertexp->varScp()<<endl);
|
||||
if (0) {
|
||||
|
||||
Reference in New Issue
Block a user