01 - Preheat oven to 350°F. Grease and line an 8-inch round cake pan with parchment paper.
02 - In a large mixing bowl, beat softened butter and granulated sugar together until pale and fluffy, approximately 3-4 minutes.
03 - Add eggs one at a time, mixing thoroughly after each addition. Stir in vanilla extract.
04 - In a separate bowl, whisk together ground pistachios, flour, baking powder, and salt until evenly combined.
05 - Add dry ingredients to butter mixture in three portions, alternating with milk in two additions. Begin and end with dry ingredients. Mix until just incorporated, being careful not to overmix.
06 - Gently fold fresh raspberries into batter using a rubber spatula, taking care to maintain berry integrity.
07 - Transfer batter to prepared pan, smoothing surface evenly. Bake for 35-40 minutes until a wooden skewer inserted into center emerges clean.
08 - Allow cake to cool in pan for 10 minutes before removing. Transfer to wire rack and cool completely before frosting.
09 - Beat cream cheese and butter until smooth and creamy. Incorporate powdered sugar, ground pistachios, and vanilla extract. Mix until fluffy and well combined.
10 - Spread frosting evenly over cooled cake. Garnish with additional fresh raspberries and chopped pistachios as desired.