SyntaxFix
Write A Post
Hire A Developer
Questions
1 << ADDR_WIDTH means 1 will be shifted 8 bits to the left and will be assigned as the value for RAM_DEPTH.
1 << ADDR_WIDTH
RAM_DEPTH
In addition, 1 << ADDR_WIDTH also means 2^ADDR_WIDTH.
Given ADDR_WIDTH = 8, then 2^8 = 256 and that will be the value for RAM_DEPTH
ADDR_WIDTH = 8
2^8 = 256