Preheat oven to 350°F (175°C) and grease a 9-inch pan.
In a large bowl, whisk together flour, sugar, baking powder, baking soda, and salt.
In another bowl, mix sour cream, eggs, butter, and vanilla until smooth.
Gradually add the wet ingredients to the dry ingredients, stirring just to combine.
Gently fold in fresh raspberries.
Pour batter into the prepared pan.
For the topping, combine sugar, flour, and butter, then sprinkle over the cake.
Bake for 35-40 minutes or until a toothpick comes out clean.
Cool before serving.