Skip to content

Commit c7c1949

Browse files
update versioning and fix test
1 parent 68709ee commit c7c1949

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hdlgen"
3-
version = "0.0.1.dev1"
3+
dynamic = ["version"]
44
description = "An intuitive Python based HDL code generator for Verilog/SystemVerilog and VHDL."
55
readme = "README.md"
66
authors = [
@@ -10,9 +10,12 @@ requires-python = ">=3.12"
1010
dependencies = []
1111

1212
[build-system]
13-
requires = ["hatchling"]
13+
requires = ["hatchling", "hatch-vcs"]
1414
build-backend = "hatchling.build"
1515

16+
[tool.hatch.version]
17+
source = "vcs"
18+
1619
[tool.hatch.build.targets.wheel]
1720
packages = ["src/hdlgen"]
1821

tests/expected/golden_1.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module test_module #(
99

1010
assign output1 = input1;
1111
localparam const1 = 32'd42;
12-
reg [7:0] signal1;
12+
wire [7:0] signal1;
1313
test #(
1414
.p(param1)
1515
) init (

uv.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)