Skip to content

Commit

Permalink
Merge pull request #52 from slaclab/pre-release
Browse files Browse the repository at this point in the history
Release Candidate v5.9.0
  • Loading branch information
ruck314 authored Jul 10, 2023
2 parents aa552a7 + 99ac0c1 commit 826f76e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 18 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/lcls2_pgp_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ on: [push]

jobs:

test:
name: Test
runs-on: ubuntu-20.04
test_and_document:
name: Test And Generate Documentation
runs-on: ubuntu-22.04
steps:

# This step checks out a copy of your repository.
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11

- name: Install dependencies
run: |
Expand All @@ -45,7 +45,7 @@ jobs:
gen_release:
name: Generate Release
runs-on: ubuntu-20.04
needs: [test]
needs: [test_and_document]
if: startsWith(github.ref, 'refs/tags/')
steps:

Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
conda_build:
name: Anaconda Build
needs: [test]
needs: [test_and_document]
if: startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
Expand Down Expand Up @@ -106,6 +106,9 @@ jobs:
export PATH="${HOME}/miniconda/bin:$PATH"
source ${HOME}/miniconda/etc/profile.d/conda.sh
conda config --set always_yes yes
conda config --set channel_priority strict
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda install conda-build anaconda-client conda-verify
conda update -q conda conda-build
conda update --all
Expand All @@ -124,5 +127,4 @@ jobs:
export PATH="${HOME}/miniconda/bin:$PATH"
source ${HOME}/miniconda/etc/profile.d/conda.sh
conda build --debug conda-recipe --output-folder bld-dir -c tidair-tag -c tidair-packages -c conda-forge
anaconda -t ${{ steps.get_image_info.outputs.token }} upload bld-dir/${{ steps.get_image_info.outputs.os }}/*.tar.bz2
anaconda -t ${{ steps.get_image_info.outputs.token }} upload --force bld-dir/noarch/*.tar.bz2
5 changes: 3 additions & 2 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ source:

build:
number: {{ GIT_DESCRIBE_NUMBER|int }}
noarch: python

requirements:
build:
- python<3.8
- python>=3.7
- rogue
- git
- gitpython
- numpy

run:
- python
- python>=3.7
- rogue
- numpy

Expand Down
12 changes: 9 additions & 3 deletions shared/rtl/UltraScale+/TimingRx.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ entity TimingRx is
EN_LCLS_II_TIMING_G : boolean := true);
port (
-- Reference Clock and Reset
userClk156 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userClk25 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userRst25 : in sl := '1'; -- USE_GT_REFCLK_G = FALSE
userClk156 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userClk25 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userRst25 : in sl := '1'; -- USE_GT_REFCLK_G = FALSE
timingRxClkOut : out sl;
timingRxRstOut : out sl;

-- Trigger Interface
triggerClk : in sl;
triggerRst : in sl;
Expand Down Expand Up @@ -189,6 +192,9 @@ architecture mapping of TimingRx is

begin

timingRxClkOut <= timingRxClk;
timingRxRstOut <= timingRxRst;

timingTxRst <= txUserRst;
timingRxRstTmp <= rxUserRst or not rxStatus.resetDone;

Expand Down
12 changes: 9 additions & 3 deletions shared/rtl/UltraScale/TimingRx.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ entity TimingRx is
EN_LCLS_II_TIMING_G : boolean := true);
port (
-- Reference Clock and Reset
userClk156 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userClk25 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userRst25 : in sl := '1'; -- USE_GT_REFCLK_G = FALSE
userClk156 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userClk25 : in sl := '0'; -- USE_GT_REFCLK_G = FALSE
userRst25 : in sl := '1'; -- USE_GT_REFCLK_G = FALSE
timingRxClkOut : out sl;
timingRxRstOut : out sl;

-- Trigger Interface
triggerClk : in sl;
triggerRst : in sl;
Expand Down Expand Up @@ -189,6 +192,9 @@ architecture mapping of TimingRx is

begin

timingRxClkOut <= timingRxClk;
timingRxRstOut <= timingRxRst;

timingTxRst <= txUserRst;
timingRxRstTmp <= rxUserRst or not rxStatus.resetDone;

Expand Down

0 comments on commit 826f76e

Please sign in to comment.