{"id":1834,"date":"2014-02-05T15:07:02","date_gmt":"2014-02-05T15:07:02","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=1834"},"modified":"2014-02-05T15:11:15","modified_gmt":"2014-02-05T15:11:15","slug":"vhdl-attributes","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=1834","title":{"rendered":"VHDL Attributes"},"content":{"rendered":"<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nsignal_name'pos\r\nsignal_name'val\r\nsignal_name'length\r\nsignal_name'event\r\n\r\nT'POS(X)    = is the integer position of X in the discrete type T.\r\nT'VAL(X)    = is the value of discrete type T at integer position X.\r\nA'LENGTH    = is the integer value of the number of elements in array A.\r\nA'LENGTH(N) = is the number of elements of dimension N of array A.\r\nS'EVENT     = is true if signal S has had an event this simulation cycle.\r\n<\/pre>\n<p><a href=\"http:\/\/www.csee.umbc.edu\/portal\/help\/VHDL\/attribute.html\">VHDL Predefined Attributes <\/a><br \/>\n<a href=\"http:\/\/www.quicknet.se\/hdc\/hdl\/educaton\/attribut\/index.htm\">Attributes in VHDL<\/a><br \/>\n<a href=\"http:\/\/www.ics.uci.edu\/~jmoorkan\/vhdlref\/attrib.html\">VHDL Reference Guide &#8211; Attributes<\/a><br \/>\n<a href=\"http:\/\/vhdl.renerta.com\/source\/vhd00009.htm\">User-defined Attributes<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>signal_name&#8217;pos signal_name&#8217;val signal_name&#8217;length signal_name&#8217;event T&#8217;POS(X) = is the integer position of X in the discrete type T. T&#8217;VAL(X) = is the value of discrete type T at integer position X. A&#8217;LENGTH = is the integer value of the number of elements in array A. A&#8217;LENGTH(N) = is the number of elements of dimension N of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1834","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1834"}],"version-history":[{"count":3,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1834\/revisions"}],"predecessor-version":[{"id":1837,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1834\/revisions\/1837"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}