Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Accelerator Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor 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
Accelerator Project
Commits
8c53ae08
Commit
8c53ae08
authored
1 year ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Updated Accelerator Subsystem and Filelists
parent
74f4eb05
No related branches found
No related tags found
1 merge request
!1
Changed set_env flow to source script in soctools and breadcrumb left in...
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
flist/nanosoc/nanosoc_tb.flist
+11
-10
11 additions, 10 deletions
flist/nanosoc/nanosoc_tb.flist
nanosoc_tech
+1
-1
1 addition, 1 deletion
nanosoc_tech
system/src/accelerator_subsystem.v
+33
-35
33 additions, 35 deletions
system/src/accelerator_subsystem.v
with
45 additions
and
46 deletions
flist/nanosoc/nanosoc_tb.flist
+
11
−
10
View file @
8c53ae08
...
...
@@ -19,16 +19,17 @@
+incdir+$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/
// - Top-level testbench
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_tb.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/
tb/
verilog/nanosoc_tb.v
// - Testbench components
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_clkreset.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_uart_capture.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/control/verilog/nanosoc_clkreset.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_axi_stream_io_8_txd_from_file.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_ft1248x1_to_axi_streamio_v1_0.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_axi_stream_io_8_rxd_to_file.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_track_tb_iostream.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_ft1248x1_track.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_dma_log_to_file.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/verilog/nanosoc_acc_log_to_file.v
\ No newline at end of file
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_uart_capture.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_axi_stream_io_8_txd_from_file.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_ft1248x1_to_axi_streamio_v1_0.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_axi_stream_io_8_rxd_to_file.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_track_tb_iostream.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_ft1248x1_track.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_dma_log_to_file.v
$(SOCLABS_NANOSOC_TECH_DIR)/verif/trace/verilog/nanosoc_accelerator_ss_logger.v
\ No newline at end of file
This diff is collapsed.
Click to expand it.
nanosoc_tech
@
916c2ada
Compare
95c9e5c1
...
916c2ada
Subproject commit 9
5c9e5c1e07a5442371fbf1a3f2b88d76c62da20
Subproject commit 9
16c2ada153b3b45abf65b88727e3cb9528322a1
This diff is collapsed.
Click to expand it.
system/src/accelerator_subsystem.v
+
33
−
35
View file @
8c53ae08
//-----------------------------------------------------------------------------
// SoC Labs
Basic Example
Accelerator
Wrapper
// SoC Labs
Accelerator Subsystem for SecWorks AES-128
Accelerator
// A joint work commissioned on behalf of SoC Labs; under Arm Academic Access license.
//
// Contributors
...
...
@@ -11,46 +11,44 @@
//-----------------------------------------------------------------------------
module
accelerator_subsystem
#(
parameter
SYS_ADDR_W
=
32
,
parameter
SYS_DATA_W
=
32
,
parameter
AHBADDRWIDTH
=
16
,
parameter
INPACKETWIDTH
=
128
,
parameter
CFGSIZEWIDTH
=
64
,
parameter
CFGSCHEMEWIDTH
=
2
,
parameter
OUTPACKETWIDTH
=
128
,
parameter
CFGNUMIRQ
=
4
)
(
input
wire
HCLK
,
// Clock
input
wire
HRESETn
,
// Reset
parameter
SYS_ADDR_W
=
32
,
parameter
SYS_DATA_W
=
32
,
parameter
ACC_ADDR_W
=
16
,
parameter
IRQ_NUM
=
4
)
(
input
wire
HCLK
,
// Clock
input
wire
HRESETn
,
// Reset
// AHB connection to Initiator
input
wire
HSEL
,
input
wire
[
SYS_ADDR_W
-
1
:
0
]
HADDR
,
input
wire
[
1
:
0
]
HTRANS
,
input
wire
[
2
:
0
]
HSIZE
,
input
wire
[
3
:
0
]
HPROT
,
input
wire
HWRITE
,
input
wire
HREADY
,
input
wire
[
SYS_DATA_W
-
1
:
0
]
HWDATA
,
// AHB connection to Initiator
input
wire
HSEL
,
input
wire
[
SYS_ADDR_W
-
1
:
0
]
HADDR
,
input
wire
[
1
:
0
]
HTRANS
,
input
wire
[
2
:
0
]
HSIZE
,
input
wire
[
3
:
0
]
HPROT
,
input
wire
HWRITE
,
input
wire
HREADY
,
input
wire
[
SYS_DATA_W
-
1
:
0
]
HWDATA
,
output
wire
HREADYOUT
,
output
wire
HRESP
,
output
wire
[
SYS_DATA_W
-
1
:
0
]
HRDATA
,
output
wire
HREADYOUT
,
output
wire
HRESP
,
output
wire
[
SYS_DATA_W
-
1
:
0
]
HRDATA
,
// Data Request Signal to DMAC
output
wire
[
1
:
0
]
EXP_DRQ
,
input
wire
[
1
:
0
]
EXP_DLAST
,
// Interrupts
output
wire
[
CFGNUMIRQ
-
1
:
0
]
EXP_IRQ
);
// Data Request Signal to DMAC
output
wire
[
1
:
0
]
EXP_DRQ
,
input
wire
[
1
:
0
]
EXP_DLAST
,
// Interrupts
output
wire
[
IRQ_NUM
-
1
:
0
]
EXP_IRQ
);
//--------------------------------------
// AES Accelerator Wrapper
//--------------------------------------
soclabs_ahb_aes128_ctrl
u_exp_aes128
(
.
ahb_hclk
(
HCLK
),
.
ahb_hresetn
(
HRESETn
),
.
ahb_hsel
(
HSEL
),
.
ahb_haddr16
(
HADDR
[
A
HB
ADDRW
IDTH
-
1
:
0
]),
.
ahb_haddr16
(
HADDR
[
A
CC_
ADDR
_
W
-
1
:
0
]),
.
ahb_htrans
(
HTRANS
),
.
ahb_hwrite
(
HWRITE
),
.
ahb_hsize
(
HSIZE
),
...
...
@@ -61,9 +59,9 @@ module accelerator_subsystem #(
.
ahb_hreadyout
(
HREADYOUT
),
.
ahb_hresp
(
HRESP
),
.
drq_ipdma128
(
EXP_DRQ
[
0
]),
.
dlast_ipdma128
(
1'b0
),
.
dlast_ipdma128
(
EXP_DLAST
[
0
]
),
.
drq_opdma128
(
EXP_DRQ
[
1
]),
.
dlast_opdma128
(
1'b0
),
.
dlast_opdma128
(
EXP_DLAST
[
1
]
),
.
irq_key128
(
EXP_IRQ
[
0
]),
.
irq_ip128
(
EXP_IRQ
[
1
]),
.
irq_op128
(
EXP_IRQ
[
2
]),
...
...
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