1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! Python Templated Verilog
//! 
//! # Generation Process
//! ```txt
//! .pytv ----> .v.py --+-> .v
//!                     |
//!                     +-> .inst
//! ```
//! 
//! # Examples
//! To be added.
//! 
//! # Related Auto Generator Projects
//! - **FLAMES**: template-based C++ library for Vitis HLS
//!   [[website](https://flames.autohdw.com)]
//!   [[GitHub](https://github.com/autohdw/flames)]
//!   [[paper at IEEE](https://ieeexplore.ieee.org/document/10437992)]
//!   [[paper PDF](https://wqzhao.org/assets/zhao2024flexible.pdf)]
//! - **AHDW**: a DSL, the predecessor of this project
//!   [[paper at IEEE](https://ieeexplore.ieee.org/document/10396119)]
//!   [[paper PDF](https://wqzhao.org/assets/zhao2023automatic.pdf)]

mod config;
mod convert;

#[cfg(feature = "inst")]
mod inst;

pub use config::Config;
pub use config::FileOptions;
pub use convert::Convert;