-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(cherry picked from commit a532ef0) Co-authored-by: Leon Schoorl <[email protected]>
- Loading branch information
1 parent
6c9585a
commit 1487755
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
changelog/2024-10-07T15_01_17+02_00_fix_writeToBiSignal_warnings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FIXED: Unused argument warnings on writeToBiSignal# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{-| | ||
Copyright : (C) 2017, Google Inc. | ||
2019, Myrtle Software Ltd | ||
2022-2023, QBayLogic B.V. | ||
2022-2024, QBayLogic B.V. | ||
License : BSD2 (see the file LICENSE) | ||
Maintainer : QBayLogic B.V. <[email protected]> | ||
|
@@ -277,8 +277,7 @@ writeToBiSignal# | |
-> Signal d Bool | ||
-> Signal d (BitVector n) | ||
-> BiSignalOut ds d n | ||
-- writeToBiSignal# = writeToBiSignal# | ||
writeToBiSignal# _ maybeSignal _ _ = BiSignalOut [maybeSignal] | ||
writeToBiSignal# bIn maybeSignal wEn val = BiSignalOut [bIn `seq` wEn `seq` val `seq` maybeSignal] | ||
-- See: https://github.com/clash-lang/clash-compiler/pull/2511 | ||
{-# CLASH_OPAQUE writeToBiSignal# #-} | ||
{-# ANN writeToBiSignal# hasBlackBox #-} | ||
|