Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
urv-core
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
urv-core
Commits
22ee94a4
Commit
22ee94a4
authored
6 years ago
by
Tristan Gingold
Browse files
Options
Downloads
Patches
Plain Diff
urv: add MIMPID.
parent
773694b6
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1
Release v1.1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
rtl/urv_csr.v
+1
-0
1 addition, 0 deletions
rtl/urv_csr.v
rtl/urv_defs.v
+6
-0
6 additions, 0 deletions
rtl/urv_defs.v
with
7 additions
and
0 deletions
rtl/urv_csr.v
+
1
−
0
View file @
22ee94a4
...
...
@@ -88,6 +88,7 @@ module urv_csr
`CSR_ID_MIP
:
csr_in1
<=
csr_mip_i
;
`CSR_ID_MIE
:
csr_in1
<=
csr_mie_i
;
`CSR_ID_DBGMBX
:
csr_in1
<=
g_with_hw_debug
?
mbx_data
:
32'h0
;
`CSR_ID_MIMPID
:
csr_in1
<=
32'h20190125
;
default:
csr_in1
<=
32'h0
;
endcase
// case (d_csr_sel_i)
...
...
This diff is collapsed.
Click to expand it.
rtl/urv_defs.v
+
6
−
0
View file @
22ee94a4
...
...
@@ -88,6 +88,12 @@
`define
CSR_ID_MIP 12
'
h344
`define
CSR_ID_MIE 12
'
h304
`define
CSR_ID_DBGMBX 12
'
h7d0
`define
CSR_ID_MIMPID 12
'
hf13
/* History for MIMPID:
0000_0000: mimpid not implemented
2019_0125: mimpid added.
*/
`define
CSR_OP_CSRRW 3
'
b001
`define
CSR_OP_CSRRS 3
'
b010
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment