<?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>SysWip &#187; SystemVerilog Verification Environment</title>
	<atom:link href="http://syswip.com/category/systemverilog-verification-environment/feed" rel="self" type="application/rss+xml" />
	<link>http://syswip.com</link>
	<description>Alternative Verification</description>
	<lastBuildDate>Sun, 01 Aug 2010 08:10:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple Verification Environment</title>
		<link>http://syswip.com/simple-verification-environment</link>
		<comments>http://syswip.com/simple-verification-environment#comments</comments>
		<pubDate>Wed, 19 Aug 2009 10:39:30 +0000</pubDate>
		<dc:creator>Tiksan</dc:creator>
				<category><![CDATA[SystemVerilog Verification Environment]]></category>

		<guid isPermaLink="false">http://syswip.com/wp/?p=230</guid>
		<description><![CDATA[Before starting to write any posts about Verification IPs in this introductory I would like to describe a simple SystemVerilog Verification Environment. I&#8217;ll provide more details about each module which you find  in this simple environment in the future posts. I think this is a good starting point for you to follow my thoughts. [...]]]></description>
			<content:encoded><![CDATA[<p>Before starting to write any posts about Verification IPs in this introductory I would like to describe a simple SystemVerilog Verification Environment. I&#8217;ll provide more details about each module which you find  in this simple environment in the future posts. I think this is a good starting point for you to follow my thoughts. And after several posts we will have a fully functional SystemVerilog verification environment.<span id="more-230"></span></p>
<p>So let me start.</p>
<p>Each time I have a new verification project the first question I always ask is which interfaces DUT (Device Under Test) has. Depending on the answer my testbench creation time can be very different, from several days if I already have verification IP up to several weeks even months. For this simple environment I choose AES Cryptographic Engine as a DUT and the answer for my first question is AMBA  APB Slave interface. So I need AMBA  APB Master Verification IP as a starting point.</p>
<p>Another important question is if I have a model for DUT. This will decrease environment design time a lot. So here I will use System Verilog behavioral model for AES algorithm.</p>
<p>Let&#8217;s see the simple verification environment block diagram in the figure below and discuss each block.</p>
<p><a href="http://syswip.com/wp/wp-content/uploads/2009/08/simple_ver_env1.gif"><img class="alignnone size-medium wp-image-512" title="simple verification environment" src="http://syswip.com/wp/wp-content/uploads/2009/08/simple_ver_env1-300x210.gif" alt="Simple SystemVerilog testbench" width="300" height="210" /></a></p>
<p>AES Cryptographic Engine is a synthesizable verilog RTL with APB slave interface which should be instantiated in the testbench top file.</p>
<p>I don&#8217;t want to discuss more complex clock and reset generation module in this post. The simplest clock and reset generation will be used. But one of the future posts will focus on very useful clock and reset generation module.</p>
<p>APB Master VIP is a collection of SystemVerilog classes which should be connected to the DUT via SystemVerilog interfaces. Test module will communicate with DUT only using APB Master VIP functions.</p>
<p>AES model is a SystemVerilog class with corresponding methods. Test module should call these methods to have a valid data which can be compared with the data from the DUT.</p>
<p>Test module is a SystemVerilog program block where all tests are executed.</p>
<p>Now let me describe what the basic test should do.</p>
<p>The first thing is environment initialization. After initialization the test will generate input data and send it to DUT via VIP. The same data should be sent to the model and get expected data from it. After this the test should read output data from DUT and compare it with the expected one. At the end detailed report is generated to make future debugging easy.<br />
The above mentioned steps should be repeated until 100% coverage is achieved.</p>
]]></content:encoded>
			<wfw:commentRss>http://syswip.com/simple-verification-environment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
