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.

Modeling Faults with VHDL language

Status
Not open for further replies.

lahrach

Full Member level 3
Joined
Feb 6, 2009
Messages
170
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,285
how to model faults like stuck-at 1 (0) using VHDL,

friendly,
 

I fear, it's not quite clear waht your asking for. "Stuck at" normally happens, if a logic driven output never changes it's state, possibly to a logic design error, or just intentionally. If it it's not by intention, what do you want to simulate? You have to analyze the logic and find out, why the output takes the same state under all conditions.
 

stuck-at 1/0 means that the output is always at 1/0 whatever the inputs,

regards
 

In Verilog it is possible to set a wire to a value in test bench on the fly.
Such as you have a wire "sig" in a module called DUT
in test bench you can write
assign DUT = 1;
to cause it to one.

Seems VHDL does not support this.
 

No. 'Force' and 'release' are in VHDL2k8 standard.

Usage:
signal <= force illegal_state;
signal <= release;

You can do that also with ports but then you have to use 'force in/out'
 
Oops, sorry, haven't got a chance to study 2k8 yet
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top