Skip to content

Commit

Permalink
R2019b fix (#9)
Browse files Browse the repository at this point in the history
Update to R2019b

Signed-off-by: SrikanthPagadarai <srikanth.pagadarai@analog.com>
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
  • Loading branch information
SrikanthPagadarai authored and tfcollins committed Oct 24, 2019
1 parent 8218f95 commit 574c261
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion +adi/Contents.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% Analog Devices, Inc. Transceiver Toolbox
% Version 19.1.1 (R2019a)
% Version 19.2.1 (R2019b)
%
% ==== Table of Contents (TOC) ====
%
Expand Down
4 changes: 2 additions & 2 deletions +adi/Version.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
properties(Constant)
HDL = 'hdl_2018_r2';
Vivado = '2018.2';
MATLAB = 'R2019a';
Release = '19.1.1';
MATLAB = 'R2019b';
Release = '19.2.1';
end
properties(Dependent)
VivadoShort
Expand Down
24 changes: 12 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ build:2018_R2:
- matlab
stage: build
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- ./CI/scripts/dockermake build
- ./CI/scripts/dockermake doc
- ./CI/scripts/dockermake add_libad9361
Expand All @@ -57,7 +57,7 @@ build:master:
stage: build
script:
- export HDLBRANCH=hdl_2018_r2
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- ./CI/scripts/dockermake build
- export HDLBRANCH=
- export MLRELEASE=
Expand All @@ -70,55 +70,55 @@ build:master:
test:2018_R2_ZED:
extends: .hdl_tests
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- export BOARD=zed
- ./CI/scripts/dockermake test

# Test HWA no install zc702
test:2018_R2_ZC702:
extends: .hdl_tests
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- export BOARD=zc702
- ./CI/scripts/dockermake test

# Test HWA no install zc706
test:2018_R2_ZC706:
extends: .hdl_tests
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- export BOARD=zc706
- ./CI/scripts/dockermake test

# Test HWA no install zcu102
test:2018_R2_ZCU102:
extends: .hdl_tests
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- export BOARD=zcu102
- ./CI/scripts/dockermake test

# Test HWA no install adrv9361
test:2018_R2_ADRV9361:
extends: .hdl_tests
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- export BOARD=adrv9361
- ./CI/scripts/dockermake test

# Test HWA no install adrv9364
test:2018_R2_ADRV9364:
extends: .hdl_tests
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- export BOARD=adrv9364
- ./CI/scripts/dockermake test

# Test HWA with install
test_installer:2018_R2_Installer:
extends: .hdl_tests
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- cp mltbx/* .
- pwd
- ls
Expand Down Expand Up @@ -149,7 +149,7 @@ test:targeting_demos:
dependencies:
- build:2018_R2
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- ./CI/scripts/dockermake test_targeting_demos
artifacts:
when: always
Expand All @@ -167,7 +167,7 @@ test_hardware:Streaming_Hardware:
dependencies:
- build:2018_R2
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- cd CI/scripts
- make test_streaming
artifacts:
Expand All @@ -186,7 +186,7 @@ test_hardware:EVM_Hardware:
dependencies:
- build:2018_R2
script:
- export MLRELEASE=R2019a
- export MLRELEASE=R2019b
- cd CI/scripts
- make test_evm
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion CI/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SHELL := /bin/bash
MLFLAGS := -nodisplay -nodesktop -nosplash

ifeq ($(MLRELEASE),)
MLRELEASE := R2019a
MLRELEASE := R2019b
endif

ifeq ($(HDLBRANCH),)
Expand Down
2 changes: 1 addition & 1 deletion CI/scripts/genTlbx.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function genTlbx(examples)
examples = 0;
end

version = '19.1.1';
version = '19.2.1';
ml = ver('MATLAB');
ml = ml.Release(2:end-1);

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ As with many open source packages, we use [GitHub](https://github.com/analogdevi

| HDL Branch | GitHub master status | MATLAB Release | Installer Package |
|:-----------------------:|:---------------------:|:-------:|:-------------------:|
| 2018_R2 | [![pipeline status](https://gitlab.com/tfcollins/TransceiverToolbox/badges/master/pipeline.svg)](https://gitlab.com/tfcollins/TransceiverToolbox/commits/master) | 2019a | <a href="https://gitlab.com/tfcollins/TransceiverToolbox/-/jobs/artifacts/master/download?job=deploy"><img src="https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png" data-canonical-src="https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png" height="40" /></a>|
| 2018_R2 | [![pipeline status](https://gitlab.com/tfcollins/TransceiverToolbox/badges/master/pipeline.svg)](https://gitlab.com/tfcollins/TransceiverToolbox/commits/master) | 2019b | <a href="https://gitlab.com/tfcollins/TransceiverToolbox/-/jobs/artifacts/master/download?job=deploy"><img src="https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png" data-canonical-src="https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png" height="40" /></a>|

If you use it, and like it - please let us know. If you use it, and hate it - please let us know that too.

## Supported Tools and Releases

We provide support across two releases of MATLAB. This does not mean older releases will not work but they are not maintained. Currently supported tools are:
- Bug fixes only: MATLAB R2018b with Vivado 2017.4 from the [MathWorks_tools](https://github.com/analogdevicesinc/MathWorks_tools) repository
- Bug fixes and new features: MATLAB R2019a with Vivado 2018.2
- Bug fixes only: MATLAB R2019a with Vivado 2018.2
- Bug fixes and new features: MATLAB R2019b with Vivado 2018.2

## Support and Documentation

Expand Down
2 changes: 1 addition & 1 deletion hdl/vendor/AnalogDevices/Contents.m
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
% HDL Coder BSP: Analog Devices Inc
% Version 19.1.1 (R2019a) 1-August-2019
% Version 19.2.1 (R2019b) 1-August-2019
2 changes: 1 addition & 1 deletion info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Supply the following six elements in the order specified -->
<!-- (Required) Release of MATLAB. Not currently used but required -->
<!-- to parse the file -->
<matlabrelease>R2019a</matlabrelease>
<matlabrelease>R2019b</matlabrelease>
<!-- (Required) Title of toolbox. Appears in the Contents pane -->
<name>Analog Devices, Inc. Transceiver Toolbox</name>
<!-- (Required) Label for the toolbox. pick one: -->
Expand Down
2 changes: 2 additions & 0 deletions test/DemoTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ function setupVivado(~)
vivado = '2017.4';
case '(R2019a)'
vivado = '2018.2';
case '(R2019b)'
vivado = '2018.2';
end
if ispc
hdlsetuptoolpath('ToolName', 'Xilinx Vivado', ...
Expand Down

0 comments on commit 574c261

Please sign in to comment.