Merge pull request #887 from YosysHQ/gatecat/mistral-bit-update

mistral: Update to latest enum name
This commit is contained in:
gatecat 2021-12-22 14:06:33 +00:00 committed by GitHub
commit de63b5b09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Execute build nextpnr
env:
MISTRAL_PATH: ${{ github.workspace }}/deps/mistral
MISTRAL_REVISION: 0edeca112dda9bd463125feb869ddb7511d1acd9
MISTRAL_REVISION: e039b595529ab573d9cb01c64ef927f9d81d63ce
run: |
source ./.github/ci/build_mistral.sh
get_dependencies

View File

@ -123,7 +123,7 @@ struct MistralBitgen
break;
};
case CycloneV::FPLL: {
if (pt == CycloneV::EXTSWITCH || (pt == CycloneV::CLKEN && pi < 2))
if (pt == CycloneV::EXTSWITCH0 || (pt == CycloneV::CLKEN && pi < 2))
cv->inv_set(pn2r.second, true);
break;
};