mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-30 12:25:52 +00:00
verilog: indirect AST_CONCAT and AST_TO_UNSIGNED port connections
- AST_CONCAT and AST_TO_UNSIGNED are always unsigned, but may generate RTLIL that exclusively reference a signed wire. - AST_CONCAT may also contain a memory write.
This commit is contained in:
parent
55595b6c8d
commit
73cf658996
6 changed files with 72 additions and 9 deletions
|
@ -5,9 +5,11 @@ module producer(
|
|||
endmodule
|
||||
|
||||
module top(
|
||||
output logic [3:0] out
|
||||
output logic [3:0] out0, out1
|
||||
);
|
||||
logic [3:0] v[0:0];
|
||||
producer p(v[0]);
|
||||
assign out = v[0];
|
||||
logic [3:0] v[1:0];
|
||||
producer p0(v[0]);
|
||||
producer p1({v[1]});
|
||||
assign out0 = v[0];
|
||||
assign out1 = v[1];
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue