Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
hwcosim problem (X6-400M)

 
Post new topic   Reply to topic    II Support Forum Index -> X6-400M
View previous topic :: View next topic  
Author Message
syedbilal



Joined: 01 Jul 2012
Posts: 77
Location: Germany

PostPosted: Mon Jul 02, 2012 6:51 am    Post subject: hwcosim problem (X6-400M) Reply with quote

Hi,
I have just started working on X6-400M and wanted to check the board in hwcosim. For that I used a very simple model. The data is passed from Simulink to FPGA using gateway in and after addition in FPGA is dumped to Matlab variable using gateway out. The problem is that after downloading the bits to FPGA when i run the model in hwcosim, i just received zeros while without hwcosim simulink shows the correct result.

My question is: do i need to add something else to my model? Currently the hwcosim model consist of gateway in, adder, gateway out and system generator tokem.

It would be great help if you can attach a simple hwcosim working model (e.g: just sending and receiving data).

Regards,

_________________
Bilal Hussain
MSc Communication Engineering
Rheinsich Westfälische Technische Hochschule
Aachen, Germany
Back to top
View user's profile Send private message
bkao



Joined: 09 Feb 2007
Posts: 199
Location: Innovative Integration

PostPosted: Mon Jul 02, 2012 9:11 am    Post subject: Reply with quote

Could you post your design please?

Thanks,

Billy

_________________
Billy Kao

Innovative Integration
Back to top
View user's profile Send private message Send e-mail
syedbilal



Joined: 01 Jul 2012
Posts: 77
Location: Germany

PostPosted: Tue Jul 03, 2012 1:28 am    Post subject: Reply with quote

Hi Billy,
I have attached the original model, hwcosim model and bit file. In this simple model, I am just adding two numbers (2 and 3), when i download the bit stream to X6_400M and run simulation, in the display its all zeros instead of 5.

Hope you can suggest something.

Regards,

_________________
Bilal Hussain
MSc Communication Engineering
Rheinsich Westfälische Technische Hochschule
Aachen, Germany
Back to top
View user's profile Send private message
syedbilal



Joined: 01 Jul 2012
Posts: 77
Location: Germany

PostPosted: Tue Jul 03, 2012 1:44 am    Post subject: Reply with quote

One more thing, i can see that Fixed point Toolbox is missing in my matlab. Is it necessary to run hwcosim model?

Regards,

_________________
Bilal Hussain
MSc Communication Engineering
Rheinsich Westfälische Technische Hochschule
Aachen, Germany
Back to top
View user's profile Send private message
bkao



Joined: 09 Feb 2007
Posts: 199
Location: Innovative Integration

PostPosted: Tue Jul 03, 2012 10:51 am    Post subject: Reply with quote

Syedbilal,

The sample period in "gateway in" shall be the system clock, Ts=1/200e6 for example.

Please also set the right clock in Xilinx token -> clocking -> simulink system period.

Please try it again.

I saw you remove all our BSP interface components and that may cause problems. I suggest to put the adder in default example and compile it.

Billy

_________________
Billy Kao

Innovative Integration
Back to top
View user's profile Send private message Send e-mail
syedbilal



Joined: 01 Jul 2012
Posts: 77
Location: Germany

PostPosted: Wed Jul 04, 2012 5:47 am    Post subject: Reply with quote

Hi Billy,
I did the changes as you told me but the problem is still there. I can not see the output in simulink. You can see the models in the attached file. I am using the MATLAB 2010b on Windows 7 64 bit. Do you think that operating system or version could be the problem? but the compilation and bit generation process run smoothly.


Regards,
Bilal

_________________
Bilal Hussain
MSc Communication Engineering
Rheinsich Westfälische Technische Hochschule
Aachen, Germany
Back to top
View user's profile Send private message
syedbilal



Joined: 01 Jul 2012
Posts: 77
Location: Germany

PostPosted: Wed Jul 04, 2012 6:07 am    Post subject: Reply with quote

I mean after loading the bit stream on FPGA, I can not see the output in Display block.
_________________
Bilal Hussain
MSc Communication Engineering
Rheinsich Westfälische Technische Hochschule
Aachen, Germany
Back to top
View user's profile Send private message
syedbilal



Joined: 01 Jul 2012
Posts: 77
Location: Germany

PostPosted: Thu Jul 05, 2012 6:04 am    Post subject: Reply with quote

Dear Billy,
I have the same problem when i implemented the dio model in the Example folder of X6-400M. I didnot change anything and just generated the bit stream and downloaded it. After running the model
"x6_400m_dio_hwcosim.mdl", i can only see 0's.
What I understand from this example is that if we set the corresponding DIO pin from MATLAB, it should be set on the board. If i am write then can i see the voltage at the corresponding DIO pin using digital multimeter while this model is running in hwcosim.

Regards,
Bilal

_________________
Bilal Hussain
MSc Communication Engineering
Rheinsich Westfälische Technische Hochschule
Aachen, Germany
Back to top
View user's profile Send private message
syedbilal



Joined: 01 Jul 2012
Posts: 77
Location: Germany

PostPosted: Mon Jul 09, 2012 12:20 pm    Post subject: Reply with quote

Hi Billy,
I am still waiting for the reply. Have you checked the models that I have sent you. The bit files are also attached with them.

Regards,
Bilal

_________________
Bilal Hussain
MSc Communication Engineering
Rheinsich Westfälische Technische Hochschule
Aachen, Germany
Back to top
View user's profile Send private message
rvanbuskirk



Joined: 20 Jul 2009
Posts: 162

PostPosted: Fri Jul 13, 2012 8:04 am    Post subject: Reply with quote

Our logic design group is investigating and will report back ASAP.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> X6-400M (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional