From: Saransh on
Hi all,

When I do Generate Netlist in Xilinx 9.2i, I get the following error
-

-------------------------
../synthesis.sh: line 2: $'\r': command not found
../synthesis.sh: line 4: $'\r': command not found
../synthesis.sh: line 6: $'\r': command not found
../synthesis.sh: line 8: $'\r': command not found

ERROR:Xst:1688 - Unknown option for -intstyle switch.
../synthesis.sh: line 17: syntax error: unexpected end of file
make: *** [implementation/system.ngc] Error 2
Done!

---------------------------

Could anyone please help me out in this matter.
From: mahesh on
On Jun 19, 2:48 am, Saransh <mehrotrasara...(a)gmail.com> wrote:
> Hi all,
>
> When I do Generate Netlist in Xilinx 9.2i, I get the following error
> -
>
> -------------------------
> ./synthesis.sh: line 2: $'\r': command not found
> ./synthesis.sh: line 4: $'\r': command not found
> ./synthesis.sh: line 6: $'\r': command not found
> ./synthesis.sh: line 8: $'\r': command not found
>
> ERROR:Xst:1688 - Unknown option for -intstyle switch.
> ./synthesis.sh: line 17: syntax error: unexpected end of file
> make: *** [implementation/system.ngc] Error 2
> Done!
>
> ---------------------------
>
> Could anyone please help me out in this matter.

Hi saransh,
In ISE did u add the files manually or did u create
a script file ..._r is for recursion.(Ex: add wave -r /all) adds all
the waves.It would be gr8 if u can post ur script file , I guess its a
script file error.....

-Mahesh
From: Winfried.Gehrke on
On 19 Jun., 11:48, Saransh <mehrotrasara...(a)gmail.com> wrote:
> Hi all,
>
> When I do Generate Netlist in Xilinx 9.2i, I get the following error
> -
>
> -------------------------
> ./synthesis.sh: line 2: $'\r': command not found
> ./synthesis.sh: line 4: $'\r': command not found
> ./synthesis.sh: line 6: $'\r': command not found
> ./synthesis.sh: line 8: $'\r': command not found
>
> ERROR:Xst:1688 - Unknown option for -intstyle switch.
> ./synthesis.sh: line 17: syntax error: unexpected end of file
> make: *** [implementation/system.ngc] Error 2
> Done!
>
> ---------------------------
>
> Could anyone please help me out in this matter.

Hi,

I had the same problem.
Have a look at http://www.xilinx.com/support/answers/24134.htm
In short: You need to create an Env Variable SHELLOPTS and set it to
'igncr'

This should help...