https://github.com/berkeleylab/lbnl-dual-evg

Gateware/Software for Dual Event Generator

https://github.com/berkeleylab/lbnl-dual-evg

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Gateware/Software for Dual Event Generator

Basic Info
  • Host: GitHub
  • Owner: BerkeleyLab
  • License: other
  • Language: C
  • Default Branch: master
  • Size: 6.22 MB
Statistics
  • Stars: 0
  • Watchers: 5
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed 12 months ago
Metadata Files
Readme License

README.md

Dual EVG

Gateware/Software for Dual EVG

Building

This repository contains both gateware and software for the Dual EVG.

Gateware Dependencies

To build the gateware the following dependencies are needed:

  • GNU Make
  • Xilinx Vivado (2020.2.2 tested), available here
  • Xilinx Vitis (2020.2.2 tested), available here

Make sure vivado and vitis are in PATH.

Software Dependencies

To build the software the following dependencies are needed:

  • mb-gcc toolchain, bundled within Vitis

Building Instructions

With the dependencies in place a simple make should be able to generate both gateware and software:

bash make

A suggestion in running the make command is to measure the time and redirect stdout/stderr to a file so you can inspect it later:

bash ARM_TOOLCHAIN_LOCATION=/media/Xilinx/Vivado/2020.2.2/Vitis/2020.2/gnu/microblaze/lin (time make CROSS_COMPILE=${ARM_TOOLCHAIN_LOCATION}/bin/mb- APP=devg PLATFORM=marble EVIO_TYPE=evio && notify-send 'Compilation SUCCESS' || notify-send 'Compilation ERROR'; date) 2>&1 | tee make_output

For now the following APPs are supported:

  • devg
  • devg_test

For now the following EVIO_TYPEs are supported:

  • evio
  • eviotrignibble_reversed

Deploying

To deploy the gateware and the software we can use a variety of methods. For development, JTAG is being used.

The following script can download the gateware/software via JTAG:

bash cd scripts ./deploy.sh software/app/<APP>/download.bit

Usually, APP=devg or APP=devg_test depending on the desired target.

Owner

  • Name: Berkeley Lab
  • Login: BerkeleyLab
  • Kind: organization
  • Location: Berkeley, CA

Lawrence Berkeley National Laboratory

GitHub Events

Total
  • Push event: 123
  • Create event: 14
Last Year
  • Push event: 123
  • Create event: 14

Dependencies

requirements.txt pypi
  • sphinx >=5.1.0