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.

How to write psl in HDL file in Modelsim environment

Status
Not open for further replies.

oxford

Member level 2
Member level 2
Joined
Apr 30, 2004
Messages
47
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
312
psl assertions in modelsim

The psl file can be simulated in the Modelsim(6.0), but how to
write psl assertions in HDL file.

I read the guide and it shows me like this:
// psl begin
// assert **
// end
------------
but when I "vlog" them, there is error message.

Who can show I the example code?
 

i know this reply is more than two years' late but i think it might help others :)

for making assertions in VHDL:

--psl property P1 is ..........;

--psl assert P1;

in Verilog:

//psl property P1 = ..........;

//psl assert P1;


u can have properties embedded in the HDL file or in a separate one
if they are embedded, there is nothing extra to write while simulating
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top