Jump to content


Make Error


  • You cannot reply to this topic
4 replies to this topic

#1 Jonathan

    Member

  • Members
  • PipPip
  • 25 posts

Posted 06 July 2009 - 09:41 AM

I get the following error during HDL synthesis:

---Software activated---chmod -R +rw hw
mkdir sw
"C:/Impulse/CoDeveloper3/bin/impulse_lib" "-aC:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml" -hwdirhw -files "..\..\..\..\..\Desktop\BATSFeedServiceFPGA\BATSFeedServiceFPGA_sw.c" BATSFeedAccelerated.xic sw/co_init.c
Impulse C Software Interface Generator
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Loading C:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/FasterTechnology/PPC/PLB/cpu.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/Generic/Generic/system.xml ...
Loading BATSFeedAccelerated.xic ...
for i in ..\..\..\..\..\Desktop\BATSFeedServiceFPGA\BATSFeedServiceFPGA_sw.c; do cp $i sw; done
cp: cannot stat `..........DesktopBATSFeedServiceFPGABATSFeedServiceFPGA_sw.c': No such file or directory
make: *** [software] Error 1
======== Build of target 'build' complete ========

No wonder... there is no DesktopBatsFeedServiceFPGABatsFeedServiceFPGA_sw.c anywhere on my system... Now, there is a \Desktop\BATSFeedServiceFPGA\BATSFeedServiceFPGA_sw.c... Somehow the slashes are being lost, but as the file is listed under software, the slashes are there.

#2 RalphBodenner

    Advanced Member

  • Admin
  • PipPipPip
  • 348 posts

Posted 06 July 2009 - 02:12 PM

Hi Jonathan,

Please use UNIX-style directory separators: '/'. If you enter such paths directly in the Project Options dialog's Build tab, all should be well.

Regards,
Ralph
Ralph Bodenner
Impulse Accelerated Technologies, Inc.

#3 Jonathan

    Member

  • Members
  • PipPip
  • 25 posts

Posted 09 July 2009 - 12:09 PM

QUOTE (RalphBodenner @ Jul 6 2009, 06:12 PM) <{POST_SNAPBACK}>
Hi Jonathan,

Please use UNIX-style directory separators: '/'. If you enter such paths directly in the Project Options dialog's Build tab, all should be well.

Regards,
Ralph


Okay, I had it working for a while, and I have no idea why this started happening, but I'm getting a lot of warnings about cannot make \tmp, and worse, I'm getting an error at the end that I can't make heads or tails of why it's occurring (the chmod one):

======== Building target 'build' in file _Makefile ========
HW_SRC="./BATSAccelerated/BATSAccelerated_hw.c"; \
for i in $HW_SRC; do CPP_INCLUDES="$CPP_INCLUDES -include $i"; done; \
echo | "C:/Impulse/CoDeveloper3/MinGW/bin/gcc" -E -DIMPULSE_C_SYNTHESIS -DRC_INVOKED -DBYTE="unsigned char" -DWORD="unsigned short" -DDWORD="unsigned int" -Dsize_t="long unsigned int" -DNULL=0 -Dstdin=NULL "-IC:\Impulse\CoDeveloper3\Include" "-IC:/Impulse/CoDeveloper3/StageMaster/include" $CPP_INCLUDES - > BATSAccelerated.i
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_snoot" -Timpulse-c BATSAccelerated.i BATSAccelerated.snt
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_prep" BATSAccelerated.snt BATSAccelerated.pk0
bash.exe: warning: could not create /tmp!
Impulse C Transformations
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Build May 13 2009.
processing BATSAccelerated.snt...
"C:/Impulse/CoDeveloper3/bin/impulse_porky" -iterate -fold -unused-syms -unused-types -Dmemcpys -const-prop -scalarize -loop-invariants BATSAccelerated.pk0 BATSAccelerated.pk1
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_porky" -build-arefs BATSAccelerated.pk1 BATSAccelerated.pky
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_impc" BATSAccelerated.pky BATSAccelerated.sic
bash.exe: warning: could not create /tmp!
Impulse C Preprocessor
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Build May 13 2009.
---Software activated---
processing BATSAccelerated.pky...
analyzing co_initialize...
found architecture definition: BATSAccelerated/generic
analyzing config_BATSAccelerated...
creating stream BATSStream ...
creating process ProcBATSUDP ...
creating process ProcParseBATS ...
"C:/Impulse/CoDeveloper3/bin/impulse_s2xml" BATSAccelerated.sic > BATSAccelerated.xic
bash.exe: warning: could not create /tmp!
Impulse C to XML
Copyright 2003-2007, Impulse Accelerated Technologies, Inc.
All rights reserved.
Build May 13 2009.
"C:/Impulse/CoDeveloper3/StageMaster/bin/impulse_sm" -g "-aC:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml" -h BATSAccelerated.xic BATSAccelerated.xhw
bash.exe: warning: could not create /tmp!
Stage Master Version 3.7
Copyright by Green Mountain Computing Systems, 2003-2008.
All rights reserved.
Build May 12 2009.
Analyzing ParseBATS:
............ done 12 blocks
Generating . done
Results:
|----------------------------------------
| ParseBATS
|----------------------------------------
| Block #0:
| Stages: 1
| Max. Unit Delay: 0
| Block #1 loop:
| Stages: 20
| Max. Unit Delay: 0
| Block #2 loop:
| Stages: 2
| Max. Unit Delay: 33| Block #3:
| Stages: 5
| Max. Unit Delay: 3
| Block #4:
| Stages: 2
| Max. Unit Delay: 0
| Block #5 loop:
| Stages: 10
| Max. Unit Delay: 8
| Block #6 loop:
| Stages: 2
| Max. Unit Delay: 33
| Block #7:
| Stages: 2
| Max. Unit Delay: 8
| Block #8:
| Stages: 1
| Max. Unit Delay: 0
| Block #9:
| Stages: 1| Max. Unit Delay: 0
| Block #10:
| Stages: 1
| Max. Unit Delay: 33
| Block #11:
| Stages: 1
| Max. Unit Delay: 0
|----------------------------------------
| Operators:
| 2 Adder(s)/Subtractor(s) (8 bit)
| 3 Adder(s)/Subtractor(s) (32 bit)
| 1 Comparator(s) (9 bit)
| 5 Comparator(s) (32 bit)
|----------------------------------------
| Total Stages: 23
| Max. Unit Delay: 33
| Estimated DSPs: 0|----------------------------------------
Writing output ... done
"C:/Impulse/CoDeveloper3/bin/impulse_arch" "-aC:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml" -dc -no_port_bus_connect -swdir -files "BATSAccelerated_comp.vhd BATSAccelerated_top.vhd " BATSAccelerated.xic /BATSAccelerated_top.vhd
bash.exe: warning: could not create /tmp!
Impulse C HDL Design Generator
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Loading C:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/FasterTechnology/PLB/bus.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/target.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/FasterTechnology/v4tech.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/Generic/Generic/system.xml ...
Loading BATSAccelerated.xic ...
libCoreGenCommon.tcl::GenerateCoreGenFilesForEDK():Starting
ngcString =
libCoreGenCommon.tcl::GenerateCoreGenFilesForEDK():Exiting
"C:/Impulse/CoDeveloper3/bin/impulse_genvhdl.exe" BATSAccelerated.xhw /BATSAccelerated_comp.vhd
bash.exe: warning: could not create /tmp!
Impulse C RTL Component Generator
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Generating ParseBATS ...
---Software activated---
chmod -R +rw
bash.exe: warning: could not create /tmp!
chmod: missing operand after `+rw'
Try `chmod --help' for more information.
make: *** [hardware] Error 1

======== Build of target 'build' complete ========

#4 TonyP

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 September 2010 - 12:50 PM

QUOTE (Jonathan @ Jul 9 2009, 01:09 PM) <{POST_SNAPBACK}>
Okay, I had it working for a while, and I have no idea why this started happening, but I'm getting a lot of warnings about cannot make \tmp, and worse, I'm getting an error at the end that I can't make heads or tails of why it's occurring (the chmod one):

======== Building target 'build' in file _Makefile ========
HW_SRC="./BATSAccelerated/BATSAccelerated_hw.c"; \
for i in $HW_SRC; do CPP_INCLUDES="$CPP_INCLUDES -include $i"; done; \
echo | "C:/Impulse/CoDeveloper3/MinGW/bin/gcc" -E -DIMPULSE_C_SYNTHESIS -DRC_INVOKED -DBYTE="unsigned char" -DWORD="unsigned short" -DDWORD="unsigned int" -Dsize_t="long unsigned int" -DNULL=0 -Dstdin=NULL "-IC:\Impulse\CoDeveloper3\Include" "-IC:/Impulse/CoDeveloper3/StageMaster/include" $CPP_INCLUDES - > BATSAccelerated.i
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_snoot" -Timpulse-c BATSAccelerated.i BATSAccelerated.snt
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_prep" BATSAccelerated.snt BATSAccelerated.pk0
bash.exe: warning: could not create /tmp!
Impulse C Transformations
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Build May 13 2009.
processing BATSAccelerated.snt...
"C:/Impulse/CoDeveloper3/bin/impulse_porky" -iterate -fold -unused-syms -unused-types -Dmemcpys -const-prop -scalarize -loop-invariants BATSAccelerated.pk0 BATSAccelerated.pk1
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_porky" -build-arefs BATSAccelerated.pk1 BATSAccelerated.pky
bash.exe: warning: could not create /tmp!
"C:/Impulse/CoDeveloper3/bin/impulse_impc" BATSAccelerated.pky BATSAccelerated.sic
bash.exe: warning: could not create /tmp!
Impulse C Preprocessor
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Build May 13 2009.
---Software activated---
processing BATSAccelerated.pky...
analyzing co_initialize...
found architecture definition: BATSAccelerated/generic
analyzing config_BATSAccelerated...
creating stream BATSStream ...
creating process ProcBATSUDP ...
creating process ProcParseBATS ...
"C:/Impulse/CoDeveloper3/bin/impulse_s2xml" BATSAccelerated.sic > BATSAccelerated.xic
bash.exe: warning: could not create /tmp!
Impulse C to XML
Copyright 2003-2007, Impulse Accelerated Technologies, Inc.
All rights reserved.
Build May 13 2009.
"C:/Impulse/CoDeveloper3/StageMaster/bin/impulse_sm" -g "-aC:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml" -h BATSAccelerated.xic BATSAccelerated.xhw
bash.exe: warning: could not create /tmp!
Stage Master Version 3.7
Copyright by Green Mountain Computing Systems, 2003-2008.
All rights reserved.
Build May 12 2009.
Analyzing ParseBATS:
............ done 12 blocks
Generating . done
Results:
|----------------------------------------
| ParseBATS
|----------------------------------------
| Block #0:
| Stages: 1
| Max. Unit Delay: 0
| Block #1 loop:
| Stages: 20
| Max. Unit Delay: 0
| Block #2 loop:
| Stages: 2
| Max. Unit Delay: 33| Block #3:
| Stages: 5
| Max. Unit Delay: 3
| Block #4:
| Stages: 2
| Max. Unit Delay: 0
| Block #5 loop:
| Stages: 10
| Max. Unit Delay: 8
| Block #6 loop:
| Stages: 2
| Max. Unit Delay: 33
| Block #7:
| Stages: 2
| Max. Unit Delay: 8
| Block #8:
| Stages: 1
| Max. Unit Delay: 0
| Block #9:
| Stages: 1| Max. Unit Delay: 0
| Block #10:
| Stages: 1
| Max. Unit Delay: 33
| Block #11:
| Stages: 1
| Max. Unit Delay: 0
|----------------------------------------
| Operators:
| 2 Adder(s)/Subtractor(s) (8 bit)
| 3 Adder(s)/Subtractor(s) (32 bit)
| 1 Comparator(s) (9 bit)
| 5 Comparator(s) (32 bit)
|----------------------------------------
| Total Stages: 23
| Max. Unit Delay: 33
| Estimated DSPs: 0|----------------------------------------
Writing output ... done
"C:/Impulse/CoDeveloper3/bin/impulse_arch" "-aC:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml" -dc -no_port_bus_connect -swdir -files "BATSAccelerated_comp.vhd BATSAccelerated_top.vhd " BATSAccelerated.xic /BATSAccelerated_top.vhd
bash.exe: warning: could not create /tmp!
Impulse C HDL Design Generator
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Loading C:/Impulse/CoDeveloper3/Architectures/faster_technology_plb.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/FasterTechnology/PLB/bus.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/target.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/FasterTechnology/v4tech.xml ...
Loading C:/Impulse/CoDeveloper3/Architectures/VHDL/Generic/Generic/system.xml ...
Loading BATSAccelerated.xic ...
libCoreGenCommon.tcl::GenerateCoreGenFilesForEDK():Starting
ngcString =
libCoreGenCommon.tcl::GenerateCoreGenFilesForEDK():Exiting
"C:/Impulse/CoDeveloper3/bin/impulse_genvhdl.exe" BATSAccelerated.xhw /BATSAccelerated_comp.vhd
bash.exe: warning: could not create /tmp!
Impulse C RTL Component Generator
Copyright 2002-2009, Impulse Accelerated Technologies, Inc.
All rights reserved.
Generating ParseBATS ...
---Software activated---
chmod -R +rw
bash.exe: warning: could not create /tmp!
chmod: missing operand after `+rw'
Try `chmod --help' for more information.
make: *** [hardware] Error 1

======== Build of target 'build' complete ========



Hi Johnathan, you ever figure this out? I am having the same problem. Thanks.

#5 etrexel

    Advanced Member

  • Impulse Staff
  • PipPipPip
  • 260 posts

Posted 08 September 2010 - 04:55 PM

Hi,
The fix at that time was to ensure that a "Hardware build directory" was defined in the project under Project->Options, Generate tab.

Best Regards,
Ed
Ed Trexel
Impulse Accelerated Technologies, Inc.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users