Skip to content

Commit ccdae5a

Browse files
committed
Merge branch 'schwarz-fix-mfb_speedmeter_ver' into 'devel'
Fix crashing cocotb verification of MFB_SPEED_METER_MI See merge request ndk/ndk-fpga!270
2 parents af71538 + 6d7a9ba commit ccdae5a

File tree

5 files changed

+46
-0
lines changed

5 files changed

+46
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright (C) 2025 CESNET z. s. p. o.
3+
# Author(s): Ondrej Schwarz <[email protected]>
4+
5+
TOP_LEVEL_ENT=MFB_SPEED_METER_MI
6+
TARGET=cocotb
7+
8+
.PHONY: all
9+
all: comp
10+
11+
include ../../../../../build/Makefile
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright (C) 2025 CESNET z. s. p. o.
3+
# Author(s): Ondrej Schwarz <[email protected]>
4+
5+
view wave
6+
delete wave *
7+
8+
add_wave -group {ALL} -noupdate -hex /MFB_SPEED_METER_MI/*
9+
10+
config wave -signalnamewidth 1
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
# Copyright (C) 2025 CESNET z. s. p. o.
4+
# Author(s): Ondřej Schwarz <[email protected]>
5+
6+
NDK_FPGA_PATH=../../../../..
7+
source $NDK_FPGA_PATH/env.sh
8+
9+
ndk_fpga_venv_prepare "venv-mfb_speed_meter_mi"
10+
11+
pip install .
12+
13+
echo ""
14+
echo "Now activate environment with:"
15+
echo "source venv-mfb_speed_meter_mi/bin/activate"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[project]
2+
name = "cocotb-mfb_speed_meter_mi"
3+
version = "0.1.0"
4+
dependencies = [
5+
"cocotb",
6+
]
7+
8+
[build-system]
9+
requires = ["pdm-backend"]
10+
build-backend = "pdm.backend"

0 commit comments

Comments
 (0)