01 - Preheat oven to 350°F. Grease and flour an 8-inch round cake pan, lining bottom with parchment paper.
02 - Beat softened butter and granulated sugar in large bowl until light and fluffy, approximately 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 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 incorporated.
06 - Gently fold fresh raspberries into batter using spatula, taking care not to crush berries.
07 - Transfer batter to prepared pan, smoothing top surface. Bake 35-40 minutes until wooden pick inserted in center emerges clean.
08 - Let cake rest in pan 10 minutes before removing to wire rack. Cool completely before frosting.
09 - Beat cream cheese and butter until smooth. Add powdered sugar, ground pistachios, and vanilla extract. Mix until creamy and homogeneous.
10 - Spread frosting evenly over completely cooled cake. Garnish with additional fresh raspberries and chopped pistachios as desired.