I suppose this is more technical support than plugin development, though the intent is to gradually fold that in. Anyhow, I can’t figure out why the build system is not working because it’s about as basic as possible and still not working.
So, command for doing a simulation compile of a file is as follows. I can open a terminal window and anywhere in my drive path I can issue the following and it’ll work:
C:\>vcom -work MFB_WORK c:\projects_rtc\ifr6000_mfb_cyclone_fpga\src\pulse_encoder\carb_player.vhd
QuestaSim-64 vcom 10.3a Compiler 2014.04 Apr 14 2014
Start time: 08:45:23 on Jul 28,2017
vcom -work MFB_WORK c:\projects_rtc\ifr6000_mfb_cyclone_fpga\src\pulse_encoder\carb_player.vhd
-- Loading package STANDARD
-- Loading package TEXTIO
-- Loading package std_logic_1164
-- Loading package NUMERIC_STD
-- Compiling entity carb_player
-- Compiling architecture rtl of carb_player
End time: 08:45:23 on Jul 28,2017, Elapsed time: 0: 0: 0
Errors: 0, Warnings: 0
My build system is as follows:
{
"cmd": ["vcom", "-work MFB_WORK", "$file"],
"selector": "source.vhdl"
}
And in the console it appears as if it’s executing the correct statement:
Running vcom -work MFB_WORK C:\projects_rtc\ifr6000_mfb_cyclone_fpga\src\pulse_encoder\carb_player.vhd
However the results seem to indicate that the command received by the compiler is getting mangled somehow.
QuestaSim-64 vcom 10.3a Compiler 2014.04 Apr 14 2014
** Error: (vcom-1902) Option "-work MFB_WORK" is either unknown, requires an argument, or was given with a bad argument.
Use the -help option for complete vcom usage.
End time: 08:51:36 on Jul 28,2017, Elapsed time: 0: 0: 0
Errors: 1, Warnings: 0
[Finished in 0.0s with exit code 1]
[cmd: ['vcom', '-work MFB_WORK', 'C:\\projects_rtc\\ifr6000_mfb_cyclone_fpga\\src\\pulse_encoder\\carb_player.vhd']]
[dir: C:\projects_rtc\ifr6000_mfb_cyclone_fpga\src\pulse_encoder]
[path: c:\mingw\bin;C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Scripts;C:\ProgramData\Anaconda3\Library\bin;C:\MentorGraphics\7.9.4EE\MGC_HOME.ixn\bin;C:\MentorGraphics\7.9.4EE\MGC_HOME.ixn\lib;C:\questasim64_10.3a\win64;C:\Microsemi\Libero_v11.5\Model\win32acoem;C:\Microsemi\Libero_v11.5\Designer\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Files\fortran\bin\Intel64;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\ia32;C:\MentorGraphics\7.9.4EE\SDD_HOME\common\win32\bin;C:\MentorGraphics\7.9.4EE\SDD_HOME\common\win32\lib;C:\Xilinx\14.2\ISE_DS\EDK\bin\nt;C:\Program Files (x86)\FTDI\Vinculum II Toolchain\Tools\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows;C:\Windows\system32;C:\Windows\System32\Wbem;C:\Program Files (x86)\cvsnt;C:\Program Files\MATLAB\R2008a\bin;C:\Program Files\MATLAB\R2008a\bin\win64;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Emacs\EmacsW32;C:\Program Files (x86)\Emacs\EmacsW32\gnuwin32\bin]
Like I said, I can do this anywhere in the command window, at root, at the directory the output specifies, etc. The path is the same. I can run this command in emacs and it works correctly. The environment seems identical but it can’t be.
Any notions on what I’ve got wrong here? Thanks!