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 light and fluffy, approximately 3-4 minutes.
03 - Add eggs one at a time, mixing thoroughly after each addition. Incorporate vanilla extract and mix until combined.
04 - In a separate bowl, whisk together finely ground pistachios, all-purpose flour, baking powder, and salt until well blended.
05 - Gradually add dry ingredients 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 the batter using a spatula, taking care to avoid crushing the berries.
07 - Pour batter into prepared pan and smooth surface. Bake for 35-40 minutes or until a wooden skewer inserted into the center comes out clean.
08 - Allow cake to cool in the pan for 10 minutes, then carefully turn out onto a wire rack to cool completely before frosting.
09 - Beat cream cheese and butter until smooth and creamy. Add powdered sugar, ground pistachios, and vanilla extract. Mix until fully combined and fluffy.
10 - Spread pistachio cream cheese frosting evenly over completely cooled cake. Garnish with additional fresh raspberries and chopped pistachios if desired.