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.

In VHDL, How To Call a PROCEDURE Cross Architecture?

Status
Not open for further replies.

swgchlry

Member level 4
Joined
Dec 8, 2003
Messages
69
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
718
In an architecture, I declared some procedures. And in the testbench, i want to call those procedures, how can i to do it? It seems that we can't do this by use EntityName.ProcedureName, just like in Verilog!
 

swgchlry said:
In an architecture, I declared some procedures. And in the testbench, i want to call those procedures, how can i to do it? It seems that we can't do this by use EntityName.ProcedureName, just like in Verilog!

You can't do that as hierarchical access is not allowed in VHDL (unlike Verilog). Put your procedure in a package and then you can achieve this.

Ajeetha, CVC
www.noveldv.com
 

put the procudure in a package and "use" it in each file
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top