updated to create fpgadiagram