mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
parent
4f1f487ae4
commit
338acabe2b
@ -234,6 +234,11 @@ private:
|
||||
operandTriop(nodep);
|
||||
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 {
|
||||
iterateChildren(nodep);
|
||||
computeCppWidth(nodep);
|
||||
|
@ -38,9 +38,8 @@ module t;
|
||||
assign s2.arr[1] = 8'h33;
|
||||
|
||||
initial begin
|
||||
if(s1 != s2) begin
|
||||
$fatal;
|
||||
end
|
||||
if(s1 != s2) $stop;
|
||||
if(s1.sub != s2.sub) $stop;
|
||||
if(s1 == s2) begin
|
||||
$write("*-* All Finished *-*\n");
|
||||
$finish;
|
||||
|
Loading…
Reference in New Issue
Block a user