soft-core example converted to v3