Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Unresolved hierarchical reference

Status
Not open for further replies.

sonaj

Newbie level 5
Joined
Jul 5, 2008
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,330
I would like to see the inside of a module, without using a port

Code:
module submodule (a,b,c);
 .
 .
 reg subtest;
 .
 .
 .
endmodule

module _main (testout);

 submodule _sm(a,b,c);

 assign testout=_main._sm.subtest;

endmodule

synplify report error: Unresolved hierarchical reference _main._sm.subtest

I do not want ports to be used only for testing board (not simulation).
 

I suspect there is some other token than "_main" that needs to be used. that said, I think the idea itself is bad.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top