mirror of
https://github.com/verilator/verilator.git
synced 2025-01-31 18:54:03 +00:00
parent
4f1f487ae4
commit
338acabe2b
@ -234,6 +234,11 @@ private:
|
|||||||
operandTriop(nodep);
|
operandTriop(nodep);
|
||||||
setClean(nodep, nodep->cleanOut());
|
setClean(nodep, nodep->cleanOut());
|
||||||
}
|
}
|
||||||
|
void visit(AstStructSel* nodep) override {
|
||||||
|
iterateChildren(nodep);
|
||||||
|
AstStructDType* dtypep = VN_CAST(nodep->dtypep()->skipRefp(), StructDType);
|
||||||
|
setClean(nodep, dtypep && !dtypep->packed());
|
||||||
|
}
|
||||||
void visit(AstUCFunc* nodep) override {
|
void visit(AstUCFunc* nodep) override {
|
||||||
iterateChildren(nodep);
|
iterateChildren(nodep);
|
||||||
computeCppWidth(nodep);
|
computeCppWidth(nodep);
|
||||||
|
@ -38,9 +38,8 @@ module t;
|
|||||||
assign s2.arr[1] = 8'h33;
|
assign s2.arr[1] = 8'h33;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
if(s1 != s2) begin
|
if(s1 != s2) $stop;
|
||||||
$fatal;
|
if(s1.sub != s2.sub) $stop;
|
||||||
end
|
|
||||||
if(s1 == s2) begin
|
if(s1 == s2) begin
|
||||||
$write("*-* All Finished *-*\n");
|
$write("*-* All Finished *-*\n");
|
||||||
$finish;
|
$finish;
|
||||||
|
Loading…
Reference in New Issue
Block a user