sv: allow globals in one file to depend on globals in another
authorZachary Snow <zach@zachjs.com>
Thu, 11 Mar 2021 18:05:04 +0000 (13:05 -0500)
committerZachary Snow <zach@zachjs.com>
Fri, 12 Mar 2021 16:22:41 +0000 (11:22 -0500)
commit640b9927fae23d3127cc9ecb56ccbc8a2c66afbe
tree8f5b6ccaba28f979992946f0efda2ffdd49d74f0
parent396ad17e06a7b5fa912180540206a6560b54101f
sv: allow globals in one file to depend on globals in another

This defers the simplification of globals so that globals in one file
may depend on globals in other files. Adds a simplify() call downstream
because globals are appended at the end.
frontends/ast/ast.cc
frontends/ast/simplify.cc
tests/verilog/parameters_across_files.ys [new file with mode: 0644]