Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Activity
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
More
Cancel
Developer Community
IP Products
System
Jump...
Cancel
System
SoC Design forum
Confusion over AMBA AHB hsize[] signal definition
Blogs
Forums
Videos & Files
Help
Jump...
Cancel
New
State
Not Answered
Replies
4 replies
Subscribers
71 subscribers
Views
4515 views
Users
0 members are here
AMBA
Bus Architecture
AHB
Related
Confusion over AMBA AHB hsize[] signal definition
Offline
davemac2 davemac2
over 6 years ago
Note: This was originally posted on 26th February 2008 at
http://forums.arm.com
After reading the AMBA AHB spec rev 2, I am still confused over the relationship of the HSIZE[2:0] signal and the implemented bus width on an interface. If an AHB bus is implemented using 32 bit write and read data buses, I would think this would imply that hsize[2] is essentially unused and always '0' since data transfer width on this bus can only be a byte, half word, or word. Yet, I see interface signal specifications on various 32 bit bus AHB designs where hsize[2] seems to be used and is not optimized out even after synthesis?? My understanding of HSIZE[] and HBURST[] signals is that HBURST[] determines the number of data transfer beats on the bus for a burst transaction whereas HSIZE determines the data width of each transfer. The spec. seems to be vague on this with no examples.
dave mc
Parents
0
Offline
Colin Campbell
over 6 years ago
Note: This was originally posted on 28th February 2008 at
http://forums.arm.com
Hi Dave Mc,
You are correct that HSIZE[2] would never change if your data bus is 32 bits wide as masters cannot issue transfers wider than their natural bus width.
HSIZE will still be described in specifications for such a master as 3 bits wide because HSIZE is defined as 3 bits, and I'm sure if I designed a master with only 2 bits for HSIZE, the first question I would get would be "What is HSIZE[2] driven to ?".
As for why the extra unused bit is not optimised out during synthesis, I guess that comes down to the synthesis tools. You wouldn't optimise it out at component level because the signal appears on the bus interface, but I guess some intelligence from the synthesis tool "might" be able to remove the unused net at a system level.
And your understanding of the meanings of the HSIZE and HBURST signals looks fine to me, so maybe the spec did explain enough after all
JD.
Cancel
Up
0
Down
Reply
Accept answer
Cancel
Reply
0
Offline
Colin Campbell
over 6 years ago
Note: This was originally posted on 28th February 2008 at
http://forums.arm.com
Hi Dave Mc,
You are correct that HSIZE[2] would never change if your data bus is 32 bits wide as masters cannot issue transfers wider than their natural bus width.
HSIZE will still be described in specifications for such a master as 3 bits wide because HSIZE is defined as 3 bits, and I'm sure if I designed a master with only 2 bits for HSIZE, the first question I would get would be "What is HSIZE[2] driven to ?".
As for why the extra unused bit is not optimised out during synthesis, I guess that comes down to the synthesis tools. You wouldn't optimise it out at component level because the signal appears on the bus interface, but I guess some intelligence from the synthesis tool "might" be able to remove the unused net at a system level.
And your understanding of the meanings of the HSIZE and HBURST signals looks fine to me, so maybe the spec did explain enough after all
JD.
Cancel
Up
0
Down
Reply
Accept answer
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
strobe
0
6254
views
3
replies
Latest
27 days ago
by
Christopher Tory
Answered
AXI4-Relationships between the channels
0
1629
views
1
reply
Latest
1 month ago
by
Colin Campbell
Answered
How to assert PSLVERR in APB4 ?
0
1773
views
2
replies
Latest
1 month ago
by
PhanTam
Answered
How AHB Arbiter should handle granting bus masters while performing only a SINGLE transfer?
0
1688
views
1
reply
Latest
1 month ago
by
Colin Campbell
Answered
Should the SPLIT and RETRY response be given only for NONSEQ transfer?
0
2148
views
4
replies
Latest
1 month ago
by
ISHWAR GANIGER
<
>
View all questions in SoC Design forum