Oct 6, 2015 #1 D degalabalaji1992 Newbie level 1 Joined Oct 6, 2015 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 5 What is meant by Bit Masking when we are taking 8-bits of Address i want to mask some of the bits which are not considered while evaluating Address?
What is meant by Bit Masking when we are taking 8-bits of Address i want to mask some of the bits which are not considered while evaluating Address?
Oct 6, 2015 #2 ads-ee Super Moderator Staff member Joined Sep 10, 2013 Messages 7,944 Helped 1,822 Reputation 3,654 Reaction score 1,808 Trophy points 1,393 Location USA Activity points 60,207 I checked the LRM but didn't find anything that was specifically SV about bit masking? bit masking is usually just some and operation with a mask to remove some bits from consideration e.g. Code: parameter mask 8'hF0; assign decode_c = (addr & mask) == 8'hC0; In this example we are looking for the addresses that fall between 0xC0 - 0xCF
I checked the LRM but didn't find anything that was specifically SV about bit masking? bit masking is usually just some and operation with a mask to remove some bits from consideration e.g. Code: parameter mask 8'hF0; assign decode_c = (addr & mask) == 8'hC0; In this example we are looking for the addresses that fall between 0xC0 - 0xCF