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
Create a bitstream stand alone with BSP.
Goto page 1, 2  Next
 
Post new topic   Reply to topic    II Support Forum Index -> MatLab/SimuLink Development Corner
View previous topic :: View next topic  
Author Message
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Tue Mar 22, 2011 9:20 am    Post subject: Create a bitstream stand alone with BSP. Reply with quote

Dear Support

A customer has a problem to create bit stream stand alone with BSP.

Software release:
BSP version 7.3
Version xilinx : 11.3
Version MatLab : R2008b

He followed the procedure at the end of BSP manual and removed gateway:
“Remove all the memory mapped gateway from the design as shown in the x5_400m_implement.mdl file in the default example folder”

Case 1: NGC netlist without Gateways, error during generation (see attached files called “erreur1.JPG” & “sysgen1.JPG”)
Case 2: NGC netlist with Gateways, compiling error with ISE (see attached files called “erreur2.JPG” & “sysgen2.JPG”)
Case 3: Bitstream, error during generation (see attached files called “erreur3.JPG” & “sysgen3.JPG”)

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
bkao



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

PostPosted: Tue Mar 22, 2011 1:53 pm    Post subject: Reply with quote

Arnaud,

Can you attach the mdl project?

Billy
Back to top
View user's profile Send private message Send e-mail
bkao



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

PostPosted: Tue Mar 22, 2011 3:10 pm    Post subject: Reply with quote

For case 1 and 2, it seems the user doesn't replace the gateways with constants. So the compiler complains no proper inputs.

For case 3, you can't select bitstream in Xilinx token. You need to generate the ngc netlist and compile with the FrameWork logic in ISE for the final bit file.

Billy
Back to top
View user's profile Send private message Send e-mail
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Wed Mar 23, 2011 6:11 am    Post subject: Reply with quote

Hello Billy,


The customer has repalced gateways with constants.
You can find enclosed .mdl file.

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
bkao



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

PostPosted: Thu Mar 24, 2011 2:54 pm    Post subject: Reply with quote

Arnaud,

Please attach the file.

Billy
Back to top
View user's profile Send private message Send e-mail
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Thu Mar 24, 2011 11:48 pm    Post subject: Reply with quote

Enclosed .mdl file
_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Mon Mar 28, 2011 3:04 pm    Post subject: Reply with quote

Hi Arnaud,
I have attached a Matlab BSP manual for your reference.
Page 71 and 72 describes the procedure for standalone bit image generation.

Sincerely,
Amit Mane
Innovative Integration Inc
Simi Valley Ca 93065
Back to top
View user's profile Send private message Visit poster's website
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Tue Apr 05, 2011 1:44 am    Post subject: Reply with quote

Hi Amit,

With the standard x5_400m_implement.mdl, there is no problem to create bit stream standalone.

The problem is with their .mdl file.

If you have a clue ...

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Wed Apr 06, 2011 3:03 pm    Post subject: Reply with quote

Hi Arnaud,
Please try to compile this file FOR STANDALONE BIT IMAGE.
Sincerely,
AMIT
Back to top
View user's profile Send private message Visit poster's website
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Wed May 11, 2011 5:24 am    Post subject: Reply with quote

Dear support,


A customer tried to generate a .bit stream standalone but he has several errors messages. Use attached file called "error_message".

You can find enclosed .ngc file generated by Simulink and project files.

Tools used:
ISE 11.3 & System generator
MatLab 2008b

Thanks for your help

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Thu May 12, 2011 3:46 pm    Post subject: Reply with quote

Hi,
It looks like the ngc was generated with memory mapped gateways from Xilinx System Generator.
Before the compilation you must remove all the user defined input and output gateways from the design.
Sincerely,
Amit
Back to top
View user's profile Send private message Visit poster's website
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Fri May 13, 2011 12:36 am    Post subject: Reply with quote

Hi Amit,

Indeed, there is one gateway. The customer cannot remove this gateway because he is using a dual RAM port which he is using only input A for write.
If he does not put a gateway on dinB, there is an error message which mentions that the compiler cannot resolve this type of data:
Rates and types converged for the feedback path through these blocks.However, the solution contains unknowns. Could not establish types for the blocks listed at the end of this message.
He cannot use Assert bloc because it requires data input.

Can tell us the way to solve this issue?

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Fri May 13, 2011 6:56 am    Post subject: Reply with quote

Hi Amit,

I don’t if you can help on this issue
You can find below the request:
“We have tried to test our system in co-simulation. We have noticed that the scroll bar time under Simulink did not correspond to the real time. We believe that this can cause problems if we work in continuous flow. Can you confirm?
To bypass these issues, instead of use ADC to snap data (X5-400M), we wrote data in hard using ROMs. However, our system does not work. When we are using Snap example, HsData.bin includes only hexadecimal string "0280 0000 0100 0000" repeated 350 times instead of the result expected.
When we are doing a simulation of our model, it works as expected.
Do you a clue to explain that it does not work in co-simulation?"

Thanks

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Wed May 25, 2011 8:17 am    Post subject: Reply with quote

Dear Support,

To bypass this problem, the customer add a constant on the input B of the dual RAM port.
The design works as expected.

However, the customer would like to know if there is a way to not put a constant of second port of dual RAM Port?

Attached design

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
jpat34721



Joined: 30 Nov 2010
Posts: 64
Location: Santa Rosa, CA

PostPosted: Tue Apr 10, 2012 12:00 pm    Post subject: What is the procedure for the X6? Reply with quote

item 10 on page 72 of the x5 manual you quoted says "Open the ISE project at <X5 Root>/400M/400M/Matlab/rev_E/Logic"

The corresponding directory is not there for the X6 and the only *.xise file I can find (x6_400M.xise) is under x6_400M/Hardware/FrameWorkLogic/X6_400M_r1.0/400M/logic/rev_a/ise.

Is that the one I should use?

Thanks,
Jeff Patterson
Agilent Technologies
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> MatLab/SimuLink Development Corner (GMT - 8 Hours)
Goto page 1, 2  Next
Page 1 of 2

 
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