Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
131d71c
created a new project with correct settings for language server
brayjmendoza Sep 25, 2025
5d2935d
Merge branch 'PRIDE1095-HEX' of github.com:niluo-shiqi/riscv-unified-…
brayjmendoza Sep 25, 2025
04dfbf7
recreated xtext project to have correct language server settings
brayjmendoza Sep 25, 2025
d9c97af
fixed project layout
brayjmendoza Sep 26, 2025
0a0f59b
Copy pasted in previous hex grammar and tests
niluo-shiqi Sep 26, 2025
6454649
Deleted duplicate tests
niluo-shiqi Sep 26, 2025
531d2cb
Added Language Server Generation files
niluo-shiqi Sep 28, 2025
7d81f97
launch.json file
niluo-shiqi Sep 28, 2025
363fb6a
Stop tracking build outputs, ignore target/build/out/node_modules
niluo-shiqi Sep 28, 2025
68b02f1
Add LS fat jar to extension server/ directory
niluo-shiqi Sep 28, 2025
6156fb6
Updated gitignore
niluo-shiqi Sep 28, 2025
c97337e
changed the grammar for HEX terminal
brayjmendoza Sep 29, 2025
00d7c6d
fixed generated files and added evaluating hex as ints
brayjmendoza Oct 4, 2025
5db9ed6
fixed plugin.xml files
brayjmendoza Oct 5, 2025
93dd81b
recreated xtext project
brayjmendoza Oct 19, 2025
ce7cf35
fixed tests
brayjmendoza Oct 19, 2025
660ca25
fixed language but with different file extension
brayjmendoza Oct 20, 2025
7678989
recreated project for right file extension
brayjmendoza Oct 23, 2025
b50f60c
added back junit tests
brayjmendoza Oct 23, 2025
a82cc30
tracking empty directories needed for mwe2 build
brayjmendoza Oct 27, 2025
6d7e650
updated gitignore for comptability with eclipse view
brayjmendoza Oct 27, 2025
ecead2e
Adding CI tests and LS configs to main branch
niluo-shiqi Oct 30, 2025
eb67a23
Added grammar support for high level AST
mrseifert04 Nov 2, 2025
384a569
added grammar for fields
brayjmendoza Nov 3, 2025
22830ce
began testing implementation for csr files in UDB
lughnasam Nov 3, 2025
c72fd76
updated ci tests
niluo-shiqi Nov 4, 2025
aff51c8
updated ci tests
niluo-shiqi Nov 4, 2025
510a906
Renamed some files
niluo-shiqi Nov 4, 2025
34a946b
updated ls
niluo-shiqi Nov 6, 2025
e183c87
renamed launch file
niluo-shiqi Nov 6, 2025
2ee9be0
ci test for csrs branch only
niluo-shiqi Nov 6, 2025
cddef0f
fixed test and MWE2 bug
brayjmendoza Nov 6, 2025
8736225
Added copyright file
mrseifert04 Nov 6, 2025
98bdf91
updated gitignore
brayjmendoza Nov 6, 2025
dfb301b
fix ci test npm error
mrseifert04 Nov 6, 2025
4665615
added comment
brayjmendoza Nov 8, 2025
d926b9d
Added missing bin folder
mrseifert04 Nov 8, 2025
9cef848
add missing files in /ext
mrseifert04 Nov 8, 2025
8f5b44f
generalized csr name
brayjmendoza Nov 8, 2025
5bff569
Merge branch 'main' of github.com:riscv-software-src/riscv-unified-db
brayjmendoza Nov 8, 2025
06a4c6a
Completed outline for csr schema
niluo-shiqi Nov 9, 2025
f99d093
modified field properties and added idl
brayjmendoza Nov 9, 2025
06b0e07
Added support for virtual_address, requires. Fixed length, priv_mode
mrseifert04 Nov 9, 2025
a190de1
Implemented fields portion of the csr schema
brayjmendoza Nov 9, 2025
ac9c093
Merge remote-tracking branch 'origin/PRIDE1097-CSRs' into PRIDE1097-CSRs
brayjmendoza Nov 9, 2025
c36aac2
Implemented CNRType, CTPType, StringArray
mrseifert04 Nov 10, 2025
33d4033
Implemented virtual address in validator and rearranged ordering
niluo-shiqi Nov 10, 2025
eabbc4f
Merge remote-tracking branch 'origin/PRIDE1097-CSRs' into PRIDE1097-CSRs
brayjmendoza Nov 11, 2025
52b8010
Merge branch 'PRIDE1097-CSRs' of github.com:niluo-shiqi/riscv-unified…
brayjmendoza Nov 11, 2025
726f691
Modified validator such that Virtual address error shows red squiggly
niluo-shiqi Nov 11, 2025
cc9c18a
finished most parsing tests
lughnasam Nov 11, 2025
7af4d98
Merge branch 'PRIDE1097-CSRs' of https://github.com/niluo-shiqi/riscv…
niluo-shiqi Nov 11, 2025
5c8b28d
Fixed ordering issue
niluo-shiqi Nov 11, 2025
261f336
added comments
brayjmendoza Nov 13, 2025
436ccf3
Added validation check for address
mrseifert04 Nov 13, 2025
8f5ea25
fixed parsing tests
brayjmendoza Nov 16, 2025
ea1f298
Merge remote-tracking branch 'origin/PRIDE1097-CSRs' into PRIDE1097-CSRs
brayjmendoza Nov 16, 2025
bae6924
changed indirect_address from INT to Hex
mrseifert04 Nov 17, 2025
d2d2d1a
Updated grammar to YAML format (whitespace semi-works:
niluo-shiqi Nov 17, 2025
9eab3ff
Reverted some fields back to previous versions
niluo-shiqi Nov 18, 2025
fae92cb
latest version-INDENT issue not fixed
niluo-shiqi Nov 18, 2025
2685d10
Added validation for base, length, address, virtual_address,
mrseifert04 Nov 20, 2025
856ecd7
fixed length validation
mrseifert04 Nov 20, 2025
5876954
Changed to using indent and dedent tokens(seems to work!)
niluo-shiqi Nov 21, 2025
5921579
update to conditions
brayjmendoza Nov 22, 2025
2a5ae5e
commented out part of the condition grammar to fix an issue
brayjmendoza Nov 22, 2025
ac7796c
Merge remote-tracking branch 'origin/PRIDE1097-CSRs' into PRIDE1097-CSRs
brayjmendoza Nov 22, 2025
dc08df4
moved our udb files into run/testudb
brayjmendoza Nov 22, 2025
acae389
removed resolved comments
brayjmendoza Nov 25, 2025
09e31c2
completed parsing tests for CSR sample file
lughnasam Nov 25, 2025
e37f2d5
added field
brayjmendoza Nov 26, 2025
78a1e28
tried multiline IDL testing with different whitespace, still not working
izgodoy Nov 29, 2025
c38dff6
Merge branch 'PRIDE1097-CSRs' of https://github.com/niluo-shiqi/riscv…
izgodoy Nov 29, 2025
6832e7a
temp fix for affectedBy, just allowed strings
brayjmendoza Dec 1, 2025
61b9cb1
fix(validator): validate length for integer and symbolic values
Dec 1, 2025
5211c0c
Merge branch 'PRIDE1097-CSRs' of https://github.com/niluo-shiqi/riscv…
Dec 1, 2025
9bdd560
fixed parsing tests
brayjmendoza Dec 2, 2025
6b5e97a
finished parsing tests:
lughnasam Dec 2, 2025
960a008
Merge branch 'PRIDE1097-CSRs'
lughnasam Dec 2, 2025
60879ac
fixed parsing tests
brayjmendoza Dec 2, 2025
b922469
fixed parsing tests
brayjmendoza Dec 2, 2025
31b6075
Updated Language Server jar file
niluo-shiqi Dec 2, 2025
72b2e1e
Merge branch 'main' of github.com:riscv-software-src/riscv-unified-db
brayjmendoza Dec 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: CI

on:
push:
branches: [PRIDE1097-CSRs]
pull_request:
branches: [PRIDE1097-CSRs]

jobs:
java-tests:
name: Java (Xtext) tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: tools/eclipse/dev/org.xtext.udb.parent
steps:
- uses: actions/checkout@v4

- name: Setup Temurin JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven


- name: Build & test (whole reactor)
working-directory: tools/eclipse/dev/org.xtext.udb.parent
env:
MAVEN_OPTS: "-Djdk.xml.maxGeneralEntitySizeLimit=0 -Djdk.xml.totalEntitySizeLimit=0 -Djdk.xml.entityExpansionLimit=0"
run: mvn -B -U -Dheadless=true verify

- name: Archive surefire reports (always)
if: always()
uses: actions/upload-artifact@v4
with:
name: surefire-reports
path: |
**/target/surefire-reports/*.xml
**/target/surefire-reports/*.txt

vscode-tests:
name: VS Code Mocha tests
runs-on: ubuntu-latest
needs: java-tests
defaults:
run:
working-directory: udb-vscode
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: udb-vscode/package-lock.json


- name: Setup Temurin JDK 21 (for LS)
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'

- name: Install deps
run: npm install

- name: Compile
run: npm run compile

- name: Run VS Code tests
run: xvfb-run -a npm test

- name: Archive VS Code test logs (always)
if: always()
uses: actions/upload-artifact@v4
with:
name: vscode-test-logs
path: |
udb-vscode/.vscode-test/**/*
udb-vscode/out/test/**/*
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@ sorbet
!tools/ruby-gems/idlc/sorbet
!tools/ruby-gems/udb/sorbet
coverage
.DS_Store*

# emacs backup files
*~
**/target/
**/build/
**/.gradle/
**/bin/
udb-vscode/out/
node_modules/

!udb-vscode/.vscode/
!udb-vscode/.vscode/launch.json
!udb-vscode/.vscode/tasks.json
udb-vscode/server/*
!udb-vscode/server/udb-ls-all.jar
udb-vscode/.vscode-test/
Empty file added .metadata/.lock
Empty file.
5 changes: 5 additions & 0 deletions .metadata/.lock_info
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Thu Oct 23 11:31:22 PDT 2025
display=/private/tmp/com.apple.launchd.Cduz5KTCTc/org.xquartz\:0
host=MacBook-Pro-693.local
process-id=69449
user=bmendoza
Binary file added .metadata/.mylyn/repositories.xml.zip
Binary file not shown.
Binary file added .metadata/.mylyn/tasks.xml.zip
Binary file not shown.
Loading
Loading