<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1105995</article-id><article-id pub-id-type="publisher-id">OALibJ-97731</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Static IR Drop Estimation on the Power Network
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>S.</surname><given-names>S. Abazyan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>N.</surname><given-names>E. Mamikonyan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Yerevan State University, Yerevan, Armenia</addr-line></aff><pub-date pub-type="epub"><day>02</day><month>01</month><year>2020</year></pub-date><volume>07</volume><issue>01</issue><fpage>1</fpage><lpage>7</lpage><history><date date-type="received"><day>12,</day>	<month>December</month>	<year>2019</year></date><date date-type="rev-recd"><day>5,</day>	<month>January</month>	<year>2020</year>	</date><date date-type="accepted"><day>8,</day>	<month>January</month>	<year>2020</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This paper presents a power consumption estimation algorithm for static analysis. IR drop is being calculated for each separated node, which makes this algorithm favorable for IR drop calculation on infinite power network. The power consumption is being calculated using random walk algorithm, which includes Monte Carlo simulation method for increasing accuracy of estimation. For power mesh with 150 k power nodes, total IR drop calculation takes 152.17 seconds.
 
</p></abstract><kwd-group><kwd>IR Drop</kwd><kwd> Random Walk</kwd><kwd> Power Domain</kwd><kwd> Monte Carlo</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Current daily developing technology tended to complicate power network more and more complicated. In addition to its complexity, the power supply reliability is becoming an indispensable part of low power designs.</p><p>IR drop on the supply network becomes worse due to reduction of the interconnect widths, which initiate wire resistance increase. The IR drop directly makes noise on the power network. This is becoming a crucial part of the circuit design process since cross dependency of different nodes of power network block depends upon the voltage within the power distribution network [<xref ref-type="bibr" rid="scirp.97731-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.97731-ref2">2</xref>].</p><p>To achieve this requirement, several methodologies have been used.</p><p>The most popular methodology is DC analysis over the power network. The transient analysis differs from DC analysis by taking into acount of reactive elements impedance existence. This paper represented only IR drop estimation for static power consumption.</p><p>Full power grid example can be described by <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>The wire length has been represented as combination of resistor, capacitance and induction. The reverse biased current and current drown by logic gates have been described by current sources.</p><p>To model DC analysis problem, we need to solve the following formula.</p><p>G X = V (1)</p><p>where G is the matrix with resistors, X is a vector of nodes voltage, and V is in depended sources. To solve this problem, we have created an algorithm implementation based on random walk combined with Monte Carlo for small units and accumulated total IR drop [<xref ref-type="bibr" rid="scirp.97731-ref3">3</xref>].</p></sec><sec id="s2"><title>2. Random Walk</title><p>The power grid is optimized to minimize the IR drop at the central part of the power grid in [<xref ref-type="bibr" rid="scirp.97731-ref4">4</xref>]. In [<xref ref-type="bibr" rid="scirp.97731-ref5">5</xref>], the whole power grid is divided into a small part where each part is analyzed separately. Random walk techniques are used to analyze a power grid in [<xref ref-type="bibr" rid="scirp.97731-ref6">6</xref>] to iteratively solve the IR drop problem without computing influence of full power network in the certain node. In [<xref ref-type="bibr" rid="scirp.97731-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.97731-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.97731-ref9">9</xref>], the power supply network is analyzed without computing large matrix operations.</p><p>This algorithm is based on statistic problem solving. Basic explanation of the random walk can be as replacement of resistance of the network part with its probability of usage of that exact net.</p><p>Random walk is an algorithm which can be used for high speed extraction in power supply network. Basic</p><p>Random walk is a great method for calculation of power consumption on infinite node number network.</p><p>Here V<sub>x</sub> is the voltage of the cross section. I<sub>x</sub> is the current that is passing through the node and r<sub>i</sub> (i = 1, 2, 3, 4) is resistance of neighbor resistors.</p><p>Thus, applying Kirchhoff’s current and voltage laws we can have following equation:</p><p>I x = ∑ ​ V i − V x R i (2)</p><p>From this equation, to get V<sub>x</sub>, we are having below equation:</p><p>V x = ∑ ​ 1 R i ∑ ​ 1 R i V i − I x ∑ ​ 1 R i</p><p>Let’s make following assignment:</p><p>p x , i = ∑ ​ 1 R i ∑ ​ 1 R i and m x = I x ∑ ​ 1 R i (3)</p><p>3-th assignment brings the network supply problem to simple statistical problem. Which can be solved by random walk methodology.</p><p>Let’s assume we have a gold digger which is starting walking from any position. He is spending money every time he is passing through the cross-nodes and getting some amount of money after he gets to a fixed gold location. The probability of passing through the exact road from a node to another node is p<sub>x</sub><sub>,k</sub>, where x is current node id, and k is the number of roads to other nodes.</p><p>As from the theory of probability, the sum of probabilities of roads is equal to 1, hence we are getting below equation:</p><p>P x , 1 + P x , 2 + ⋯ + P x , k = 1 (4)</p><p>For walk gain, the function can be represented as below:</p><p>F ( x ) = M [earned − spent]</p><p>If the walker goes to the gold position, he will get paid by gold, let’s assign the gold price as A<sub>0</sub>.<sub> </sub></p><p>In other words, gain function for whole non-gold position can be written as below:</p><p>F ( x ) = P x , 1 F ( 1 ) + P x , 2 F ( 2 ) − A x (5)</p><p>If we assume that A<sub>0</sub> is the supply power value (VDD), and F(x) is the voltage on x node, problem of random walker and supply network voltage problem are becoming similar.</p><p>For power supply network, we are losing voltage because of drop any time we are passing through a cross-net and gaining power after getting to VDD pad.</p><p>Simple circuit example is given in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>For basic formulation with the upper described random walker and money spend/gain method, the circuit will obtain the view of <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p></sec><sec id="s3"><title>3. Random Walk Implementation</title><p>The described algorithm has been implemented with two steps. First step is implementing one random walk for selected node, second step is applying Monte Carlo simulation methodology on result to increase estimation accuracy.</p><p>Visualization of algorithm for random walk for selected node is described in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>The block diagram <xref ref-type="fig" rid="fig4">Figure 4</xref> can be easily described by following steps.</p><p>1) Reading already existing resistance, capacitance, drawing current and power supply data.</p><p>2) Starts 2 parallel processes</p><p>• Probability extraction based on resistance value.</p><p>• Voltage drop calculation for each node.</p><p>3) Starting to walk from random node (except supply nodes) to random selected node based on probability.</p><p>4) Accumulating consumed current.</p><p>5) Repeating 3-th step until reaching to supply node.</p><p>6) From supply voltage subtracting calculated drop.</p><p>The above-mentioned methodology has been used in the wrapper level for calculating whole network IR drop as in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>The block diagram <xref ref-type="fig" rid="fig5">Figure 5</xref> can be easily described by following steps.</p><p>1) From schematic connectivity description net list parsing resistance, capacitance, drawing current and power supply data.</p><p>2) Iterating N times where N is Monte Carlo simulation count.</p><p>3) While iterating calculation and combining is being done for current node IR drop.</p><p>4) Combined data is being divided by N.</p><p>Above mentioned diagram returns IR drop only for one node. To get full IR drop we need to loop through all nodes.</p></sec><sec id="s4"><title>4. Conclusions</title><p>In this paper random walk theory-based IR drop calculation engine is implemented. Engine is taking power/ground mesh parasitic characterization netlist as an input and returns voltage drop value for one node.</p><p>This kind of calculation of IR drop is becoming very beneficial for infinite power mesh.</p><p>Described algorithm in this paper is 3.2% faster and 1.3% less accurate for big power meshes compared with algorithm described in [<xref ref-type="bibr" rid="scirp.97731-ref10">10</xref>]. For small meshes, accuracy is the same compared with [<xref ref-type="bibr" rid="scirp.97731-ref10">10</xref>], speed of algorithm [<xref ref-type="bibr" rid="scirp.97731-ref10">10</xref>] is 1.3% faster. Comparison is done for 2.5 K (small mesh) and 1 M (big mesh) circuit size (node count).</p><p>For comparison with [<xref ref-type="bibr" rid="scirp.97731-ref6">6</xref>], algorithm described in this paper is slower 47.2% and accurate than [<xref ref-type="bibr" rid="scirp.97731-ref6">6</xref>] 9.5%. These values are similar for big and small meshes, correspondingly 2.3 M and 2.5 K circuit size.</p></sec><sec id="s5"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s6"><title>Cite this paper</title><p>Abazyan, S.S. and Mamikonyan, N.E. (2020) Static IR Drop Estimation on the Power Network. Open Access Library Journal, 7: e5995. https://doi.org/10.4236/oalib.1105995</p></sec></body><back><ref-list><title>References</title><ref id="scirp.97731-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Pant, S., Blaauw, D. and Chiprout, E. (2007) Power Grid Physics and Implications for Cad. IEEE Design and Test of Computers, 24, 246-254.https://doi.org/10.1109/MDT.2007.78</mixed-citation></ref><ref id="scirp.97731-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Kozhaya, J.N., Nassif, S.R. and Najm, F.N. (2002) A Multigrid-Like Technique for Power Grid Analysis. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 21, 1148-1160. https://doi.org/10.1109/TCAD.2002.802271</mixed-citation></ref><ref id="scirp.97731-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Qian, H.F., Sapatnekar, S.S. and Nassif, S.R. (2005) Power Grid Analysis using Random Walks. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 24, 1204-1224.</mixed-citation></ref><ref id="scirp.97731-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Khalil, D.E. and Ismail, Y. (2006) Optimum Sizing of Power Grids for IR Drop. Proceedings of the IEEE International Sym-posium on Circuits and Systems, Island of Kos, Greece, 21-24 May 2006, 481-484.</mixed-citation></ref><ref id="scirp.97731-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Li, H., et al. (2006) Partitioning-Based Approach to Fast on-Chip Decoupling Capacitor Budgeting and Minimization. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 25, 2402-2412. https://doi.org/10.1109/TCAD.2006.870862</mixed-citation></ref><ref id="scirp.97731-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Qian, H., Nassif, S.R. and Sapatnekar, S.S. (2003) Random Walks in a Supply Network. Proceedings of the IEEE/ACM Design Automation Conference, Ana-heim, CA, 2-6 June 2003, 97-98. https://doi.org/10.1145/775832.775860</mixed-citation></ref><ref id="scirp.97731-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, M., Panda, R.V., Sapatnekar, S.S. and Blaauw, D. (2002) Hierarchical Analysis of Power Distribution Networks. IEEE Transactions on Computer-Aided Design of Integrated Cir-cuits and Systems, 21, 159-168. https://doi.org/10.1109/43.980256</mixed-citation></ref><ref id="scirp.97731-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Kahng, A.B., Liu, B. and Wang, Q. (2007) Stochastic Pow-er/Ground Supply Voltage Prediction and Optimization via Analytical Placement. IEEE Transactions on Very Large Scale Integration (VLSI) Circuits, 15, 904-912.https://doi.org/10.1109/TVLSI.2007.900745</mixed-citation></ref><ref id="scirp.97731-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Li, P. (2005) Variational Analysis of Large Power Grids by Exploring Statistical Sampling Sharing and Spatial Locality. Proceedings of the IEEE/ACM International Conference on Computer-Aided Design, San Jose, CA, 6-10 November 2005, 645-651.</mixed-citation></ref><ref id="scirp.97731-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Kose, S. and Friedman, E.G. (2012) Efficient Algo-rithms for Fast IR Drop Analysis Exploiting Locality. Integration, 45, 158-162. https://doi.org/10.1016/j.vlsi.2011.09.003</mixed-citation></ref></ref-list></back></article>