Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
NanoSoC Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
SoCLabs
NanoSoC Tech
Commits
9e7a5d1d
Commit
9e7a5d1d
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
SOC1-230
: Started building DMA Subsystem
parent
a634e073
No related branches found
No related tags found
1 merge request
!1
changed imem to rom to allow initial program loading, updated bootloader code...
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitmodules
+3
-0
3 additions, 0 deletions
.gitmodules
system/nanosoc_subsystems/dma/verilog/nanosoc_ss_dma.v
+52
-0
52 additions, 0 deletions
system/nanosoc_subsystems/dma/verilog/nanosoc_ss_dma.v
system/sldma230_tech
+1
-0
1 addition, 0 deletions
system/sldma230_tech
with
56 additions
and
0 deletions
.gitmodules
+
3
−
0
View file @
9e7a5d1d
...
...
@@ -4,3 +4,6 @@
[submodule "system/slcore_m0_tech"]
path = system/slcore_m0_tech
url = https://git.soton.ac.uk/soclabs/slcore_m0_tech.git
[submodule "system/sldma230_tech"]
path = system/sldma230_tech
url = https://git.soton.ac.uk/soclabs/sldma230_tech.git
This diff is collapsed.
Click to expand it.
system/nanosoc_subsystems/dma/verilog/nanosoc_ss_dma.v
0 → 100644
+
52
−
0
View file @
9e7a5d1d
//-----------------------------------------------------------------------------
// NanoSoC DMA Subsystem - Contains DMA Controllers
// A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
//
// Contributors
//
// David Mapstone (d.a.mapstone@soton.ac.uk)
//
// Copyright 2021-3, SoC Labs (www.soclabs.org)
//-----------------------------------------------------------------------------
module
nanosoc_ss_dma
#(
parameter
SYS_ADDR_W
=
32
,
// System Address Width
parameter
SYS_DATA_W
=
32
,
// System Data Width
parameter
DMA_0_CFG_ADDR_W
=
12
,
// DMAC 0 Configuration Port Address Width
parameter
DMA_1_CFG_ADDR_W
=
0
,
// DMAC 1 Configuration Port Address Width
parameter
DMA_0_CHANNEL_NUM
=
2
,
// DMAC 0 Number of DMA Channels
parameter
DMA_1_CHANNEL_NUM
=
0
// DMAC 1 Number of DMA Channels
)(
// AHB Clocks and Resets
input
wire
SYS_HCLK
,
input
wire
SYS_HRESETn
,
// AHB Lite Port
output
wire
[
SYS_ADDR_W
-
1
:
0
]
DMA_0_HADDR
,
// Address bus
output
wire
[
1
:
0
]
DMA_0_HTRANS
,
// Transfer type
output
wire
DMA_0_HWRITE
,
// Transfer direction
output
wire
[
2
:
0
]
DMA_0_HSIZE
,
// Transfer size
output
wire
[
2
:
0
]
DMA_0_HBURST
,
// Burst type
output
wire
[
3
:
0
]
DMA_0_HPROT
,
// Protection control
output
wire
[
SYS_DATA_W
-
1
:
0
]
DMA_0_HWDATA
,
// Write data
output
wire
DMA_0_HMASTLOCK
,
// Locked Sequence
input
wire
[
SYS_DATA_W
-
1
:
0
]
DMA_0_HRDATA
,
// Read data bus
input
wire
DMA_0_HREADY
,
// HREADY feedback
input
wire
DMA_0_HRESP
,
// Transfer response
// APB Configurtation Port
input
wire
DMA_0_PCLKEN
,
// APB clock enable
input
wire
DMA_0_PSEL
,
// APB peripheral select
input
wire
DMA_0_PEN
,
// APB transfer enable
input
wire
DMA_0_PWRITE
,
// APB transfer direction
input
wire
[
DMA_0_CFG_ADDR_W
-
1
:
0
]
DMA_0_PADDR
,
// APB address
input
wire
[
SYS_DATA_W
-
1
:
0
]
DMA_0_PWDATA
,
// APB write data
output
wire
[
SYS_DATA_W
-
1
:
0
]
DMA_0_PRDATA
,
// APB read data
// DMA Request and Status Port
input
wire
[
DMA_0_CHANNEL_NUM
-
1
:
0
]
DMA_0_DMA_REQ
,
// DMA transfer request
output
wire
[
DMA_0_CHANNEL_NUM
-
1
:
0
]
DMA_0_DMA_DONE
,
// DMA transfer done
output
wire
DMA_0_DMA_ERR
// DMA slave response not OK
);
endmodule
\ No newline at end of file
This diff is collapsed.
Click to expand it.
sldma230_tech
@
858deb1b
Subproject commit 858deb1bd8a17fafabf015d702c5891236d024fb
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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