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 - Add dry ingredients to butter mixture in three additions, alternating with milk, starting and ending with dry ingredients. Mix until just incorporated.
06 - Gently fold fresh raspberries into batter, being careful to maintain berry integrity.
07 - Transfer batter to prepared pan, smoothing surface. Bake for 35-40 minutes until a wooden skewer inserted into center emerges clean. Cool in pan for 10 minutes before transferring to wire rack.
08 - Combine cream cheese and butter until smooth. Incorporate powdered sugar, ground pistachios, and vanilla extract. Beat until creamy and uniform.
09 - Spread frosting over completely cooled cake. Garnish with additional raspberries and chopped pistachios as desired.