Commit 68fa8290 by Zachary Snow

interface instantiation checks for errant name resolution

parent a6ebc0e3
...@@ -54,6 +54,7 @@ module Convert.Scoper ...@@ -54,6 +54,7 @@ module Convert.Scoper
, lookupLocalIdentM , lookupLocalIdentM
, scopeModuleItemT , scopeModuleItemT
, Replacements , Replacements
, LookupResult
) where ) where
import Control.Monad.State.Strict import Control.Monad.State.Strict
......
// pattern: inlining instance "intf" of interface "Interface" would make expression "x" used in "intf" resolvable when it wasn't previously
interface Interface;
assign x = 1;
endinterface
module top;
wire x;
Interface intf();
endmodule
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment