Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SLCore-M0 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
SLCore-M0 Tech
Commits
d8d9c80f
Commit
d8d9c80f
authored
Jun 23, 2023
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Started Liniting SLCore by itself
parent
61377733
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
hal/slcorem0_ip.waive
+37
-0
37 additions, 0 deletions
hal/slcorem0_ip.waive
makefile
+33
-0
33 additions, 0 deletions
makefile
src/verilog/slcorem0.v
+1
-1
1 addition, 1 deletion
src/verilog/slcorem0.v
with
71 additions
and
1 deletion
hal/slcorem0_ip.waive
0 → 100644
+
37
−
0
View file @
d8d9c80f
//-----------------------------------------------------------------------------
// SLCore M0 Lint Waivers
// 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)
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// Abstract : HAL Wavier file for SLCoreM0
//-----------------------------------------------------------------------------
lint_checking designunit = slcorem0
{
// Clock and Reset Naming drops SYS and CORE prefix in Instantiated Modules
DIFCLK {"SYS_|CORE_"} off;
DIFRST {"SYS_|CORE_"} off;
}
lint_checking designunit = slcorem0_integration
{
// Constant Conditional for Debug Configuration
CONSTC {"cfg_dbg"} off;
}
lint_checking designunit = slcorem0_prmu
{
// Constant Conditional for Clock Gating
CONSTC {"CLKGATE"} off;
// With CLock Gating Disabled, Clocks may be aliased
DALIAS {"CLK"} off;
DIFCLK {"CLKGATE"} off;
}
This diff is collapsed.
Click to expand it.
makefile
0 → 100644
+
33
−
0
View file @
d8d9c80f
#-----------------------------------------------------------------------------
# SoCLabs SLCore M0 Flow Makefile
# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
#
# Contributors
#
# David Mapstone (d.a.mapstone@soton.ac.uk)
#
# Copyright (C) 2021-3, SoC Labs (www.soclabs.org)
#-----------------------------------------------------------------------------
include
$(SOCLABS_SOCTOOLS_FLOW_DIR)/resources/hal/makefile.hal_checks
LINT_DIR
=
$(
SOCLABS_PROJECT_DIR
)
/lint/slcorem0
LINT_INFO_DIR
=
$(
SOCLABS_SLCOREM0_TECH_DIR
)
/hal
# Core Design Filelist
DESIGN_VC
?=
$(
SOCLABS_SLCOREM0_TECH_DIR
)
/flist/slcorem0_ip.flist
# Defines
DEFINES_VC
+=
$(
MEM_INIT
)
+define+CORTEX_M0 +define+USE_TARMAC
# Black Box for Lint
HAL_BLACK_BOX
=
-design_info
$(
LINT_INFO_DIR
)
/cortexm0_ip.bb
# Lint Waivers
HAL_WAIVE
=
-design_info
$(
LINT_INFO_DIR
)
/slcorem0_ip.waive
lint_xm
:
@
rm
-rf
$(
LINT_DIR
)
@
mkdir
-p
$(
LINT_DIR
)
cd
$(
LINT_DIR
);
hal
-f
$(
DESIGN_VC
)
+debug
-XMVERILOGARGS
"-timescale 1ps/1ps"
-top
slcorem0
$(
HAL_BLACK_BOX
)
$(
HAL_WAIVE
)
$(
LINT_NOCHECK
)
This diff is collapsed.
Click to expand it.
src/verilog/slcorem0.v
+
1
−
1
View file @
d8d9c80f
...
@@ -232,7 +232,7 @@ module slcorem0 #(
...
@@ -232,7 +232,7 @@ module slcorem0 #(
.
NMI
(
CORE_NMI
),
.
NMI
(
CORE_NMI
),
.
IRQLATENCY
(
8'h00
),
.
IRQLATENCY
(
8'h00
),
.
ECOREVNUM
(
28'
h
0
),
.
ECOREVNUM
(
28'
d
0
),
// Systick
// Systick
.
STCLKEN
(
CORE_STCLKEN
),
.
STCLKEN
(
CORE_STCLKEN
),
...
...
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