verilog against c/c++ performance comparison

Status
Not open for further replies.

tariq786

Advanced Member level 2
Joined
Feb 24, 2004
Messages
562
Helped
67
Reputation
134
Reaction score
54
Trophy points
1,308
Location
USA
www.ecs.umass.edu
Activity points
3,050
Hi folks,

I have a question. Does any body know if C/C++ is faster than verilog or not? If yes or no, can you provide me the source of such a comparison.

Thanks

(sorry dave_59 for yet another strange question)
 

Can we compare a hardware description language with software language? I don't think the software language have the description of time. Doesn't the speed depend on compiler used, and the type of code you are using the language for also?
 

I'll give you a strange answer to your strange question.

What do you mean by "faster"? An airplane flies faster than a car drives, but it is faster to drive between two cities than fly if the two cities are close enough.

Since Verilog is a C/C++ program, theoretically there is nothing you could ever write in Verilog that would be faster than a pure C/C++ program. But it might take you much longer to write that C/C++ code to run faster that it would to write it and execute it in Verilog.

Your question needs to be a lot more specific to answered properly.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…