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.

Assertion Violation Report Strings inc. Signal Values

Status
Not open for further replies.

daveob

Newbie level 2
Newbie level 2
Joined
Feb 5, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
UK
Activity points
1,290
I'd like to include values in the Report strings of my testbench assertion violation checks. Something like this:

Code:
	signal min_acq_time : TIME := 500 ns;

	assert (cnv'last_event >= min_acq_time)
		report "Aquisition time (" & cnv'last_event & ") is less than minimum acquisition time (" & min_acq_time & ")."
		severity warning;

Is it possible to convert STD_LOGIC signal values or TIME into a string to append to the Report string?

Thanks all.
 


    daveob

    Points: 2
    Helpful Answer Positive Rating
Thanks mate, thats perfect.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top