Electric engineering programming language

In summary, you want to study electric engineering and computer engineering, and you are undecided about which language to learn first, C or Python. C is a good choice because it is widely used for embedded programming and also for hardware development via System C and because knowing C will help you with verilog. Python is useful for higher level work, prototyping things, tying things together, etc.
  • #1
SuperMiguel
110
0
Well I am studying electric engineering and computer engineering major... i really want to get into microchips/microprocessor programing.. i don't know any programming language at this moment should i learn C? or i should start with another language like phyton?
 
Last edited:
Engineering news on Phys.org
  • #2
You're not likely to go wrong with c, I don't know of any microcontrollers that don't have a c compiler.
 
  • #3
I suggest you learn both C and Python. There are different uses for each and they have different features. Learning both and contrasting the way things are handled in each will help you get a good understanding of programming in general. Interpreted vs. compiled, dynamically typed vs statically typed vs. strongly typed, memory allocation, etc. are some things that you would learn about. C is widely used for embedded programming and also for hardware development via System C and because knowing C will help you with verilog. Python is useful for higher level work, prototyping things, tying things together, etc.

Over your career you will probably have to learn or use many languages so demonstrating that you can learn two common ones is a good start.
 
  • #4
For programming microcontrollers, C and assembler are very useful. Many embedded systems also use Java.
When writing code for a PC, Python, Java or C# are great choices.
 
  • #5
Learn C and assembly. These are what I learned in my micro class. Get familiar with datasheets and manuals about microcontrollers because they are all different and I doubt the one you learn in school is the one you use on your job. Easier said than done though!
 
  • #6
+1 for C and Assembly. Like stated above, I don't think you will ever find a micro that can't be programmed using either one of those languages with perhaps the exception of some FPGA chips.
 
  • #7
Dont forget the "start vector" of a microprocessor.
 
  • #8
then ill learn C first. Thanks
 
  • #9
If you want to get involved with microprocessors/microcontrollers/FPGA etc. I would suggest first learning some basic assembly language like x86, and play around with Intel80188 for example. While its true you can write the code in C for microprocessors it defeats the purpose because it is a high level language. A lot of your code would be impemented inefficiently in hardware by the compliers. Similarly for FGGA you should learn VHDL or Verilog( Verilog is widely used in the industry, but VHDL is mmuch better because again it's a little low level than verilog) to harness full power of FPGAs. If you have some time on your hands before dabbling into FPGAs you should program a couple of PALs and CPLDs either with ABEL or PALASM.

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

www.digitalblggr.blogspot.com
 

Related to Electric engineering programming language

1. What is an electric engineering programming language?

An electric engineering programming language is a specialized computer language used for designing, simulating, and analyzing electrical systems and circuits. It allows engineers to write code that controls and analyzes the behavior of electrical components and systems.

2. What are some common examples of electric engineering programming languages?

Some commonly used electric engineering programming languages include Verilog, VHDL, C, and MATLAB. These languages are specifically designed for modeling and simulating electrical systems and circuits.

3. How is an electric engineering programming language different from a general-purpose programming language?

An electric engineering programming language is different from a general-purpose programming language in that it is optimized for working with electrical systems. It often includes specific features and functions for designing and analyzing circuits, such as built-in libraries for commonly used components and simulation tools.

4. Can electric engineering programming languages be used for other applications besides electrical systems?

Although electric engineering programming languages are primarily used for designing and analyzing electrical systems, they can also be used for other applications. For example, Verilog and VHDL are commonly used for hardware description and design, and MATLAB can be used for data analysis and visualization in various fields.

5. Do I need to know electric engineering to use an electric engineering programming language?

While a basic understanding of electric engineering principles can be helpful, it is not necessary to know electric engineering to use an electric engineering programming language. However, having knowledge of electrical systems and circuits can help in understanding and effectively using these languages.

Similar threads

Replies
3
Views
648
Replies
6
Views
1K
  • STEM Academic Advising
Replies
3
Views
802
Replies
3
Views
1K
Replies
6
Views
475
  • STEM Academic Advising
Replies
3
Views
1K
  • Electrical Engineering
2
Replies
36
Views
3K
  • Programming and Computer Science
Replies
16
Views
2K
Replies
16
Views
2K
  • STEM Academic Advising
Replies
12
Views
1K
Back
Top