Skip to content

Commit

Permalink
Merge pull request #15 from sjthales/cv32a6_contest_23_24
Browse files Browse the repository at this point in the history
Cv32a6 contest 23 24
  • Loading branch information
sjthales authored Nov 29, 2023
2 parents 73c0d94 + 5169f7f commit ca16368
Show file tree
Hide file tree
Showing 1,772 changed files with 221,114 additions and 25,823 deletions.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CVA6 bug
description: Create a CVA6 bug
title: "[BUG] <title>"
labels: ["Type:Bug"]
body:
- type: checkboxes
attributes:
label: Is there an existing CVA6 bug for this?
description: Please search to see if an issue already exist for the bug you need to create
options:
- label: I have searched the existing bug issues
required: true
- type: textarea
attributes:
label: Bug Description
description: A concise description of the bug
validations:
required: true
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: CVA6 Task
description: Create a CVA6 Project Task
title: "[TASK] <title>"
labels: ["task"]
body:
- type: checkboxes
attributes:
label: Is there an existing CVA6 task for this?
description: Please search to see if a task issue already exists for the task you need to create
options:
- label: I have searched the existing task issues
required: true
- type: textarea
attributes:
label: Task Description
description: A concise description of what needs to be done (user story)
validations:
required: true
- type: textarea
attributes:
label: Required Changes
description: A concise description of specific modifications, updates, or actions that are necessary to complete the task, helping to clarify the necessary actions.
validations:
required: true
- type: textarea
attributes:
label: Current Status
description: A concise description of the current status
validations:
required: true
- type: textarea
attributes:
label: Risks
description: List of the potential challenges, obstacles, or issues that could arise while working on the task, helping to anticipate and mitigate potential problems.
validations:
required: false
- type: textarea
attributes:
label: Prerequisites
description: This outlines any dependencies or conditions that must be met before starting or progressing with the task, ensuring a smooth workflow.
validations:
required: false
- type: textarea
attributes:
label: KPI (KEY Performance Indicators)
description: List of the specific metrics or measures that will be used to assess the success or completion of the task, providing clear criteria for evaluation.
validations:
required: false
- type: textarea
attributes:
label: Description of Done
description: What are the criteria for completion of this task?
validations:
required: true
- type: textarea
attributes:
label: Associated PRs
description: Use this area to provide a link to PRs used to complete this task.
- type: markdown
attributes:
value: |
**Keep task progress up to date by adding comments to the task as it progresses.**
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "weekly"
time: "19:30"
timezone: "Europe/Paris"
allow:
- dependency-name: "verif/core-v-verif"
labels:
- "Component:Verif"
16 changes: 16 additions & 0 deletions .github/workflows/bender-up-to-date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

# Author: Nils Wistoff <[email protected]>

name: bender-up-to-date

on: [ push, pull_request, workflow_dispatch ]

jobs:
bender-up-to-date:
runs-on: ubuntu-latest
steps:
- name: Check Bender up-to-date
uses: pulp-platform/pulp-actions/bender-up-to-date@v2
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2021 OpenHW Group
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

# Run functional regression checks
name: ci
on: [push, pull_request]

jobs:
riscv-tests:
name: riscv-tests
runs-on: ubuntu-latest
strategy:
matrix:
testcase: [asm-tests, mul, amo, fp, benchmarks]
target: [cv64a6_imafdc_sv39, cv64a6_imafdc_sv39_wb]
env:
RISCV: /riscv
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Prepare
run: ci/setup.sh
- name: run tests
run: make run-${{ matrix.testcase}}-verilator target=${{ matrix.target }}
33 changes: 33 additions & 0 deletions .github/workflows/dashboard-done.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
workflow_dispatch:
inputs:
pr_number:
description: 'ID of the PR to comment'
required: true
type: string
success:
description: 'Is the workflow successful?'
required: true
type: boolean

permissions:
pull-requests: write

jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
const inputs = context.payload.inputs
const pr = inputs.pr_number
const success = inputs.success == 'true'
const status_text = success ? ":heavy_check_mark: successful" : ":x: failed"
const url = `https://riscv-ci.pages.thales-invia.fr/dashboard/dashboard_cva6_${pr}.html`
await github.rest.issues.createComment({
issue_number: pr,
owner: context.repo.owner,
repo: context.repo.repo,
body: `${status_text} run, report available [here](${url}).`
})
31 changes: 31 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2023 OpenHW Group
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-label: Status:Stale
stale-pr-label: Status:Stale
stale-issue-message: |
πŸ‘‹ Hi there!
This issue seems inactive. Need more help? Feel free to update us. If there are no updates within the next few days, we'll go ahead and close this issue. 😊
stale-pr-message: |
πŸ‘‹ Hi there!
This pull request seems inactive. Need more help or have updates? Feel free to let us know. If there are no updates within the next few days, we'll go ahead and close this PR. 😊
days-before-stale: 30
days-before-close: 5
exempt-issue-labels: Type:Task,Type:Enhancement,Type:Bug
exempt-all-milestones: true
start-date: '2023-09-01T00:00:00Z'
19 changes: 17 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ src/moore.sv
build/*
/tmp*
*.dasm
/Bender.lock
/Bender.local
build/
*.vcd
Expand All @@ -26,9 +25,25 @@ build/
*.o
uart
work-ver/*
fpga/work-fpga
corev_apu/fpga/work-fpga
corev_apu/fpga/reports/
corev_apu/fpga/scripts/add_sources.tcl
corev_apu/fpga/ariane.xpr
corev_apu/fpga/ariane.cache/
corev_apu/fpga/ariane.hw/
corev_apu/fpga/.Xil/
corev_apu/fpga/mode*
stdout/
work-dpi/
tb/riscv-isa-sim/
work-*/*
install/
xrun_results/
/core/include/gen32_config_pkg.sv
/core/include/gen64_config_pkg.sv
__pycache__
.bender/
Bender.lock
/tools/
/util/gcc-toolchain-builder/src/
/util/gcc-toolchain-builder/build/
Loading

0 comments on commit ca16368

Please sign in to comment.