albertschulz / verigraph

Dependency graphs for SystemVerilog Modules
MIT License
0 stars 0 forks source link

Great job, but how to compile the code #1

Open owenfucell opened 3 years ago

owenfucell commented 3 years ago

I try clang --std==cpp20 but it did not work

albertschulz commented 3 years ago

Thanks :) You can compile it with the Makefile. I used the GCC.

owenfucell commented 3 years ago

Well, I cannot utilize GCC for some reason. So I use Clang instead. Well although I cannot compile the code. I got figure out how the code work and write a much light version (I mean, I did not use any CLI function).

I found that you succeeded in finding the features of instanceSymbol. There is getDefine API in InstanceSymbol.h and you can use its name() to get the naming information. I would like to ask, if I want to find other statements like if and assignment statements, what features should I look for? Do you have any suggestions? I don't seem to find similar features in Slang's header files.