Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - modelsim and psl support

 
Thread Tools Search this Thread
Old 10-24-2006, 07:39 PM   #1
Default modelsim and psl support


Hi everyone
I've been trying to get some psl assertions to work with my design on
Modelsim, but nothing seems to work.

I have moved the psl assertions on a separate file (vunit), and I even
got this message when compiling on modelsim:

Loading vunit bla_unit

which made me think that I had got something.. but I have no assertions
on the Assertion view, and no messages on the console!

Does anyone have a sample code? something that works on modelsim ?
Thank you very much!


Here's my testing code:
vunit bla_unit(system (system)){
default clock is rising_edge(clk);
property test is never (sig1 and sig2);
assert test;
}



Hugo
  Reply With Quote
Old 11-22-2006, 11:22 AM   #2
lelesa@inwind.it
 
Posts: n/a
Default Re: modelsim and psl support
Hi,
I'm having the same problem... I tried both with separate file and
comments in vhdl files. I can tell for sure that the psl code is
compiled, but I can't see the assertions...

Hugo ha scritto:

> Hi everyone
> I've been trying to get some psl assertions to work with my design on
> Modelsim, but nothing seems to work.
>
> I have moved the psl assertions on a separate file (vunit), and I even
> got this message when compiling on modelsim:
>
> Loading vunit bla_unit
>
> which made me think that I had got something.. but I have no assertions
> on the Assertion view, and no messages on the console!
>
> Does anyone have a sample code? something that works on modelsim ?
> Thank you very much!
>
>
> Here's my testing code:
> vunit bla_unit(system (system)){
> default clock is rising_edge(clk);
> property test is never (sig1 and sig2);
> assert test;
> }




lelesa@inwind.it
  Reply With Quote
Old 11-22-2006, 01:14 PM   #3
NigelE
 
Posts: n/a
Default Re: modelsim and psl support

wrote:
> Hi,
> I'm having the same problem... I tried both with separate file and
> comments in vhdl files. I can tell for sure that the psl code is
> compiled, but I can't see the assertions...
>
> Hugo ha scritto:
>
> > Hi everyone
> > I've been trying to get some psl assertions to work with my design on
> > Modelsim, but nothing seems to work.
> >
> > I have moved the psl assertions on a separate file (vunit), and I even
> > got this message when compiling on modelsim:
> >
> > Loading vunit bla_unit
> >
> > which made me think that I had got something.. but I have no assertions
> > on the Assertion view, and no messages on the console!
> >
> > Does anyone have a sample code? something that works on modelsim ?
> > Thank you very much!
> >
> >
> > Here's my testing code:
> > vunit bla_unit(system (system)){
> > default clock is rising_edge(clk);
> > property test is never (sig1 and sig2);
> > assert test;
> > }



ModelSim does not support PSL by default.
You need to add a Questa Option to your configuration to access this
language capability.
I hope this clarifies the situation.

Best Regards

- Nigel



NigelE
  Reply With Quote
Old 11-23-2006, 02:49 PM   #4
lelesa@inwind.it
 
Posts: n/a
Default Re: modelsim and psl support
Sorry, I don't get it, I'm quite new to modelsim... Where should I add
this option? In the simulation configuration, I can disable or enable
PSL support, but nothing works... I'm starting to believe that my
license doesn't allow PSL simulation (I'm using Modelsim 6.1 Lattice
Edition...). I tried to read the user manual, but I didn't find
anything.

Thanks,
lele


NigelE ha scritto:

> ModelSim does not support PSL by default.
> You need to add a Questa Option to your configuration to access this
> language capability.
> I hope this clarifies the situation.
>
> Best Regards
>
> - Nigel




lelesa@inwind.it
  Reply With Quote
Old 11-23-2006, 03:17 PM   #5
Ajeetha
 
Posts: n/a
Default Re: modelsim and psl support
I believe one needs to purchase a separate license key for this.

Ajeetha, CVC
www.noveldv.com

wrote:
> Sorry, I don't get it, I'm quite new to modelsim... Where should I add
> this option? In the simulation configuration, I can disable or enable
> PSL support, but nothing works... I'm starting to believe that my
> license doesn't allow PSL simulation (I'm using Modelsim 6.1 Lattice
> Edition...). I tried to read the user manual, but I didn't find
> anything.
>
> Thanks,
> lele
>
>
> NigelE ha scritto:
>
> > ModelSim does not support PSL by default.
> > You need to add a Questa Option to your configuration to access this
> > language capability.
> > I hope this clarifies the situation.
> >
> > Best Regards
> >
> > - Nigel




Ajeetha
  Reply With Quote
Old 11-23-2006, 04:45 PM   #6
NigelE
 
Posts: n/a
Default Re: modelsim and psl support

Ajeetha wrote:
> I believe one needs to purchase a separate license key for this.
>
> Ajeetha, CVC
> www.noveldv.com
>
> wrote:
> > Sorry, I don't get it, I'm quite new to modelsim... Where should I add
> > this option? In the simulation configuration, I can disable or enable
> > PSL support, but nothing works... I'm starting to believe that my
> > license doesn't allow PSL simulation (I'm using Modelsim 6.1 Lattice
> > Edition...). I tried to read the user manual, but I didn't find
> > anything.
> >
> > Thanks,
> > lele
> >
> >
> > NigelE ha scritto:
> >
> > > ModelSim does not support PSL by default.
> > > You need to add a Questa Option to your configuration to access this
> > > language capability.
> > > I hope this clarifies the situation.
> > >
> > > Best Regards
> > >
> > > - Nigel


Sorry I wasn't being clear. For 'add' read 'purchase' .

Also, this is only available direct from Mentor (ie not from the FPGA
vendors) and may require an upgrade of your ModelSim first.

- Nigel



NigelE
  Reply With Quote
Old 11-24-2006, 07:42 AM   #7
lelesa@inwind.it
 
Posts: n/a
Default Re: modelsim and psl support
Thanks for the answers, now everything is clear...

NigelE ha scritto:

> Ajeetha wrote:
> > I believe one needs to purchase a separate license key for this.
> >
> > Ajeetha, CVC
> > www.noveldv.com
> >
> > wrote:
> > > Sorry, I don't get it, I'm quite new to modelsim... Where should I add
> > > this option? In the simulation configuration, I can disable or enable
> > > PSL support, but nothing works... I'm starting to believe that my
> > > license doesn't allow PSL simulation (I'm using Modelsim 6.1 Lattice
> > > Edition...). I tried to read the user manual, but I didn't find
> > > anything.
> > >
> > > Thanks,
> > > lele
> > >
> > >
> > > NigelE ha scritto:
> > >
> > > > ModelSim does not support PSL by default.
> > > > You need to add a Questa Option to your configuration to access this
> > > > language capability.
> > > > I hope this clarifies the situation.
> > > >
> > > > Best Regards
> > > >
> > > > - Nigel

>
> Sorry I wasn't being clear. For 'add' read 'purchase' .
>
> Also, this is only available direct from Mentor (ie not from the FPGA
> vendors) and may require an upgrade of your ModelSim first.
>
> - Nigel




lelesa@inwind.it
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46