Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
macroplacement
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
macroplacement
Commits
6aa2d7a0
Commit
6aa2d7a0
authored
Apr 27, 2023
by
sakundu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated tc_sram file of MemPool Group
Signed-off-by: sakundu <sakundu@ucsd.edu>
parent
06b34b7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
Testcases/mempool/rtl/tech_cells_generic/src/rtl/tc_sram.sv
+15
-1
No files found.
Testcases/mempool/rtl/tech_cells_generic/src/rtl/tc_sram.sv
View file @
6aa2d7a0
...
...
@@ -95,7 +95,21 @@ module tc_sram #(
fakeram45_64x64
fr_sp_instance1
(
.
rd_out
(
rdata_o
[
0
][
127
:
64
])
,
.
clk
(
clk_i
)
,
.
ce_in
(
~
req_i
)
,
.
we_in
(
we_i
)
,
.
addr_in
(
addr_i
)
,
.
wd_in
(
wdata_i
[
0
][
127
:
64
]))
;
fakeram45_64x64
fr_sp_instance2
(
.
rd_out
(
rdata_o
[
0
][
191
:
128
])
,
.
clk
(
clk_i
)
,
.
ce_in
(
~
req_i
)
,
.
we_in
(
we_i
)
,
.
addr_in
(
addr_i
)
,
.
wd_in
(
wdata_i
[
0
][
191
:
128
]))
;
fakeram45_64x64
fr_sp_instance3
(
.
rd_out
(
rdata_o
[
0
][
255
:
192
])
,
.
clk
(
clk_i
)
,
.
ce_in
(
~
req_i
)
,
.
we_in
(
we_i
)
,
.
addr_in
(
addr_i
)
,
.
wd_in
(
wdata_i
[
0
][
255
:
192
]))
;
end
end
else
if
(
DataWidth
==
256
&&
NumWords
==
128
)
begin
fakeram45_128x256
sram_instance
(
.
rd_out
(
rdata_o
[
0
])
,
.
clk
(
clk_i
)
,
.
ce_in
(
~
req_i
)
,
.
we_in
(
we_i
)
,
.
addr_in
(
addr_i
)
,
.
wd_in
(
wdata_i
[
0
]))
;
end
else
if
(
DataWidth
==
23
&&
NumWords
==
128
)
begin
logic
[
31
:
0
]
wdata_aligned
;
logic
[
31
:
0
]
rdata_aligned
;
always_comb
begin
:
p_align
wdata_aligned
=
'0
;
wdata_aligned
[
22
:
0
]
=
wdata_i
[
0
]
;
rdata_o
[
0
]
=
rdata_aligned
[
22
:
0
]
;
end
fakeram45_128x32
sram_instance
(
.
rd_out
(
rdata_aligned
)
,
.
clk
(
clk_i
)
,
.
ce_in
(
~
req_i
)
,
.
we_in
(
we_i
)
,
.
addr_in
(
addr_i
)
,
.
wd_in
(
wdata_aligned
))
;
end
else
begin
// memory array
data_t
sram
[
NumWords
-
1
:
0
]
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment