Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
BRAM reconfiguration problem using OPB_HWICAP on Virtex 4
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ulegat  
View profile  
 More options Nov 5, 10:08 am
Newsgroups: comp.arch.fpga
From: "ulegat" <uros.le...@ijs.si>
Date: Thu, 05 Nov 2009 09:08:16 -0600
Local: Thurs, Nov 5 2009 10:08 am
Subject: BRAM reconfiguration problem using OPB_HWICAP on Virtex 4
Hello!

I am trying to use partial reconfiguration to change the contents of BRAM
belonging to USER IP. I am able to read the BRAM FRAME, but not able to
write (details about frame contents below).

XPS 10.1 (lin64) OPB_HWICAP 1.10a, FPGA Virtex 4(xc4vlx25)

Here is the example:

Buffer after  frame read:

XHwIcap_DeviceReadFrameV4(&hwicap,1,2,2,1,0);

Target BRAM content was initialized with all 1s. Which can be seen from
buffer words 93 to 102.

So the buffer is read ok!

NO| Buffer word contents

  0   30008001
  1   0000000d
  2   ffffffff
  3   ffffffff
  4   30008001
  5   00000007
  6   20000000
  7   20000000
  8   30008001
  9   00000004
 10   20000000
 11   20000000
 12   20000000
 13   30002001
 14   00508041
 15   28006053
 16   20000000
 17   20000000
 18   00000000
 19   00000000
  .

  .
  .

 72   49cf8943
 73   fa0eebe8
 74   c20eb84d
 75   63db694d
 76   0000991d
 77   4d938a80
 78   e6e4cf41
 79   df21db17
 80   55d627a6
 81   0070978d
 82   00000000
 83   49cf8943
 84   fa0eebe8
 85   c20eb84d
 86   63db694d
 87   0000991d
 88   4d938a80
 89   e6e4cf41
 90   df21db17
 91   55d627a6
 92   0070978d
 93   ffffffff
 94   ffffffff
 95   ffffffff
 96   ffffffff
 97   0000ffff
 98   ffffff80
 99   ffffffff
100   ffffffff
101   ffffffff
102   00ffffff
103   00000000

For example that I want to change one word of BRAM contents

I changed word 99 to of the frame buffer to 0f0f0f0f.

Buffer after  frame write

XHwIcap_DeviceWriteFrameV4(&hwicap,1,2,2,1,0);

   0    30008001
   1    0000000d
   2    ffffffff
   3    ffffffff
   4    30000001
   5    0000defc
   6    20000000
   7    20000000
   8    30012001
   9    10042fdd
  10    30018001
  11    0167c093
  12    30002001
  13    00508041
  14    30008001
  15    00000001
  16    20000000
  17    30004052
  18    00000000
  19    00000000
  .

  .

  .
  72    49cf8943
  73    fa0eebe8
  74    c20eb84d
  75    63db694d
  76    0000991d
  77    4d938a80
  78    e6e4cf41
  79    df21db17
  80    55d627a6
  81    0070978d
  82    00000000
  83    49cf8943
  84    fa0eebe8
  85    c20eb84d
  86    63db694d
  87    0000991d
  88    4d938a80
  89    e6e4cf41
  90    df21db17
  91    55d627a6
  92    0070978d
  93    ffffffff
  94    ffffffff
  95    ffffffff
  96    ffffffff
  97    0000ffff
  98    ffffff80
  99    0f0f0f0f
 100    ffffffff
 101    ffffffff
 102    00ffffff
 103    00000000

 Now I want to check if the word 99 is realy reconfigured i read the same
frame again.

Buffer after  frame read:

XHwIcap_DeviceReadFrameV4(&hwicap,1,2,2,1,0);

   0      30008001
   1      0000000d
   2      ffffffff
   3      ffffffff
   4      30008001
   5      00000007
   6      20000000
   7      20000000
   8      30008001
   9      00000004
  10      20000000
  11      20000000
  12      20000000
  13      30002001
  14      00508041
  15      28006053
  16      20000000
  17      20000000
  18      00000000
   .

   .

   .
  72      49cf8943
  73      fa0eebe8
  74      c20eb84d
  75      63db694d
  76      0000991d
  77      4d938a80
  78      e6e4cf41
  79      df21db17
  80      55d627a6
  81      0070978d
  82      00000000
  83      49cf8943
  84      fa0eebe8
  85      c20eb84d
  86      63db694d
  87      0000991d
  88      4d938a80
  89      e6e4cf41
  90      df21db17
  91      55d627a6
  92      0070978d
  93      ffffffff
  94      ffffffff
  95      ffffffff
  96      ffffffff
  97      0000ffff
  98      ffffff80
  99      ffffffff
 100      ffffffff
 101      ffffffff
 102      00ffffff
 103      00000000

The word 99  was not configured!!!

 I tried to reconfigure LUT contents in the same way and succeeded.

Maybe my bitgen options are incorect, or BRAM content is protected?

BITGEN:

 -b
-g ActiveReconfig:Yes
-g CclkPin:PULLUP
-g TdoPin:PULLNONE
-g M1Pin:PULLUP
-g DonePin:PULLUP
-g DriveDone:No
-g StartUpClk:JTAGCLK
-g DONE_cycle:4
-g GTS_cycle:5
-g M0Pin:PULLUP
-g M2Pin:PULLUP
-g ProgPin:PULLUP
-g TckPin:PULLUP
-g TdiPin:PULLUP
-g TmsPin:PULLUP
-g DonePipe:No
-g GWE_cycle:6
-g LCK_cycle:NoWait
-g Security:NONE
#-m
-g Persist:No

Hope to get some answers,

Legat


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ulegat  
View profile  
 More options Nov 6, 3:45 am
Newsgroups: comp.arch.fpga
From: "ulegat" <uros.le...@ijs.si>
Date: Fri, 06 Nov 2009 02:45:51 -0600
Local: Fri, Nov 6 2009 3:45 am
Subject: BRAM reconfiguration problem using OPB_HWICAP on Virtex 4
Hello!

I am trying to use partial reconfiguration to change the contents of BRAM
belonging to USER IP. I am able to read the BRAM FRAME, but not able to
write (details about frame contents below).

XPS 10.1 (lin64) OPB_HWICAP 1.10a, FPGA Virtex 4(xc4vlx25)

Here is the example:

Buffer after  frame read:

XHwIcap_DeviceReadFrameV4(&hwicap,1,2,2,1,0);

Target BRAM content was initialized with all 1s. Which can be seen from
buffer words 93 to 102.

So the buffer is read ok!

NO| Buffer word contents

  0   30008001
  1   0000000d
  2   ffffffff
  3   ffffffff
  4   30008001
  5   00000007
  6   20000000
  7   20000000
  8   30008001
  9   00000004
 10   20000000
 11   20000000
 12   20000000
 13   30002001
 14   00508041
 15   28006053
 16   20000000
 17   20000000
 18   00000000
 19   00000000
  .

  .
  .

 72   49cf8943
 73   fa0eebe8
 74   c20eb84d
 75   63db694d
 76   0000991d
 77   4d938a80
 78   e6e4cf41
 79   df21db17
 80   55d627a6
 81   0070978d
 82   00000000
 83   49cf8943
 84   fa0eebe8
 85   c20eb84d
 86   63db694d
 87   0000991d
 88   4d938a80
 89   e6e4cf41
 90   df21db17
 91   55d627a6
 92   0070978d
 93   ffffffff
 94   ffffffff
 95   ffffffff
 96   ffffffff
 97   0000ffff
 98   ffffff80
 99   ffffffff
100   ffffffff
101   ffffffff
102   00ffffff
103   00000000

For example that I want to change one word of BRAM contents

I changed word 99 to of the frame buffer to 0f0f0f0f.

Buffer after  frame write

XHwIcap_DeviceWriteFrameV4(&hwicap,1,2,2,1,0);

   0    30008001
   1    0000000d
   2    ffffffff
   3    ffffffff
   4    30000001
   5    0000defc
   6    20000000
   7    20000000
   8    30012001
   9    10042fdd
  10    30018001
  11    0167c093
  12    30002001
  13    00508041
  14    30008001
  15    00000001
  16    20000000
  17    30004052
  18    00000000
  19    00000000
  .

  .

  .
  72    49cf8943
  73    fa0eebe8
  74    c20eb84d
  75    63db694d
  76    0000991d
  77    4d938a80
  78    e6e4cf41
  79    df21db17
  80    55d627a6
  81    0070978d
  82    00000000
  83    49cf8943
  84    fa0eebe8
  85    c20eb84d
  86    63db694d
  87    0000991d
  88    4d938a80
  89    e6e4cf41
  90    df21db17
  91    55d627a6
  92    0070978d
  93    ffffffff
  94    ffffffff
  95    ffffffff
  96    ffffffff
  97    0000ffff
  98    ffffff80
  99    0f0f0f0f
 100    ffffffff
 101    ffffffff
 102    00ffffff
 103    00000000

 Now I want to check if the word 99 is realy reconfigured i read the same
frame again.

Buffer after  frame read:

XHwIcap_DeviceReadFrameV4(&hwicap,1,2,2,1,0);

   0      30008001
   1      0000000d
   2      ffffffff
   3      ffffffff
   4      30008001
   5      00000007
   6      20000000
   7      20000000
   8      30008001
   9      00000004
  10      20000000
  11      20000000
  12      20000000
  13      30002001
  14      00508041
  15      28006053
  16      20000000
  17      20000000
  18      00000000
   .

   .

   .
  72      49cf8943
  73      fa0eebe8
  74      c20eb84d
  75      63db694d
  76      0000991d
  77      4d938a80
  78      e6e4cf41
  79      df21db17
  80      55d627a6
  81      0070978d
  82      00000000
  83      49cf8943
  84      fa0eebe8
  85      c20eb84d
  86      63db694d
  87      0000991d
  88      4d938a80
  89      e6e4cf41
  90      df21db17
  91      55d627a6
  92      0070978d
  93      ffffffff
  94      ffffffff
  95      ffffffff
  96      ffffffff
  97      0000ffff
  98      ffffff80
  99      ffffffff
 100      ffffffff
 101      ffffffff
 102      00ffffff
 103      00000000

The word 99  was not configured!!!

 I tried to reconfigure LUT contents in the same way and succeeded.

Maybe my bitgen options are incorect, or BRAM content is protected?

BITGEN:

 -b
-g ActiveReconfig:Yes
-g CclkPin:PULLUP
-g TdoPin:PULLNONE
-g M1Pin:PULLUP
-g DonePin:PULLUP
-g DriveDone:No
-g StartUpClk:JTAGCLK
-g DONE_cycle:4
-g GTS_cycle:5
-g M0Pin:PULLUP
-g M2Pin:PULLUP
-g ProgPin:PULLUP
-g TckPin:PULLUP
-g TdiPin:PULLUP
-g TmsPin:PULLUP
-g DonePipe:No
-g GWE_cycle:6
-g LCK_cycle:NoWait
-g Security:NONE
#-m
-g Persist:No

Hope to get some answers,

Legat

---------------------------------------        
This message was sent using the comp.arch.fpga web interface on
http://www.FPGARelated.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google