add micobu ci test

This commit is contained in:
Markus Koch 2022-02-25 21:40:13 +01:00
parent 64f6197dbb
commit 9f2f3223e5
3 changed files with 14 additions and 5 deletions

View File

@ -18,10 +18,10 @@ use work.bench_pkg.all;
library trashernet; library trashernet;
use trashernet.trashernet_pkg.all; use trashernet.trashernet_pkg.all;
entity bench_trashernet_phy is entity cocotb_trashernet_phy is
end entity bench_trashernet_phy; end entity cocotb_trashernet_phy;
architecture bench of bench_trashernet_phy is architecture bench of cocotb_trashernet_phy is
signal clk : std_logic; signal clk : std_logic;
signal phy_clk : std_logic; signal phy_clk : std_logic;
signal rst : std_logic; signal rst : std_logic;

View File

@ -6,9 +6,9 @@ BASE = $(PWD)/..
COMPILE_ARGS=--std=08 COMPILE_ARGS=--std=08
VHDL_SOURCES_trashernet += $(BASE)/trashernet/*.vhd VHDL_SOURCES_trashernet += $(BASE)/trashernet/*.vhd
VHDL_SOURCES_bench += $(BASE)/cocotb/*.vhd VHDL_SOURCES += $(BASE)/cocotb/*.vhd
TOPLEVEL = bench.cocotb_trashernet_phy TOPLEVEL = cocotb_trashernet_phy
MODULE = cocotb_trashernet_phy MODULE = cocotb_trashernet_phy
include $(shell cocotb-config --makefiles)/Makefile.sim include $(shell cocotb-config --makefiles)/Makefile.sim

9
micobu.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
cd cocotb
make
RET=$?
mv ./* -t $MCB_ARTEFACTS/
exit $RET