Compare commits

..

No commits in common. 'fed66f85cb31e6c766fcc7f731c1a411f6fdc17f' and 'dd4e5c861a4338fee781788e04fea307170ef703' have entirely different histories.

  1. 1
      .python-version
  2. 7
      pyproject.toml
  3. 3
      tests/test_wave_sim.py

1
.python-version

@ -1 +0,0 @@ @@ -1 +0,0 @@
3.13

7
pyproject.toml

@ -6,7 +6,7 @@ authors = [ @@ -6,7 +6,7 @@ authors = [
]
description = 'High-performance processing and analysis of non-hierarchical VLSI designs'
readme = "README.rst"
requires-python = ">=3.10,<3.14"
requires_python = ">=3.8"
dependencies = [
"numpy>=1.17.0",
"lark>=1.3.0",
@ -30,8 +30,3 @@ homepage = "https://github.com/s-holst/kyupy" @@ -30,8 +30,3 @@ homepage = "https://github.com/s-holst/kyupy"
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=9.0.1",
]

3
tests/test_wave_sim.py

@ -41,10 +41,11 @@ def test_xnor2_delays(): @@ -41,10 +41,11 @@ def test_xnor2_delays():
def test_nand_delays():
op = (sim.NAND4, 4, 0, 1, 2, 3, -1, 0, 0)
#op = (0b0111, 4, 0, 1)
c = np.full((5*16, 1), TMAX, dtype=np.float32) # 5 waveforms of capacity 16
c_locs = np.zeros((5,), dtype='int')
c_caps = np.zeros((5,), dtype='int')
ebuf = np.zeros((5, 1, 2), dtype=np.int32)
ebuf = np.zeros((4, 1, 2), dtype=np.int32)
for i in range(5): c_locs[i], c_caps[i] = i*16, 16 # 1:1 mapping

Loading…
Cancel
Save