verilog: disallow overriding global parameters
authorZachary Snow <zach@zachjs.com>
Thu, 11 Mar 2021 16:49:15 +0000 (11:49 -0500)
committerZachary Snow <zach@zachjs.com>
Thu, 11 Mar 2021 17:36:51 +0000 (12:36 -0500)
commitcb9f3b6abfbc769589e5e5ceb2497955a155065c
tree6307b773dd556c05a8171fbb80999763e9b3c1ab
parent83fc5cc28b60367a8cd16fb3d7eddb26db304513
verilog: disallow overriding global parameters

It was previously possible to override global parameters on a
per-instance basis. This could be dangerous when using positional
parameter bindings, hiding oversupplied parameters.
frontends/ast/ast.cc
tests/verilog/global_parameter.ys [new file with mode: 0644]