Skip to main content

Flote is a HDL and Python framework for simulation. Designed to be friendly, simple, and productive. Easy to use and learn.

Project description

Flote


Flote logo

GitHub Repo stars GitHub Release license

🛸 Introduction

Flote is a hardware description language and Python framework for hardware simulation. It is designed to be friendly, simple, light and productive. More easy to use and learn than Verilog and VHDL. Using Flote, you can create integrated circuits component by using it's HDL and/or Python framework that work by the HLS (High Level Synthesis) concept.

Flote logo

Here is an example of a half adder in Flote:

comp halfAdder {
  in bit a;
  in bit b;

  out bit sum = a xor b;
  out bit carry = a and b;

}

⚙️ How it works

Flote's Evaluator uses a structure of a compiler's front-end to elaborate the component. It has a scanner, parser and a builder. This last one is responsible for build the component, an object that can be manipulated in Python and simulates the behavior of the integrated circuit. The model object it's a set of signals buses and uses event driven algorithm and dynamic programming to simulate the behavior of the circuit.

Using the HLS side, you can create the component "by hand". Also with the use of the Python package you can manipulate the signals and sava then in a waveform file.

🚀 Release

Flote is in beta development. You can see the latest releases in the GitHub repository.

📝 To Do List

  • Make the simulator class
  • Make EBNF for the language
  • Make Scanner
  • Make Parser
  • Make Builder
  • Make accept expressions
  • Improve the algorithm of simulation
  • Improve structure
  • Improve declaration and assignment
  • Improve Semantic Analysis
  • Create waveform class
  • Add line number in semantic errors
  • Improve testbench methods
  • Add multi-bit signals support
  • Add multi-bit signals addressing support
  • Add sub-components support
  • Add Python calls support
  • Improve HLS support
  • Add manual time control
  • Add others file types support for waveforms

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flote-0.1.0.tar.gz (48.5 kB view details)

Uploaded Source

File details

Details for the file flote-0.1.0.tar.gz.

File metadata

  • Download URL: flote-0.1.0.tar.gz
  • Upload date:
  • Size: 48.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for flote-0.1.0.tar.gz
Algorithm Hash digest
SHA256 76f88c02a7eb75129b132bda0857e477790a88ec6668ed00bc72843824dfc18a
MD5 154de478693de494d8da5c97ab2311b5
BLAKE2b-256 748168649d718351c94e3e7e79f15e8163d005eec3405811e1480b877e50ba1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page