Closed seldridge closed 2 years ago
This is fixed on main
. This is now parsed into subfield
and strictconnect
operations. Final Verilog output matches the SFC with:
module Foo(
input [1:0] a_a,
output b_a);
assign b_a = a_a[0];
endmodule
Currently, we will convert illegal ground connects to partial connects where the RHS is larger than the LHS. However, if a user passes in an aggregate with this property, we need to emit element-wise partial connects. (Emitting an aggregate partial connect will change connection semantics.) Currently
LowerTypes
will create an illegal connect when it needs to pad.Consider:
This produces: