Related component: build | simulation framework | cosim with a REF
Describe the bug
During the build process, an error occurs when compiling the file DifftestClockGate.v (located at /nfs/home/leguochun/workload/XSAI/difftest/src/test/vsrc/common/DifftestClockGate.v). The error message indicates that the instance bufgce_1 of the design unit BUFGCE is unresolved, suggesting that the BUFGCE module was not successfully analyzed or is missing from the required libraries.
To Reproduce
- Clone the repository containing the DiffTest source code.
- Navigate to the project directory and ensure the relevant source files (including
DifftestClockGate.v) are present.
- Run the build command:
make sim-verilog -j16 CONFIG=$(PLDM_CONFIG_DEFAULT) \
PLDM=1 MFC=1 NUM_CORES=1\
WITH_DRAMSIM3=1 \
WITH_CHISELDB=0 WITH_CONSTANTIN=0 \
SIM_MEM_SIZE=8 \
DEBUG_ARGS="--difftest-config ZESNHP"
make pldm-build PLDM=1 WITH_CHISELDB=0 SIM_MEM_SIZE=8 SYNTHESIS=1
# If SYNTHESIS=1 is not enabled, the compilation will pass normally.
- Observe the error:
Instance 'bufgce_1' of design unit 'BUFGCE' is unresolved during the compilation of DifftestClockGate.v. Expected behavior
The build process should complete successfully without any unresolved module errors, indicating that all required design units (including BUFGCE) are properly analyzed and linked.
What you expect us (DiffTest developers) to do for you
Investigate why the BUFGCE module is unresolved during compilation and provide guidance on resolving the dependency (e.g., ensuring the correct libraries are included or the module is properly defined).
Additional context
The error occurs at line 24 of DifftestClockGate.v, and the build fails with [FLOW_FAILED] Failure to build target (vhelab). The build environment appears to be using a Verilog-based simulation flow, and the issue may relate to missing or misconfigured library dependencies for the BUFGCE primitive.
Related component: build | simulation framework | cosim with a REF
Describe the bug
During the build process, an error occurs when compiling the file
DifftestClockGate.v(located at/nfs/home/leguochun/workload/XSAI/difftest/src/test/vsrc/common/DifftestClockGate.v). The error message indicates that the instancebufgce_1of the design unitBUFGCEis unresolved, suggesting that theBUFGCEmodule was not successfully analyzed or is missing from the required libraries.To Reproduce
DifftestClockGate.v) are present.Instance 'bufgce_1' of design unit 'BUFGCE' is unresolvedduring the compilation ofDifftestClockGate.v. Expected behaviorThe build process should complete successfully without any unresolved module errors, indicating that all required design units (including
BUFGCE) are properly analyzed and linked.What you expect us (DiffTest developers) to do for you
Investigate why the
BUFGCEmodule is unresolved during compilation and provide guidance on resolving the dependency (e.g., ensuring the correct libraries are included or the module is properly defined).Additional context
The error occurs at line 24 of
DifftestClockGate.v, and the build fails with[FLOW_FAILED] Failure to build target (vhelab). The build environment appears to be using a Verilog-based simulation flow, and the issue may relate to missing or misconfigured library dependencies for theBUFGCEprimitive.