I'm trying to install 32/64 bit ubuntu on my 6GB memory equipped PC. I'm going to use the ubuntu PC mainly for development purposes - Xilinx FPGA development, gcc both for 8086 and ARM software development including Linux kernel compile.
Is it OK to use 64bit ubuntu for these purposes? When I tried to download ubuntu 32bit version is recommended, so I wonder if anything is wrong with 64 bit ubuntu for whatever reason.
With FPGA development you're building a cross-compilation toolchain regardless(the Xilinx software), so it makes no difference. 64-bit is fine. There is a case to be made for developing for i386 on i386 and not needing to cross-compile. In this case, it's a moot point.
There is absolutely nothing wrong with the 64-bit version of Ubuntu. I've been using it for years. The 64-bit version of Ubuntu can run 32-bit as well as 64-bit programs.
The reason the 32-bit version is recommended is because older computers might have a CPU that doesn't support 64-bit. If you have a computer with a 64-bit CPU you can use the 64-bit version without any problems.