OpenCores

Quad SPI Flash Controller

Issue List
qspiflash_tb.cpp fails make #1
Closed ukimi367 opened this issue over 5 years ago
ukimi367 commented over 5 years ago

I get errors when I try to run the Makefile:

qspiflash_tb.cpp:92:13: error: ‘class Vwbqspiflash’ has no member named ‘vDOTstate’ m_core->vDOTstate, ^ qspiflash_tb.cpp:93:13: error: ‘class Vwbqspiflash’ has no member named ‘vDOTlldriverDOTstate’; did you mean ‘wbqspiflashDOTlldriverDOTstate’? m_core->vDOTlldriverDOTstate, ^~~~ wbqspiflashDOTlldriverDOTstate . . . . . .

The error messages were very helpful, and when I replaced all the v with wbqspiflash, the tests compiled and ran successfully.

turoksama1 commented about 5 years ago

Good catch!

dgisselq was assigned about 5 years ago
dgisselq commented about 5 years ago

The difference you mention is associated with Verilator version 3.8 vs later. (I'm still using Verilator 3.8, and I've only partially upgraded to 3.9) I've updated the repository with a fix that should work for 3.9 and later now.

<P>Let me know if this works for you.
dgisselq commented about 5 years ago

The difference you mention is associated with Verilator version 3.8 vs later. (I'm still using Verilator 3.8, and I've only partially upgraded to 3.9) I've updated the repository with a fix that should work for 3.9 and later now.

<P>Let me know if this works for you.
dgisselq closed this about 5 years ago

Assignee
dgisselq
Labels
Bug