[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [partial-reconfig] HWICAP testing



Hi everyone:

 

Just ignore my previous question. I was quite dumb yesterday.

 

 

Kehuai Wu, kw@imm.dtu.dk

Department of Informatics and Mathematical Modelling   

Technical University of Denmark   Building 322

DK-2800 Kgs. Lyngby , Denmark

Phone:  +45 4525 3728

Fax:    +45 4593 0074

 

 

-----Original Message-----
From: owner-partial-reconfig@itee.uq.edu.au [mailto:owner-partial-reconfig@itee.uq.edu.au] On Behalf Of Kehuai Wu
Sent: 19. april 2005 18:03
To: partial-reconfig@itee.uq.edu.au
Subject: [partial-reconfig] HWICAP testing

 

Hi everyone:

 

I’m testing ICAP and HWICAP at the moment. I made an extremely simple program attached with this mail in EDK 6.3.

It does some simple operation with the HWICAP API. So far I’m having some problems, so, a little suggestion is

definitely welcome.

 

For now, the initialization (XHwIcap_Initialize), register value fetching (XHwIcap_GetConfigReg) and

desynchronization (XHwIcap_CommandDesync) works as expected, but every time I write partial bitstream into

ICAP, the microblaze stops running. It appears those programs after reconfiguration can not be reached.

 

My system has a microblaze running at the extreme right of the chip, and a reconfigurable part at extremely left.

After microblaze stops running, I can reset the microblaze and repeat the error. This means that the icap does

not modify anything at microblaze’s side, which is ok. I’ve tested the partial bitstream with jtag downloading, and it works

perfectly.

 

The partial bitstream is difference based, and is generated by bitgen –r. It basically has the following parts:

 

11 control words

212 configuration words for the only frame need to be modified.

3 control words

106 NOOP

4 control words

3 NOOP.

 

It is slightly different from ug002, even if it is generated from bitgen. I changed CRC to default, because

I removed some trash from bit files.

 

I don’t know if anyone can help me on this. I cannot find any demo programs with HWICAP API, so it is possible

that I just made small programming errors.

 

 

 

Kehuai Wu, kw@imm.dtu.dk

Department of Informatics and Mathematical Modelling   

Technical University of Denmark   Building 322

DK-2800 Kgs. Lyngby , Denmark

Phone:  +45 4525 3728

Fax:    +45 4593 0074