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.

"Unknown identifier" error while calling VHDL procedure

Status
Not open for further replies.

szu

Newbie level 1
Joined
Feb 28, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
10
Hello!

I'm having problem while compiling procedure call code, I even reduced it to very small code in order to narrow the error, but still no luck :(

Here is the procedure itself (separate package):

Code:
	PROCEDURE test (

        FILE	report_file     : text
	);

Body of the procedure:

Code:
PROCEDURE test (
        FILE	report_file     : text

	) IS
	
	BEGIN
			
		wrtcblank(report_file    => report_file	);
		wrtcblank(report_file    => report_file	);
		wrtcblank(report_file    => report_file	);
		
	END PROCEDURE test;

Invocation of the procedure:

Code:
...
     test(report_file => report_file);
...

I included the package that contains procedure into .vhd which calls it, so error lets me confused :(

Thank you.
 

did you include the textio library?
Are you trying to simulate or synthesise? Files are not suitable for synthesis.
You are better off posting the whole code - not a small snippet.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top