Skip to content

[bfm]: Bugfix #1, msg length wrong computed for len > 2 #34

[bfm]: Bugfix #1, msg length wrong computed for len > 2

[bfm]: Bugfix #1, msg length wrong computed for len > 2 #34

Workflow file for this run

# ************************************************************************
# @author: Andreas Kaeberlein
# @copyright: Copyright 2021
# @credits: AKAE
#
# @license: BSDv3
# @maintainer: Andreas Kaeberlein
# @email: andreas.kaeberlein@web.de
#
# @file: unittest.yml
# @date: 2021-08-25
#
# @brief: runs test and deploy
#
# ************************************************************************
name: Unittest
on:
push:
paths-ignore:
- 'doc/**'
- 'README.md'
jobs:
test:
runs-on: ubuntu-latest
env:
GHDL_OPTS: "--std=93c --ieee=synopsys --time-resolution=ps --workdir=./sim/work"
steps:
- uses: actions/checkout@v1
- uses: ghdl/setup-ghdl-ci@nightly
with:
backend: mcode
- name: Prepare
run: |
ghdl --version
mkdir -p ./sim/work
- name: eSpiStaticSlave
run: |
ghdl -a ${GHDL_OPTS} ./bfm/eSpiStaticSlave.vhd
ghdl -a ${GHDL_OPTS} ./tb/eSpiStaticSlave_tb.vhd
if [[ -z $(ghdl -r ${GHDL_OPTS} eSpiStaticSlave_tb -gDO_ALL_TEST=True | grep "Test SUCCESSFUL") ]]; then echo "[ FAIL ] eSpiStaticSlave"; exit 1; fi;
- name: eSpiMasterBfm
run: |
ghdl -a ${GHDL_OPTS} ./bfm/eSpiStaticSlave.vhd
ghdl -a ${GHDL_OPTS} ./bfm/eSpiMasterBfm.vhd
ghdl -a ${GHDL_OPTS} ./tb/eSpiMasterBfm_tb.vhd
if [[ -z $(ghdl -r ${GHDL_OPTS} eSpiMasterBfm_tb -gDO_ALL_TEST=True | grep "Test SUCCESSFUL") ]]; then echo "[ FAIL ] eSpiMasterBfm"; exit 1; fi;