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, beating thoroughly after each addition. Mix in vanilla extract.
04 - In a separate bowl, whisk together ground pistachios, flour, baking powder, and salt until well blended.
05 - Add dry ingredients to butter mixture in three additions, alternating with milk in two additions, beginning and ending with dry ingredients. Mix until just combined.
06 - Gently fold raspberries into 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 until a wooden skewer inserted into center comes out clean. Cool in pan for 10 minutes before transferring to wire rack.
08 - Beat cream cheese and butter until smooth and creamy. Incorporate powdered sugar, ground pistachios, and vanilla extract. Mix until fully combined and spreadable.
09 - Once cake has cooled completely, spread frosting evenly over top. Garnish with additional raspberries and chopped pistachios if desired.