Hog (HDL on git): a collaborative management tool to handle git-based HDL repository. (29th April 2021)
- Record Type:
- Journal Article
- Title:
- Hog (HDL on git): a collaborative management tool to handle git-based HDL repository. (29th April 2021)
- Main Title:
- Hog (HDL on git): a collaborative management tool to handle git-based HDL repository
- Authors:
- Biesuz, N.V.
Camplani, A.
Cieri, D.
Giangiacomi, N.
Gonnella, F.
Peck, A. - Abstract:
- Abstract: In this paper, we present Hog (HDL on git), a set of Tcl scripts and a suitable methodology to allow a fruitful use of git as a HDL repository and guarantee synthesis and placing reproducibility and binary file traceability. Tcl scripts, able to recreate the HDL projects are committed to the repository. This ensures that all the modifications done to the project are correctly propagated, allowing reproducibility. To make the system more user friendly, all the source files used in each project are listed in dedicated text files that are read out by the project Tcl file and imported into the project. Hog supports Xilinx Vivado, ISE (PlanAhead) and Intel Quartus. To guarantee binary file traceability, Hog links it permanently to a specific git commit by embedding the git-commit hash (SHA) into the binary file via HDL generics stored into firmware registers. This is done by means of a pre-synthesis script, which interacts with the git repository. The project creation and the pre/post synthesis Tcl scripts make use of the Hog utility library, that includes functions to handle git, parse tags, read list files, etc. Gitlab Continuous Integration (CI) is automatically configured by Hog to simulate, synthesise, and build the design. Hog-CI generates binary files and checks for timing violations. This permits validating new modifications before accepting them, by exploiting the Gitlab Merge Request (MR) system. This is meant to avoid the pollution of the official branch,Abstract: In this paper, we present Hog (HDL on git), a set of Tcl scripts and a suitable methodology to allow a fruitful use of git as a HDL repository and guarantee synthesis and placing reproducibility and binary file traceability. Tcl scripts, able to recreate the HDL projects are committed to the repository. This ensures that all the modifications done to the project are correctly propagated, allowing reproducibility. To make the system more user friendly, all the source files used in each project are listed in dedicated text files that are read out by the project Tcl file and imported into the project. Hog supports Xilinx Vivado, ISE (PlanAhead) and Intel Quartus. To guarantee binary file traceability, Hog links it permanently to a specific git commit by embedding the git-commit hash (SHA) into the binary file via HDL generics stored into firmware registers. This is done by means of a pre-synthesis script, which interacts with the git repository. The project creation and the pre/post synthesis Tcl scripts make use of the Hog utility library, that includes functions to handle git, parse tags, read list files, etc. Gitlab Continuous Integration (CI) is automatically configured by Hog to simulate, synthesise, and build the design. Hog-CI generates binary files and checks for timing violations. This permits validating new modifications before accepting them, by exploiting the Gitlab Merge Request (MR) system. This is meant to avoid the pollution of the official branch, undermining the starting point for other developers. Hog-CI runs on shared and private (where the needed IDE must be installed) Gitlab runners. It can parse MR parameters, allowing the specification of directives through special keywords in the MR title/description on Gitlab website. … (more)
- Is Part Of:
- Journal of instrumentation. Volume 16:Number 4(2021)
- Journal:
- Journal of instrumentation
- Issue:
- Volume 16:Number 4(2021)
- Issue Display:
- Volume 16, Issue 4 (2021)
- Year:
- 2021
- Volume:
- 16
- Issue:
- 4
- Issue Sort Value:
- 2021-0016-0004-0000
- Page Start:
- Page End:
- Publication Date:
- 2021-04-29
- Subjects:
- Digital electronic circuits -- Software architectures (event data models, frameworks and databases)
Scientific apparatus and instruments -- Periodicals
502.84 - Journal URLs:
- http://iopscience.iop.org/1748-0221 ↗
http://ioppublishing.org/ ↗ - DOI:
- 10.1088/1748-0221/16/04/T04006 ↗
- Languages:
- English
- ISSNs:
- 1748-0221
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 25483.xml