File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ To use the package, run
14
14
cargo add pytv
15
15
```
16
16
17
+ ## Features
18
+ ### Python Template
19
+ This is the basic feature of this package.
20
+
21
+ ### Instantiation
22
+ The crate feature ` inst ` is enabled by default.
23
+ YAML contents between ` <INST> ` and ` </INST> ` are used to provide instantiation information.
24
+
17
25
## Related Auto Generator Projects
18
26
- ** FLAMES** : template-based C++ library for Vitis HLS
19
27
[[ website] ( https://flames.autohdw.com )]
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ use super::Convert;
2
2
use std:: error:: Error ;
3
3
use std:: io:: Write ;
4
4
5
+ /// Represents the state of module instantiation.
5
6
enum InstState {
6
7
None ,
7
8
Begin ,
Original file line number Diff line number Diff line change 1
1
//! Python Templated Verilog
2
2
//!
3
3
//! # Generation Process
4
- //! `.pytv` --> `.v.py` --> `.py`
4
+ //! ```txt
5
+ //! .pytv ----> .v.py --+-> .v
6
+ //! |
7
+ //! +-> .inst
8
+ //! ```
5
9
//!
6
10
//! # Examples
7
11
//! To be added.
You can’t perform that action at this time.
0 commit comments