Description
- On the "Classes and Objects" tutorial page, the online compiler fails to run the code because it is configured with an incorrect top-level target.
- It looks for a module
mem_item, which is actually a software class.
Error Output
$ circt-verilog --resource-guard=false --ir-llhd --timescale 1ns/1ns --single-unit --top mem_item -o /workspace/out/design.llhd.mlir /workspace/src/mem_item.sv
▼ stderr
<unknown>:0: error: 'mem_item' is not a valid top-level module
<unknown>:0: warning: no top-level modules found in design [-Wmissing-top]
# circt-verilog exit code: 1
# lowered MLIR output was not produced
Description
mem_item, which is actually a software class.Error Output