5 Commits

Author SHA1 Message Date
Byron Lathi
59b77618b0 Add VERILATOR define by default 2025-03-29 19:37:11 -07:00
Byron Lathi
77e0269800 Filter out only verilog sources (and verilator lint files) 2025-03-29 19:28:30 -07:00
Byron Lathi
a443af41a1 Add extra index url 2025-03-20 22:44:10 -07:00
Byron Lathi
c3c828a7d0 Update rtl manifest dependency 2025-03-20 22:38:28 -07:00
Byron Lathi
d46d0bc8b5 Add incdirs 2025-03-20 22:28:42 -07:00
2 changed files with 3 additions and 39 deletions

View File

@@ -1,37 +0,0 @@
name: Publish Package
on: [push]
jobs:
build:
name: Build Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 -m pip install build --user
- run: python -m build
- uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: dist/
deploy:
name: Deploy Package
needs:
- build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 -m pip install twine --user
- uses: actions/download-artifact@v3
name: python-package-distributions
path: dist/ # Does this even do anything?
- run: ls -laR python-package-distributions
- run: TWINE_PASSWORD=${{ secrets.PYPI_PAT }} TWINE_USERNAME=bslathi19 python -m twine upload --repository-url ${{ vars.CI_API_URL }} python-package-distributions/*

View File

@@ -71,6 +71,8 @@ def fpga_sim_main():
print(f"{define}: {cfg_defines[define]}, {os.path.expandvars(cfg_defines[define])}")
defines[define] = os.path.expandvars(cfg_defines[define])
cfg_defines["VERILATOR"] = None
parse_cfg(cfg, base_path)
# 4: Run those tests
@@ -104,8 +106,7 @@ def fpga_sim_main():
hdl_toplevel=test["toplevel"],
build_dir=f"{test['base_path']}/sim_build",
waves=test["waves"],
defines=defines,
build_args=["--timing"]
defines=defines
)
result_xml = f"../sim_build/{test['name']}_results.xml".replace(" ", "_")