{"id":54,"date":"2018-04-10T16:11:51","date_gmt":"2018-04-10T16:11:51","guid":{"rendered":"http:\/\/ferrywahyuwibowo.my.id\/?p=54"},"modified":"2018-04-11T03:36:35","modified_gmt":"2018-04-11T03:36:35","slug":"ripple-carry-adder","status":"publish","type":"post","link":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/54\/ripple-carry-adder\/","title":{"rendered":"Ripple Carry Adder"},"content":{"rendered":"<p>Diagram <em>ripple carry<\/em> ditunjukkan pada gambar 1.<\/p>\n<p><a href=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-260\" title=\"logik8\" src=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=468&amp;h=233\" sizes=\"(max-width: 468px) 100vw, 468px\" srcset=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=468&amp;h=233 468w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=150&amp;h=75 150w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=300&amp;h=150 300w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=768&amp;h=384 768w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg 901w\" alt=\"\" width=\"468\" height=\"233\" data-attachment-id=\"260\" data-permalink=\"https:\/\/ferrywahyu.wordpress.com\/2012\/01\/28\/permasalahan-ripple-carry-adder-dalam-fpga-menggunakan-vhdl\/logik8\/\" data-orig-file=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=468&amp;h=233\" data-orig-size=\"901,450\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"logik8\" data-image-description=\"\" data-medium-file=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=468&amp;h=233?w=300\" data-large-file=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik8.jpg?w=468&amp;h=233?w=468\" \/><\/a><\/p>\n<p style=\"text-align: center;\">Gambar 1. Ripple Carry<\/p>\n<p>secara khusus dapat digambarkan menurut gambar 2.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-261\" title=\"logik9\" src=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=468&amp;h=265\" sizes=\"(max-width: 468px) 100vw, 468px\" srcset=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=466&amp;h=265 466w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=150&amp;h=85 150w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=300&amp;h=170 300w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=768&amp;h=436 768w, https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg 808w\" alt=\"\" width=\"468\" height=\"265\" data-attachment-id=\"261\" data-permalink=\"https:\/\/ferrywahyu.wordpress.com\/2012\/01\/28\/permasalahan-ripple-carry-adder-dalam-fpga-menggunakan-vhdl\/logik9\/\" data-orig-file=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=468&amp;h=265\" data-orig-size=\"808,459\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"logik9\" data-image-description=\"\" data-medium-file=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=468&amp;h=265?w=300\" data-large-file=\"https:\/\/ferrywahyu.files.wordpress.com\/2012\/01\/logik9.jpg?w=468&amp;h=265?w=468\" \/><\/a>Gambar 2. Blok Ripple Carry<\/p>\n<p>Sehingga dengan mengasumsikan <em>full adder<\/em> yang dibentuk secara struktural dari beberapa <em>half adder<\/em> maka VHDL dari <em>ripple carry<\/em> ini sebagaimana berikut,<\/p>\n<p>library ieee;<\/p>\n<p>use ieee.std_logic_1164.all;<\/p>\n<p>use <span class=\"skimlinks-unlinked\">work.pack.all<\/span>;<\/p>\n<p>ENTITY addbit IS<\/p>\n<p>PORT (a : \u00a0 IN \u00a0 std_logic_vector(2 downto 0);<\/p>\n<p>b : IN \u00a0 std_logic_vector(2 downto 0);<\/p>\n<p>cin : IN \u00a0 std_logic;<\/p>\n<p>s : \u00a0 OUT std_logic_vector(2 downto 0);<\/p>\n<p>cout : \u00a0 OUT \u00a0 std_logic);<\/p>\n<p>END;<\/p>\n<p>ARCHITECTURE struktural OF addbit IS<\/p>\n<p>SIGNAL cin1, cin2: std_logic;<\/p>\n<p>BEGIN<\/p>\n<p>fa0: fa PORT MAP(a(0),b(0), cin, s(0), cin1 );<\/p>\n<p>fa1: fa PORT MAP(a(1),b(1), cin1, s(1), cin2 );<\/p>\n<p>fa2: fa PORT MAP(a(2),b(2), cin2, s(2), cout );<\/p>\n<p>END;<\/p>\n<p>atau bisa juga menggunakan deskripsi architecture yang lebih singkat lagi, dengan cara menuliskan kode VHDL-nya sebagai berikut,<\/p>\n<p>ARCHITECTURE struktural OF addbit IS<\/p>\n<p>SIGNAL cy : std_logic_vector (3 downto 0);<\/p>\n<p>BEGIN<\/p>\n<p>Penjumlah:<\/p>\n<p>FOR i IN 0 TO 2 GENERATE<\/p>\n<p>myfa:fa PORT MAP(a(i),b(i),cy(i),s(i),cy(i+1));<\/p>\n<p>END GENERATE;<\/p>\n<p>cout &lt;= cy(3);<\/p>\n<p>cy(0) &lt;= cin;<\/p>\n<p>END;<\/p>\n<p>Rangkaian <em>carry ripple<\/em> sangat lambat pewaktuannya karena banyaknya penyambungan per langkah blok rangkaian penjumlah separuhnya, sehingga untuk mengatasi hal ini bisa menggunakan metode <em>pipelining<\/em>, <em>retiming<\/em> atau dengan cara <em>bus<\/em>. Namun, cara yang paling sering digunakan adalah <em>pipelining<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Diagram ripple carry ditunjukkan pada gambar 1. Gambar 1. Ripple Carry secara khusus dapat digambarkan menurut gambar 2. Gambar 2. Blok Ripple Carry Sehingga dengan mengasumsikan full adder yang dibentuk secara struktural dari beberapa half adder maka VHDL dari ripple carry ini sebagaimana berikut, library ieee; use ieee.std_logic_1164.all; use work.pack.all; ENTITY addbit IS PORT (a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":55,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[9,7,10,8],"_links":{"self":[{"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":1,"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":56,"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions\/56"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/media\/55"}],"wp:attachment":[{"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ferrywahyuwibowo.my.id\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}