IDEAS home Printed from https://ideas.repec.org/a/wly/quante/v16y2025i1p49-87.html
   My bibliography  Save this article

Programming FPGAs for economics: An introduction to electrical engineering economics

Author

Listed:
  • Bhagath Cheela
  • André DeHon
  • Jesús Fernández‐Villaverde
  • Alessandro Peri

Abstract

We show how to use field‐programmable gate arrays (FPGAs) and their associated high‐level synthesis (HLS) compilers to solve heterogeneous agent models with incomplete markets and aggregate uncertainty (Krusell and Smith (1998)). We document that the acceleration delivered by one single FPGA is comparable to that provided by using 69 CPU cores in a conventional cluster. The time to solve 1200 versions of the model drops from 8 hours to 7 minutes, illustrating a great potential for structural estimation. We describe how to achieve multiple acceleration opportunities—pipeline, data‐level parallelism, and data precision—with minimal modification of the C/C++ code written for a traditional sequential processor, which we then deploy on FPGAs easily available at Amazon Web Services. We quantify the speedup and cost of these accelerations. Our paper is the first step toward a new field, electrical engineering economics, focused on designing computational accelerators for economics to tackle challenging quantitative models. Replication code is available on Github.

Suggested Citation

  • Bhagath Cheela & André DeHon & Jesús Fernández‐Villaverde & Alessandro Peri, 2025. "Programming FPGAs for economics: An introduction to electrical engineering economics," Quantitative Economics, Econometric Society, vol. 16(1), pages 49-87, January.
  • Handle: RePEc:wly:quante:v:16:y:2025:i:1:p:49-87
    DOI: 10.3982/QE2344
    as

    Download full text from publisher

    File URL: https://doi.org/10.3982/QE2344
    Download Restriction: no

    File URL: https://libkey.io/10.3982/QE2344?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wly:quante:v:16:y:2025:i:1:p:49-87. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Wiley Content Delivery (email available below). General contact details of provider: https://edirc.repec.org/data/essssea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.