Re: [casper] Trouble compiling tutorial 1

2017-06-28 Thread Jack Hickish
Hi Colin,

I don't think many people are supporting windows, though there was an email
from a few hours ago --
https://www.mail-archive.com/casper@lists.berkeley.edu/msg06862.html --
which had a link to a windows-friendly repo version. Perhaps this would be
useful to you.

Jack

On Wed, 28 Jun 2017 at 09:39 Jonathon Kocz  wrote:

> Hi Colin,
>
> It looks to me like your design is compiling fine (generating the .bit and
> .bin files), but that there is a issue with the final script that turns the
> .bin file into the .bof file that we load onto the hardware.
>
> Under the model directory, there will be an XPS_ROACH_BASE (or
> XPS_ROACH2_BASE) directory, that will have a "gen_prog_files.bat" script.
> If you manually run that script (or the commands in that script)  via a
> command window  (you really only need the mkbof.exe line: "mkbof.exe -o
> implementation\system.bof -s core_info.tab -t 3 implementation\system.bin")
> that should generate the .bof file that you need to upload.
>
> There is probably a permanent fix for this, but I'm not sure 100% sure
> what the cause is. - Is it recognizing windows as your OS when you first
> start running the toolflow? It could be that it's trying to run the wrong
> command for windows, or that the gen_prog_files.bat script needs an update
> to deal with newer versions of windows.
>
> Hope this helps,
>
> Jonathon
>
>
>
>
>
> On 28 June 2017 at 09:21,  wrote:
>
>> Hi everyone,
>>
>> I am having trouble compiling tutorial 1 from the casper site.
>> I have come across a few errors for which I found solutions to in the
>> mail archive but I cannot find a solution to my current error.
>>
>> "Running Bitgen.."
>> "*"
>> cd implementation & bitgen -w -f bitgen.ut system & cd ..
>> Release 14.7 - Bitgen P.20131013 (nt64)
>> Copyright (c) 1995-2013 Xilinx, Inc.  All rights reserved.
>> PMSPEC -- Overriding Xilinx file
>>  with local file
>> 
>> Loading device for application Rf_Device from file '5vsx95t.nph' in
>> environment
>> C:\Xilinx\14.7\ISE_DS\ISE\;C:\Xilinx\14.7\ISE_DS\EDK.
>>"system" is an NCD, version 3.2, device xc5vsx95t, package ff1136,
>> speed -1
>> Opened constraints file system.pcf.
>>
>> Wed Jun 28 17:07:21 2017
>>
>> Running DRC.
>> WARNING:PhysDesignRules:367 - The signal  is
>>incomplete. The signal does not drive any load pins in the design.
>> DRC detected 0 errors and 1 warnings.  Please see the previously
>> displayed
>> individual error or warning messages for more details.
>> Creating bit map...
>> Saving bit stream in "system.bit".
>> Saving bit stream in "system.bin".
>> Bitstream generation is complete.
>> '.' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>> : Programation files generation failed, EDK compilation probably also
>> failed.
>> Backtrace 1: gen_xps_files:701
>> Backtrace 2: run_Callback:158
>> Backtrace 3: casper_xps:88
>> Backtrace 4:
>> @(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject)):0
>>
>> Everything seems to run fine until I get to the  "Running Bitgen.."part
>> and then I run into 'Programation files generation failed, EDK compilation
>> probably also failed' and no files get generated. I also get an error popup
>> from matlab which is attached, stating "error detected running casper xps:
>> Programation files generation failed, EDK compilation probably also failed"
>>
>> I am running Xilinx 14.7 with pcores added from 11.x with Matlab 2013a.
>>
>> Any help would be much appreciated.
>>
>> Regards,
>>
>> Colin.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "casper@lists.berkeley.edu" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To post to this group, send email to casper@lists.berkeley.edu.
>>
>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To post to this group, send email to casper@lists.berkeley.edu.
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] Trouble compiling tutorial 1

2017-06-28 Thread Jonathon Kocz
Hi Colin,

It looks to me like your design is compiling fine (generating the .bit and
.bin files), but that there is a issue with the final script that turns the
.bin file into the .bof file that we load onto the hardware.

Under the model directory, there will be an XPS_ROACH_BASE (or
XPS_ROACH2_BASE) directory, that will have a "gen_prog_files.bat" script.
If you manually run that script (or the commands in that script)  via a
command window  (you really only need the mkbof.exe line: "mkbof.exe -o
implementation\system.bof -s core_info.tab -t 3 implementation\system.bin")
that should generate the .bof file that you need to upload.

There is probably a permanent fix for this, but I'm not sure 100% sure what
the cause is. - Is it recognizing windows as your OS when you first start
running the toolflow? It could be that it's trying to run the wrong command
for windows, or that the gen_prog_files.bat script needs an update to deal
with newer versions of windows.

Hope this helps,

Jonathon





On 28 June 2017 at 09:21,  wrote:

> Hi everyone,
>
> I am having trouble compiling tutorial 1 from the casper site.
> I have come across a few errors for which I found solutions to in the mail
> archive but I cannot find a solution to my current error.
>
> "Running Bitgen.."
> "*"
> cd implementation & bitgen -w -f bitgen.ut system & cd ..
> Release 14.7 - Bitgen P.20131013 (nt64)
> Copyright (c) 1995-2013 Xilinx, Inc.  All rights reserved.
> PMSPEC -- Overriding Xilinx file
>  with local file
> 
> Loading device for application Rf_Device from file '5vsx95t.nph' in
> environment
> C:\Xilinx\14.7\ISE_DS\ISE\;C:\Xilinx\14.7\ISE_DS\EDK.
>"system" is an NCD, version 3.2, device xc5vsx95t, package ff1136,
> speed -1
> Opened constraints file system.pcf.
>
> Wed Jun 28 17:07:21 2017
>
> Running DRC.
> WARNING:PhysDesignRules:367 - The signal  is
>incomplete. The signal does not drive any load pins in the design.
> DRC detected 0 errors and 1 warnings.  Please see the previously displayed
> individual error or warning messages for more details.
> Creating bit map...
> Saving bit stream in "system.bit".
> Saving bit stream in "system.bin".
> Bitstream generation is complete.
> '.' is not recognized as an internal or external command,
> operable program or batch file.
>
> : Programation files generation failed, EDK compilation probably also
> failed.
> Backtrace 1: gen_xps_files:701
> Backtrace 2: run_Callback:158
> Backtrace 3: casper_xps:88
> Backtrace 4: @(hObject,eventdata)casper_xps('run_Callback',hObject,
> eventdata,guidata(hObject)):0
>
> Everything seems to run fine until I get to the  "Running Bitgen.."part
> and then I run into 'Programation files generation failed, EDK compilation
> probably also failed' and no files get generated. I also get an error popup
> from matlab which is attached, stating "error detected running casper xps:
> Programation files generation failed, EDK compilation probably also failed"
>
> I am running Xilinx 14.7 with pcores added from 11.x with Matlab 2013a.
>
> Any help would be much appreciated.
>
> Regards,
>
> Colin.
>
>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To post to this group, send email to casper@lists.berkeley.edu.
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.