electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

PSL Assertion for VHDL design


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> PSL Assertion for VHDL design
Author Message
uditkumar1983



Joined: 03 Dec 2006
Posts: 103
Helped: 4
Location: India


Post14 Aug 2008 8:48   

PSL Assertion for VHDL design


Hi All,

I want to write assertion (in vunit) such that which can contain "if else" part of any process statement in PSL , My design is in VHDL.

Can anyone help me on this. Or you can share some examples on it.

Thanks & Regadrs,
Udit Kumar
Back to top
Google
AdSense
Google Adsense




Post14 Aug 2008 8:48   

Ads




Back to top
jonyRoyal



Joined: 24 Apr 2006
Posts: 35
Helped: 3


Post25 Dec 2008 11:20   

Re: PSL Assertion for VHDL design


Hi,

vunit alu_assertion (alub(alub)) {
use work.packageCPU;

signal test_signal : std_logic_vector (TEST_SIZE -1 DOWNTO 0);

default clock is rose(clock);
Errorsatge: assert never {system.i_cpu.i_alub.t2 & system.i_cpu.i_alub.t3};
Errorfree: assert never {T2 or T2};


test_assert_forall: assert forall i in {0 to TEST_SIZE} : {T2 and T2 and test_signal(i)};
}

Thanks
Jagadeesh
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> PSL Assertion for VHDL design
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Regarding PSL Assertion (8)
Modeling Layer in PSL Assertion (2)
Verdi, debug with PSL assertion ? (3)
EDA tools for PSL/System Verilog (2)
PSL equivalent for SVA action block (2)
need Cache Controller design for VHDL (4)
How to use the VHDL to design a PLL for CPLD? (2)
Is there available job for VHDL programmer( design engineer) (12)
Assertion (1)
what is assertion?? (18)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS