Flote is a HDL and Python framework for simulation. Designed to be friendly, simple, and productive. Easy to use and learn.
Project description
Flote
🛸 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.
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
File details
Details for the file flote-0.1.1.tar.gz.
File metadata
- Download URL: flote-0.1.1.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d970fd92e72e4a44d2a3ffc076d84a1e413e457dc166b8760a925f51cd81523
|
|
| MD5 |
3c5b449c973c8564e1790985aecab629
|
|
| BLAKE2b-256 |
7f358215c5ba59539cdfcde6bc804adfb681cf7eb5adffe21801dc8f63592b8d
|