Skip to content

Releases: autohdw/pytv

PyTV 0.5.5

23 Apr 05:14
0830beb
Compare
Choose a tag to compare

New Features

Other Changes

  • Bump serde in Rust from 1.0.197 to 1.0.198 by @dependabot in #3

Full Changelog: v0.5.4...v0.5.5

PyTV 0.5.4

11 Apr 09:05
20ed7b7
Compare
Choose a tag to compare

Bug Fixes

  • Fix Indentation in INST (in src/inst.rs)

Full Changelog: v0.5.3...v0.5.4

PyTV 0.5.3

07 Apr 09:26
c6295b8
Compare
Choose a tag to compare

Bug Fixes

  • Fix INST Parameter Format

Full Changelog: v0.5.2...v0.5.3

PyTV 0.5.2

06 Apr 12:53
88d419e
Compare
Choose a tag to compare

Bug Fixes

  • Fix INST Indentation Bug
  • Fix the Optional preamble_py Bug

Full Changelog: v0.5.1...v0.5.2

PyTV 0.5.1

04 Apr 09:33
25af867
Compare
Choose a tag to compare

New Features

  • Support Python Preamble (so that you can pass complex variables)

Example:

pytv examples/D1.pytv -pexamples/D1_preamble.py -r -vif_rst=False

and note that the preamble will be loaded after variables, i.e. -p after -v.

Full Changelog: v0.5.0...v0.5.1

PyTV 0.5.0

29 Mar 16:54
804a34c
Compare
Choose a tag to compare

New Features

  • Support Passing Python Variable for Module (with option -v following by KEY=VAL)

Example:

cargo run -- examples/D1.pytv -r -vif_rst=True -vif_en=True

Full Changelog: v0.4.0...v0.5.0

PyTV 0.4.0

29 Mar 00:17
3d21eb4
Compare
Choose a tag to compare

Bug Fixes

  • Fix Python Indentation for Verilog Generation

Example:

module `OUTPUT_VERILOG_FILE_STEM`#(
    parameter dwt = 16
)(
    op_in, clk
//! if (if_rst):
    , rst_n
//! if (if_en):
    , en
//! #
    , op_out
);

This is part of the example D1.pytv, where //! # is required to get the correct indentation so that the Python syntax is correct in generation.

Notably, after a Python line ended with : (discarding comments, which is implemented as a regex :\s*(#|$) that is not very strict), the Verilog print indentation will automatically add one level.

Full Changelog: v0.3.3...v0.4.0

PyTV 0.3.3

25 Mar 15:40
c10a5f8
Compare
Choose a tag to compare

New Features

Full Changelog: v0.3.2...v0.3.3

PyTV 0.3.2

25 Mar 11:24
85cee04
Compare
Choose a tag to compare

New Features

Full Changelog: v0.3.1...v0.3.2

PyTV 0.3.1

23 Mar 16:50
7781d46
Compare
Choose a tag to compare

New Features

Full Changelog: v0.3.0...v0.3.1