Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

monolithic

macrumors member
Original poster
Jan 10, 2013
38
0
I just started using textwrangler. I typed in my code in VHDL. Now, how do I compile it? Whenever I run it, I get a shebang error.
 
What is your target device? Do you have a development kit with a programmer and all the software tools? Are you using a simulator package instead?

----------

BTW, a "shebang" error means your script that you're trying to execute is lacking a line like this at the top of the file:

#!/usr/bin/perl

If you were writing in perl, and had a perl interpreter, that's how you'd direct your system to its location to execute your script. However, you're not writing a simple script here. VHDL is a hardware markup that define electrical connections and behavior, usually within an FPGA. You need much more than a text editor to make it work.
 
Might be good to run Altera or Xilinx or Modelsim from inside a virtual Windows environment on the Mac.
 
What is your target device? Do you have a development kit with a programmer and all the software tools? Are you using a simulator package instead?

----------

BTW, a "shebang" error means your script that you're trying to execute is lacking a line like this at the top of the file:

#!/usr/bin/perl

If you were writing in perl, and had a perl interpreter, that's how you'd direct your system to its location to execute your script. However, you're not writing a simple script here. VHDL is a hardware markup that define electrical connections and behavior, usually within an FPGA. You need much more than a text editor to make it work.

I just started writing in VHDL. I was trying to write a code for a simple 8 bit comparator. Is there any way to correct the error?


Might be good to run Altera or Xilinx or Modelsim from inside a virtual Windows environment on the Mac.

Are there any other software to write and compile VHDL on Mac?
 
Are there any other software to write and compile VHDL on Mac?

As dukeblue219 asked:

What is your target device? Do you have a development kit with a programmer and all the software tools? Are you using a simulator package instead?

What is your target?

I've only worked in VHDL with a specific hardware target (CPLD or FPGA) in mind and used the company's simulators, but I know there are some FOSS type simulators.

B
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.