verilog: use derived module info to elaborate cell connections
authorZachary Snow <zach@zachjs.com>
Wed, 20 Oct 2021 00:46:26 +0000 (18:46 -0600)
committerZachary Snow <zachary.j.snow@gmail.com>
Tue, 26 Oct 2021 01:25:50 +0000 (18:25 -0700)
commite833c6a418103feb30f0cc3e5c482da00ee9f820
treeef7d028ed17200f04558f3d2426f3db7ef6134cd
parentbd16d01c0eed5c96a241e6ee9e56b8f7890319a1
verilog: use derived module info to elaborate cell connections

- Attempt to lookup a derived module if it potentially contains a port
  connection with elaboration ambiguities
- Mark the cell if module has not yet been derived
- This can be extended to implement automatic hierarchical port
  connections in a future change
15 files changed:
CHANGELOG
README.md
frontends/ast/ast.cc
frontends/ast/ast.h
frontends/ast/genrtlil.cc
frontends/ast/simplify.cc
kernel/constids.inc
kernel/rtlil.cc
kernel/rtlil.h
passes/hierarchy/hierarchy.cc
passes/techmap/techmap.cc
tests/simple/memwr_port_connection.sv [new file with mode: 0644]
tests/simple/signed_full_slice.v [new file with mode: 0644]
tests/verilog/unbased_unsized_tern.sv [new file with mode: 0644]
tests/verilog/unbased_unsized_tern.ys [new file with mode: 0644]