Skip to content

Commit 7c032d0

Browse files
committed
Swap order of arrays again
1 parent eef43e7 commit 7c032d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/system_verilog.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl<'g> CodeGenerationContext<'g> {
107107
match path_elem {
108108
RealWirePathElem::ArrayAccess { span: _, idx_wire } => {
109109
let idx_wire_name = self.wire_name(*idx_wire, absolute_latency);
110-
write!(result, "[{idx_wire_name}]").unwrap();
110+
result = format!("[{idx_wire_name}]{result}");
111111
}
112112
}
113113
}

0 commit comments

Comments
 (0)