Skip to content

Commit

Permalink
Recommend PyTV VS Code Extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-van-Jerry committed Mar 25, 2024
1 parent 85cee04 commit 6a25094
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"rust-lang.rust-analyzer",
"redhat.vscode-yaml"
"redhat.vscode-yaml",
"teddy-van-jerry.pytv"
]
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ cargo add pytv
This is the basic feature of this package.

```pytv
//! a = 1 + 2; # Python inline
//! a = 1 + 2; # Python inline
assign wire_`a` = wire_b; // Verilog with variable/expression substitute
/*!
b = a ** 2; # Python block
b = a ** 2; # Python block
*/
```
The magic comment string can be configured (`!` as default).

### Instantiation
The crate feature `inst` is enabled by default.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! # Examples
//! ```txt
//! a = 1 + 2; # Python inline
//! //! a = 1 + 2; # Python inline
//! assign wire_`a` = wire_b; // Verilog with variable/expression substitute
//! /*!
//! b = a ** 2; # Python block
Expand Down

0 comments on commit 6a25094

Please sign in to comment.