Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Accelerator Wrapper Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
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 Wrapper Tech
Commits
90cc3745
Commit
90cc3745
authored
2 years ago
by
David Mapstone
Browse files
Options
Downloads
Patches
Plain Diff
fix:
SOC1-153
: Fixed signal name bug in address calculator
parent
944f600c
No related branches found
No related tags found
1 merge request
!31
SOC1-141: Restructured deconstruction buffer to remove registers and do packet...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hdl/src/wrapper_addr_calc.sv
+3
-3
3 additions, 3 deletions
hdl/src/wrapper_addr_calc.sv
with
3 additions
and
3 deletions
hdl/src/wrapper_addr_calc.sv
+
3
−
3
View file @
90cc3745
...
@@ -26,11 +26,11 @@ module wrapper_addr_calc #(
...
@@ -26,11 +26,11 @@ module wrapper_addr_calc #(
logic
[
ADDRWIDTH
-
1
:
0
]
block_byte_count
;
// Number of Bytes taken up by Block
logic
[
ADDRWIDTH
-
1
:
0
]
block_byte_count
;
// Number of Bytes taken up by Block
logic
[
ADDRWIDTH
:
0
]
end_word_addr
;
// First Address at start of next region
logic
[
ADDRWIDTH
:
0
]
end_word_addr
;
// First Address at start of next region
logic
[
ADDRWIDTH
:
0
]
block_
read_
addr_ext
;
// Relative Address extended by 1 bit
logic
[
ADDRWIDTH
:
0
]
block_addr_ext
;
// Relative Address extended by 1 bit
assign
block_byte_count
=
block_packet_count
*
PACKETBYTES
;
assign
block_byte_count
=
block_packet_count
*
PACKETBYTES
;
assign
end_word_addr
=
{
1'b1
,
{
(
ADDRWIDTH
)
{
1'b0
}}}
;
assign
end_word_addr
=
{
1'b1
,
{
(
ADDRWIDTH
)
{
1'b0
}}}
;
assign
block_
read_
addr_ext
=
end_word_addr
-
block_byte_count
;
assign
block_addr_ext
=
end_word_addr
-
block_byte_count
;
assign
block_
read_
addr
=
block_
read_
addr_ext
[
ADDRWIDTH
-
1
:
0
];
assign
block_addr
=
block_addr_ext
[
ADDRWIDTH
-
1
:
0
];
endmodule
endmodule
\ No newline at end of file
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