<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SystemC Tutorial: ports</title>
	<atom:link href="http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/feed/" rel="self" type="application/rss+xml" />
	<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/</link>
	<description>A Linux Live Distribution for SystemC</description>
	<lastBuildDate>Mon, 21 Dec 2009 14:27:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lupus</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-525</link>
		<dc:creator>Lupus</dc:creator>
		<pubDate>Sun, 29 Mar 2009 04:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-525</guid>
		<description>I am new to systemc. I am trying to model a component that takes N input values, and generate M output values. The N values are coming from distinct sources and the M values are outputs to different sinks. The values of M and N should not be fixed, but specified as inputs for the systemc simulation.
I was wondering if I can create a module with variable number of ports. In other words, pass the number of ports as a parameter for the module constructor. If not, is anyone aware how can I try to build my component?
Thank you</description>
		<content:encoded><![CDATA[<p>I am new to systemc. I am trying to model a component that takes N input values, and generate M output values. The N values are coming from distinct sources and the M values are outputs to different sinks. The values of M and N should not be fixed, but specified as inputs for the systemc simulation.<br />
I was wondering if I can create a module with variable number of ports. In other words, pass the number of ports as a parameter for the module constructor. If not, is anyone aware how can I try to build my component?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Newbee</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-524</link>
		<dc:creator>Newbee</dc:creator>
		<pubDate>Wed, 25 Mar 2009 23:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-524</guid>
		<description>How do I parametrize the port using constructors? eg: sc_in&lt;sc_uint &gt; and changing N from constructor..?</description>
		<content:encoded><![CDATA[<p>How do I parametrize the port using constructors? eg: sc_in&lt;sc_uint &gt; and changing N from constructor..?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ndamyimana</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-521</link>
		<dc:creator>Ndamyimana</dc:creator>
		<pubDate>Sat, 28 Feb 2009 11:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-521</guid>
		<description>I got a problem within port bounds in module main.cpp with sc_signal when I use struct my_struct, could u provide some ideal sc_signal sig_a works</description>
		<content:encoded><![CDATA[<p>I got a problem within port bounds in module main.cpp with sc_signal when I use struct my_struct, could u provide some ideal sc_signal sig_a works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ndamyimana</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-520</link>
		<dc:creator>Ndamyimana</dc:creator>
		<pubDate>Sat, 28 Feb 2009 11:32:05 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-520</guid>
		<description>Thx from your discussion on user defined data type, I am also doing project related to systemC</description>
		<content:encoded><![CDATA[<p>Thx from your discussion on user defined data type, I am also doing project related to systemC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lollipop</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-517</link>
		<dc:creator>lollipop</dc:creator>
		<pubDate>Sun, 15 Feb 2009 06:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-517</guid>
		<description>how to connect one port to another port 
pls give an example</description>
		<content:encoded><![CDATA[<p>how to connect one port to another port<br />
pls give an example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: malex</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-491</link>
		<dc:creator>malex</dc:creator>
		<pubDate>Mon, 10 Mar 2008 19:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-491</guid>
		<description>loool there is a problem with the html tags...

both I and sclive said that is possible, but giving a wrong readable example.

you have to use the  instead of the ( and the )

sc_in(my_struct) packet_rx;</description>
		<content:encoded><![CDATA[<p>loool there is a problem with the html tags&#8230;</p>
<p>both I and sclive said that is possible, but giving a wrong readable example.</p>
<p>you have to use the  instead of the ( and the )</p>
<p>sc_in(my_struct) packet_rx;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: malex</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-490</link>
		<dc:creator>malex</dc:creator>
		<pubDate>Mon, 10 Mar 2008 19:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-490</guid>
		<description>yes, such as: 

sc_in packet_rx;</description>
		<content:encoded><![CDATA[<p>yes, such as: </p>
<p>sc_in packet_rx;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sclive</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-91</link>
		<dc:creator>sclive</dc:creator>
		<pubDate>Mon, 18 Jun 2007 17:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-91</guid>
		<description>Yes you can have a user defined data type on a SystemC port. For instance :

struct my_struct { int data; int add; };

sc_in input_port;

In this case though, you would have to provide an overloaded version of the = and == operators for this new type to be able to use my_struct with an sc_signal such as:

sc_signal sig_a;</description>
		<content:encoded><![CDATA[<p>Yes you can have a user defined data type on a SystemC port. For instance :</p>
<p>struct my_struct { int data; int add; };</p>
<p>sc_in input_port;</p>
<p>In this case though, you would have to provide an overloaded version of the = and == operators for this new type to be able to use my_struct with an sc_signal such as:</p>
<p>sc_signal sig_a;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwini</title>
		<link>http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-65</link>
		<dc:creator>Ashwini</dc:creator>
		<pubDate>Mon, 11 Jun 2007 23:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://sclive.wordpress.com/2006/10/20/systemc-tutorial-ports/#comment-65</guid>
		<description>Can a systemC port have a user defined data type? If yes, can you give an example?</description>
		<content:encoded><![CDATA[<p>Can a systemC port have a user defined data type? If yes, can you give an example?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
