Merge pull request #29 from Manarabdelaty/param_adr

Added localparam for calculating mem address bits