Skip to content

Commit

Permalink
update to lambdalib 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gadfort committed Mar 4, 2024
1 parent cb35b9f commit de04a0b
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Wheels

on:
push:
workflow_dispatch:
release:
types:
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ requires-python = ">= 3.8"
license = {file = "LICENSE"}
dependencies = [
"siliconcompiler",
"lambdalib==0.1.5"
"lambdalib==0.2.0"
]
dynamic = [
"version"
Expand All @@ -35,3 +35,8 @@ include-package-data = true
packages = [
"umi"
]

[tool.check-wheel-contents]
ignore = [
"W002"
]
6 changes: 3 additions & 3 deletions umi/lumi/testbench/test_lumi.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def build_testbench(topo="2d", trace=False):
dut.use(lambdalib)
dut.use(umi)
dut.add('option', 'library', ['lumi', 'umi'])
dut.add('option', 'library', 'la_stdlib')
dut.add('option', 'library', 'la_ramlib')
dut.add('option', 'library', 'la_vectorlib')
dut.add('option', 'library', 'lambdalib_stdlib')
dut.add('option', 'library', 'lambdalib_ramlib')
dut.add('option', 'library', 'lambdalib_vectorlib')

# Verilator configuration
dut.set('tool', 'verilator', 'task', 'compile', 'file', 'config', 'lumi/testbench/config.vlt', package='umi')
Expand Down
6 changes: 3 additions & 3 deletions umi/lumi/testbench/test_lumi_rnd.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def build_testbench(topo="2d", trace=False):
dut.use(lambdalib)
dut.use(umi)
dut.add('option', 'library', ['lumi', 'umi'])
dut.add('option', 'library', 'la_stdlib')
dut.add('option', 'library', 'la_ramlib')
dut.add('option', 'library', 'la_vectorlib')
dut.add('option', 'library', 'lambdalib_stdlib')
dut.add('option', 'library', 'lambdalib_ramlib')
dut.add('option', 'library', 'lambdalib_vectorlib')

# Verilator configuration
dut.set('tool', 'verilator', 'task', 'compile', 'file', 'config', 'lumi/testbench/config.vlt', package='umi')
Expand Down
6 changes: 3 additions & 3 deletions umi/umi/testbench/test_crossbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def build_testbench():
dut.use(lambdalib)
dut.use(umi)
dut.add('option', 'library', 'umi')
dut.add('option', 'library', 'la_stdlib')
dut.add('option', 'library', 'la_ramlib')
dut.add('option', 'library', 'la_vectorlib')
dut.add('option', 'library', 'lambdalib_stdlib')
dut.add('option', 'library', 'lambdalib_ramlib')
dut.add('option', 'library', 'lambdalib_vectorlib')

# Verilator configuration
dut.set('tool', 'verilator', 'task', 'compile', 'file', 'config', 'umi/testbench/config.vlt', package='umi')
Expand Down
4 changes: 2 additions & 2 deletions umi/umi/testbench/test_fifo.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def build_testbench():
dut.use(lambdalib)
dut.use(umi)
dut.add('option', 'library', 'umi')
dut.add('option', 'library', 'la_stdlib')
dut.add('option', 'library', 'la_ramlib')
dut.add('option', 'library', 'lambdalib_stdlib')
dut.add('option', 'library', 'lambdalib_ramlib')

# Verilator configuration
dut.set('tool', 'verilator', 'task', 'compile', 'file', 'config', 'umi/testbench/config.vlt', package='umi')
Expand Down
4 changes: 2 additions & 2 deletions umi/umi/testbench/test_fifo_flex.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def build_testbench(split=False):
dut.use(lambdalib)
dut.use(umi)
dut.add('option', 'library', 'umi')
dut.add('option', 'library', 'la_stdlib')
dut.add('option', 'library', 'la_ramlib')
dut.add('option', 'library', 'lambdalib_stdlib')
dut.add('option', 'library', 'lambdalib_ramlib')

dut.add('option', 'define', f'SPLIT={int(split)}')

Expand Down
4 changes: 2 additions & 2 deletions umi/umi/testbench/test_mem_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def build_testbench():
dut.use(lambdalib)
dut.use(umi)
dut.add('option', 'library', 'umi')
dut.add('option', 'library', 'la_stdlib')
dut.add('option', 'library', 'la_ramlib')
dut.add('option', 'library', 'lambdalib_stdlib')
dut.add('option', 'library', 'lambdalib_ramlib')

# Verilator configuration
dut.set('tool', 'verilator', 'task', 'compile', 'file', 'config', 'umi/testbench/config.vlt', package='umi')
Expand Down
4 changes: 2 additions & 2 deletions umi/umi/testbench/test_regif.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def build_testbench():
dut.use(lambdalib)
dut.use(umi)
dut.add('option', 'library', 'umi')
dut.add('option', 'library', 'la_stdlib')
dut.add('option', 'library', 'la_ramlib')
dut.add('option', 'library', 'lambdalib_stdlib')
dut.add('option', 'library', 'lambdalib_ramlib')

# Verilator configuration
dut.set('tool', 'verilator', 'task', 'compile', 'file', 'config', 'umi/testbench/config.vlt', package='umi')
Expand Down
2 changes: 1 addition & 1 deletion umi/utils/testbench/test_umi2tl_np.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def build_testbench(topo="2d"):

dut.use(umi)
dut.use(lambdalib)
dut.add('option', 'library', ['umi', 'la_stdlib'])
dut.add('option', 'library', ['umi', 'lambdalib_stdlib'])

# Verilator configuration
dut.add('tool', 'verilator', 'task', 'compile', 'option', '--coverage')
Expand Down

0 comments on commit de04a0b

Please sign in to comment.