ZipCPU/zipcpu

Enabling OPT_SINGLE_FETCH in cpudefs.v breaks "make" in sim/verilator

DoctorWkt opened this issue · 1 comments

I just enabled OPT_SINGLE_FETCH in rtl/cpudefs.v. The "make" in rtl/ succeeds. When I change to sim/verilator and "make" there, I see:

zipcpu_tb.cpp: In member function ‘void ZIPCPU_TB::show_state()’:
zipcpu_tb.cpp:826:13: error: ‘class Vzipsystem’ has no member named ‘pu__DOT__pf_addr’
    (m_core->pu__DOT__pf_addr<<2),
             ^
zipcpu_tb.cpp:828:13: error: ‘class Vzipsystem’ has no member named ‘pu__DOT__pf_ack’
    (m_core->pu__DOT__pf_ack)?"ACK":"   ",

Cheers, Warren

Oh the wonders of global search and replace! I must've missed those two. This has now been fixed in dev/.

Dan