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.

Using assert or other text functions

Status
Not open for further replies.

hithesh123

Full Member level 6
Joined
Nov 21, 2009
Messages
324
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
lax
Activity points
3,548
Can I use assert to indicate that a particular part of the test bench has begun/started or ended?
I need some sort of text indication during the execution of test bench. what's the best way to do it.

---------- Post added at 14:43 ---------- Previous post was at 13:33 ----------

I got it, I just used assert false report .... severity ...
 

if you want to output data, you can simply just put:

report "something happened" severity note;

without the assert. This allows you to use IF statements when checking statements rather than the backwards assert.

eg:

Code:
if something_is_wrong then
  report "Testbench Broken" severity failure;
end if;
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top