Catalan referendum: A look at Spain's constitution
With a week to go until the vote on Scottish independence, the debate is being closely watched in Spain, where many Catalans are pushing for a referendum to decide whether the north-eastern region should be allowed to break away too.
The BBC's Tom Burridge looks at the Spanish constitution's rules for calling a referendum.