<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>liveasic.com Blog &#187; Tutorial</title>
	<atom:link href="http://liveasic.com/blog/index.php/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://liveasic.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 11 Nov 2009 14:38:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>System Verilog Assertions &#8211; Tutorial 3</title>
		<link>http://liveasic.com/blog/2009/10/24/system-verilog-assertions-tutorial-3/</link>
		<comments>http://liveasic.com/blog/2009/10/24/system-verilog-assertions-tutorial-3/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 13:42:26 +0000</pubDate>
		<dc:creator>lasic</dc:creator>
				<category><![CDATA[System Verilog Assertions]]></category>
		<category><![CDATA[ABV]]></category>
		<category><![CDATA[Assertion Based Verification]]></category>
		<category><![CDATA[SVA]]></category>
		<category><![CDATA[System Verilog]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://liveasic.com/blog/?p=50</guid>
		<description><![CDATA[Lets look at the basic syntax of a system verilog assertion. 
Assertion_Label: assert property (@(&#60;clocking&#62;) &#60;filter&#62; &#60;expression&#62; );
The above syntax represented in a example is as follows.
req_grant_check: assert property (@(posedge clk) disable iff (rst_n) ($rose(req &#124;=&#62; ##[1:3] gnt));
Splitting the example into language fields:
   Assertion_Label: req_grant_check
   clocking               : posedge clk
   [...]]]></description>
			<content:encoded><![CDATA[<p>Lets look at the basic syntax of a system verilog assertion. </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; text-indent: 21.2px; font: 12.0px Helvetica;"><span style="letter-spacing: 0.0px;">Assertion_Label: assert property (@(&lt;clocking&gt;) &lt;filter&gt; &lt;expression&gt; );</span></p>
<p>The above syntax represented in a example is as follows.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; text-indent: 21.2px; font: 12.0px Helvetica;"><span style="letter-spacing: 0.0px;">req_grant_check: assert property (@(posedge clk) disable iff (rst_n) ($rose(req |=&gt; ##[1:3] gnt));</span></p>
<p>Splitting the example into language fields:<br />
   Assertion_Label: req_grant_check<br />
   clocking               : posedge clk<br />
   filter                      : disable iff (!rst_n)<br />
   expression          : ($rose(req |=&gt; ##[1:3] gnt)</p>
<p>The assertion label is used to differentiate the different assertions.<br />
Clocking is the clock or trigger on which the assertion should be evaluated. The assertion is triggered and evaluated on this.<br />
Filter is the condition on which the checking can be skipped. In this case we are skipping  when the reset is asserted and checking is enabled only when out of reset, Any boolean expression can be used as filter. Please note &#8216;iff&#8217; is the syntax for filtering, and is not &#8216;if&#8217;.<br />
Expression is the actual check that has be executed. In this case we are checking that grant should be asserted within three clocks of assertion of request.</p>
]]></content:encoded>
			<wfw:commentRss>http://liveasic.com/blog/2009/10/24/system-verilog-assertions-tutorial-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Verilog Assertions Tutorial &#8211; 1</title>
		<link>http://liveasic.com/blog/2009/10/19/system-verilog-assertions-tutorial-1/</link>
		<comments>http://liveasic.com/blog/2009/10/19/system-verilog-assertions-tutorial-1/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 13:04:54 +0000</pubDate>
		<dc:creator>lasic</dc:creator>
				<category><![CDATA[System Verilog Assertions]]></category>
		<category><![CDATA[ABV]]></category>
		<category><![CDATA[Assertion Based Verification]]></category>
		<category><![CDATA[Assertions]]></category>
		<category><![CDATA[SVA]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Verification]]></category>

		<guid isPermaLink="false">http://liveasic.com/blog/?p=24</guid>
		<description><![CDATA[ 
Assertion
 
An assertion is a property description. This property is being continuously evaluated in the course of simulation and if the property is not satisfied at any instant of time the assertion fails. Assertions are not a new feature and can be viewed as a monitor or checker that used to be written in Verilog using [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica Neue;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica Neue;"><span style="letter-spacing: 0.0px;"><strong>Assertion</strong></span></p>
<p style="margin: 0.0px 0.0px 15.0px 0.0px; font: 12.0px Helvetica Neue Light; min-height: 15.0px;"><span style="letter-spacing: 0.0px;"> </span></p>
<p style="margin: 0.0px 0.0px 15.0px 0.0px; font: 12.0px Helvetica Neue Light;"><span style="letter-spacing: 0.0px;">An assertion is a property description. This property is being continuously evaluated in the course of simulation and if the property is not satisfied at any instant of time the assertion fails. Assertions are not a new feature and can be viewed as a monitor or checker that used to be written in Verilog using procedural code. Assertion based languages and PSL (Property Specification Language) SVA (System Verilog Assertions) provide better language constructs developed specifically for property checking. These eliminate some of the difficulties encountered when using a procedural code like verilog.</span></p>
<p style="margin: 0.0px 0.0px 15.0px 0.0px; font: 12.0px Helvetica Neue Light;"><span style="letter-spacing: 0.0px;">SVA is declartive code and meant specifically for property checking. Lets look at an example temporal check.<br />
e.g. 1. Arbiter<br />
<span style="white-space: pre;"> </span>The request to the arbiter is asserted on the posedge of the clock. The grant should be asserted within a maximum of 60 clocks. If the particular device doesnt get a grant within 50 clocks then the arbiter logic fails.<br />
</span></p>
<p style="margin: 0.0px 0.0px 15.0px 0.0px; font: 12.0px Helvetica Neue; color: #200063;"><span style="letter-spacing: 0.0px;"><strong>req_grant_checker_devA:<br />
<span style="white-space: pre;"> </span>assert propery (@(posedge clk) $rose(req) | -&gt; ##[1:50] $rose(grant));</strong></span></p>
<p style="margin: 0.0px 0.0px 15.0px 0.0px; font: 12.0px Helvetica Neue Light;"><span style="letter-spacing: 0.0px;">The same checker written in procedural verilog could have ended up very verbose.</span></p>
<p style="margin: 0.0px 0.0px 15.0px 0.0px; font: 12.0px Helvetica Neue Light;"><span style="letter-spacing: 0.0px;">Having learnt what is the advantage of assertion based verification, lets get into details of the language in future tutorials. Happy Blogging.</span></p>
<div><span style="font-family: 'Helvetica Neue Light'; line-height: normal;"><br />
</span></div>
]]></content:encoded>
			<wfw:commentRss>http://liveasic.com/blog/2009/10/19/system-verilog-assertions-tutorial-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.253 seconds -->
