01 - Preheat oven to 350°F. Grease and line an 8-inch round cake pan with parchment paper.
02 - Beat softened butter and granulated sugar in a mixing bowl until pale and fluffy, about 3-4 minutes.
03 - Add eggs one at a time, beating thoroughly after each addition. Mix in vanilla extract.
04 - Whisk together ground pistachios, flour, baking powder, and salt in a separate bowl.
05 - Add dry mixture to butter mixture in three additions, alternating with milk in two additions. Begin and end with dry ingredients. Mix until just combined.
06 - Gently fold raspberries into batter using a spatula, taking care to avoid crushing the berries.
07 - Pour batter into prepared pan and smooth top. Bake 35-40 minutes until a wooden skewer inserted into center comes out clean.
08 - Let cake cool in pan 10 minutes, then invert onto wire rack to cool completely before frosting.
09 - Beat cream cheese and butter until smooth. Add powdered sugar, ground pistachios, and vanilla extract. Mix until creamy and uniform.
10 - Spread frosting over cooled cake. Garnish with additional fresh raspberries and chopped pistachios as desired.