I have finished but I directly wrote my module in Chisel. Anyway, can you tell me what is the error? Maybe I can help you…