Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ASIC Library Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
ASIC Library Tech
Commits
1ff997de
Commit
1ff997de
authored
1 year ago
by
Daniel Newbrook
Browse files
Options
Downloads
Patches
Plain Diff
Add Power Pins
parent
0dc3e998
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
flist/asic_lib_mem_ip.flist
+2
-1
2 additions, 1 deletion
flist/asic_lib_mem_ip.flist
sram/verilog/sl_ahb_sram.v
+12
-0
12 additions, 0 deletions
sram/verilog/sl_ahb_sram.v
sram/verilog/sl_sram.v
+8
-3
8 additions, 3 deletions
sram/verilog/sl_sram.v
with
22 additions
and
4 deletions
flist/asic_lib_mem_ip.flist
+
2
−
1
View file @
1ff997de
...
...
@@ -20,4 +20,5 @@
// - Top-level testbench
$(SOCLABS_ASIC_LIB_TECH_DIR)/sram/verilog/sl_ahb_sram.v
$(SOCLABS_ASIC_LIB_TECH_DIR)/rom/verilog/sl_ahb_rom.v
\ No newline at end of file
$(SOCLABS_ASIC_LIB_TECH_DIR)/rom/verilog/sl_ahb_rom.v
$(SOCLABS_ASIC_LIB_TECH_DIR)/sram/verilog/sl_sram.v
This diff is collapsed.
Click to expand it.
sram/verilog/sl_ahb_sram.v
+
12
−
0
View file @
1ff997de
...
...
@@ -16,6 +16,13 @@ module sl_ahb_sram #(
parameter
RAM_ADDR_W
=
14
,
// Size of SRAM
parameter
RAM_DATA_W
=
32
// Data Width of RAM
)(
`ifdef
POWER_PINS
inout
wire
VDDCE
,
inout
wire
VDDPE
,
inout
wire
VSSE
,
inout
wire
VDD
,
inout
wire
VSS
,
`endif
// --------------------------------------------------------------------------
// Port Definitions
// --------------------------------------------------------------------------
...
...
@@ -74,6 +81,11 @@ module sl_ahb_sram #(
sl_sram
#(
.
AW
(
RAM_ADDR_W
)
)
u_sram
(
`ifdef
POWER_PINS
.
VDDCE
(
VDDCE
),
.
VDDPE
(
VDDPE
),
.
VSSE
(
VSSE
),
`endif
// SRAM Inputs
.
CLK
(
HCLK
),
.
ADDR
(
addr
),
...
...
This diff is collapsed.
Click to expand it.
sram/verilog/sl_sram.v
+
8
−
3
View file @
1ff997de
...
...
@@ -5,6 +5,11 @@ module sl_sram #(
parameter
AW
=
16
)
(
`ifdef
POWER_PINS
inout
wire
VDDCE
,
inout
wire
VDDPE
,
inout
wire
VSSE
,
`endif
// Inputs
input
wire
CLK
,
input
wire
[
AW
-
1
:
2
]
ADDR
,
...
...
@@ -26,9 +31,9 @@ localparam TIE_RET1N = 1'b1;
rf_sp_hdf
u_rf_sp_hdf
(
`ifdef
POWER_PINS
.
VDDCE
(
1'b1
),
.
VDDPE
(
1'b1
),
.
VSSE
(
1'b0
),
.
VDDCE
(
VDDCE
),
.
VDDPE
(
VDDPE
),
.
VSSE
(
VSSE
),
`endif
.
Q
(
RDATA
),
.
CLK
(
CLK
),
...
...
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