finally 5 posts. Thanks normad for replying.
I did what u told me to do. Here are the steps that I followed:
(1) First I created a new project on Quartus II 9.1.
I gave my project name as ‘test1’. Then I clicked next and I added all the verilog modules files with .v extension along with the ‘control_nios.sopc’. I clicked finish then I can see all these files in the project explorer window. I assigned ‘ampmain.v’ as the top level module. Then I double clicked the ‘control_nios.sopc’ which gave me SOPC builder application window as seen here
http://i951.photobucket.com/albums/ad351/ajective/firststep.jpg Then I click generate at the bottom of the window, it take some time to process then gave me this
http://i951.photobucket.com/albums/ad351/ajective/generate.jpg (2) Then I opened the NIOS II eclipse platform. I did
File > New > NIOS application
Gave the name test1 for the project.
http://i951.photobucket.com/albums/ad351/ajective/23.jpg At the bottom of BSP location I clicked the button ‘create’ which gave me this window
http://i951.photobucket.com/albums/ad351/ajective/create.jpg Then I gave the project name ‘test12’ since I couldn’t give it the name ‘test1’. Then I clicked the SOPC information filename button and browse to
c:\altera\91\nios2eds\examples\verilog\nios_ii_cycolone2_2c35\standard\NiosII_cycloneII_2c35_standard_sopc.sopcinfo And clicked open
http://i951.photobucket.com/albums/ad351/ajective/sopc.jpg Then I right clicked test1 > build project
Then right clicked
http://i951.photobucket.com/albums/ad351/ajective/mainprojec.jpg test1> Run as> NIOS II Hardware.
I got into the another window. The run button was disables and I could see the
‘cross’ mark on ‘Target Connection’ tab
http://i951.photobucket.com/albums/ad351/ajective/runconfig-1.jpg I then opened the programmer from
NIOS II> Quartus II Programmer. On the add file I browsed to
c:\altera\91\nios2eds\examples\verilog\nios_ii_cycolone2_2c35\standard\ NiosII_cycloneII_2c35_standard.sof
and open. Then I clicked start. The LEDs stopped flashing and I got 100%succesful on top of the programmer. I thought I reason I saw the cross icon on the target location was because I didn’t do this step. I went back to NIOS II and redo Run as > NIOS II Hardware I still see the same thing. I am stuck here and I would really appreciate it if anyone can help me out.