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, approximately 3-4 minutes.
03 - Add eggs one at a time, mixing thoroughly after each addition. Blend in vanilla extract.
04 - Whisk together ground pistachios, flour, baking powder, and salt in a separate bowl.
05 - Alternate adding dry ingredients and milk to the butter mixture in three additions, starting and ending with flour mixture. Mix until just incorporated.
06 - Gently fold fresh raspberries into the batter, being careful to maintain berry integrity.
07 - Transfer batter to prepared pan and level surface. Bake for 35-40 minutes until a skewer inserted into the center emerges clean. Cool in pan for 10 minutes, then release onto wire rack to cool completely.
08 - Beat cream cheese and butter until smooth. Incorporate powdered sugar, ground pistachios, and vanilla extract until creamy and uniform.
09 - Spread frosting evenly over cooled cake. Garnish with additional raspberries and chopped pistachios as desired.