The brainstem and thalamus The brainstem, including the medulla and pons, is an extension of your spinal cord. The thalamus is attached to its top. The reticular formation passes through both structures.