01 - Preheat oven to 350°F. Grease and flour an 8-inch round cake pan, then line with parchment paper.
02 - In a large mixing bowl, beat softened butter and granulated sugar together with an electric mixer 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 - In a separate bowl, sift together ground pistachios, flour, baking powder, and salt until well blended.
05 - Add dry ingredients to the butter mixture in three additions, alternating with milk in two additions. Begin and end with dry ingredients. Mix until just combined, being careful not to overmix.
06 - Gently fold fresh raspberries into the batter using a rubber spatula, taking care to avoid crushing the berries.
07 - Transfer batter to the prepared pan and smooth the surface. Bake for 35-40 minutes, or until a wooden skewer inserted into the center emerges clean.
08 - Allow cake to rest in the pan for 10 minutes before inverting onto a wire rack. Let cool completely to room temperature before frosting.
09 - Beat cream cheese and softened butter together until smooth and creamy. Incorporate powdered sugar, ground pistachios, and vanilla extract. Mix until fully combined and fluffy.
10 - Spread pistachio cream cheese frosting evenly over the cooled cake. Garnish with additional fresh raspberries and chopped pistachios if desired.