Skip to content

Commit

Permalink
add newlines at EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrolarus committed Aug 8, 2023
1 parent 420f75a commit 2b08a77
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[build]
target = "riscv32imc-unknown-none-elf"
rustflags = ["-C", "target-feature=+f"]
rustflags = ["-C", "target-feature=+f"]
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ jobs:
tar -x -f vexriscv-test-binaries.tar
- name: Run unittests
run: |
cabal run clash-vexriscv-sim:unittests
cabal run clash-vexriscv-sim:unittests
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ vivado.jou
log
vivado_*
tight_setup_hold_pins.txt
.Xil
.Xil
2 changes: 1 addition & 1 deletion Cargo.lock.license

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/cchalmers/circuit-notation.git
tag: 618e37578e699df235f2e7150108b6401731919b
tag: 618e37578e699df235f2e7150108b6401731919b
2 changes: 1 addition & 1 deletion clash-vexriscv-sim/app/Clash.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import System.Environment (getArgs)
import Clash.Main (defaultMain)

main :: IO ()
main = getArgs >>= defaultMain
main = getArgs >>= defaultMain
2 changes: 1 addition & 1 deletion clash-vexriscv-sim/app/HdlTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ circuit clk rst input =
makeTopEntity 'circuit

main :: IO ()
main = pure ()
main = pure ()
2 changes: 1 addition & 1 deletion clash-vexriscv-sim/src/Utils/Cpu.hs
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ dummyWb m2s' = delayControls m2s' (reply <$> m2s')
(\wb newAck newErr -> wb {acknowledge = newAck, err = newErr})
<$> s2m0
<*> delayedAck
<*> delayedErr1
<*> delayedErr1
2 changes: 1 addition & 1 deletion clash-vexriscv-sim/src/Utils/Interconnect.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ interconnectTwo m2s ((aAddr', aS2M') :> (bAddr', bS2M') :> Nil) =
| otherwise =
( emptyWishboneS2M { err = True },
emptyWishboneM2S :> emptyWishboneM2S :> Nil
)
)
2 changes: 1 addition & 1 deletion clash-vexriscv-sim/src/Utils/ProgramLoad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ loadProgram path = do
chunkFill n fill xs =
let (first0, rest) = L.splitAt n xs
first1 = first0 <> L.replicate (n - L.length first0) fill
in first1 : chunkFill n fill rest
in first1 : chunkFill n fill rest
2 changes: 1 addition & 1 deletion clash-vexriscv-sim/src/Utils/Storage.hs
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ writeDataSel mem addr sel val =
_ -> mem

where
(hh :: BitVector 8, hl :: BitVector 8, lh :: BitVector 8, ll :: BitVector 8) = unpack val
(hh :: BitVector 8, hl :: BitVector 8, lh :: BitVector 8, ll :: BitVector 8) = unpack val
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Executing `ebreak` instruction...
... caught an exception. Looping forever now.
... caught an exception. Looping forever now.
2 changes: 1 addition & 1 deletion clash-vexriscv-sim/test-programs/src/bin/fpu_test.expected
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ This test makes sure the FPU works as expected
1.3 + 5.3 = 6.6000004
5.3 - 1.3 = 4
24.65 * 43.2 = 1064.88
12.6 / 4.2 = 3.0000002
12.6 / 4.2 = 3.0000002
2 changes: 1 addition & 1 deletion clash-vexriscv/example-cpu/VexRiscv.v.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2023 Google LLC

SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: Apache-2.0
2 changes: 1 addition & 1 deletion clash-vexriscv/src/VexRiscv/TH.hs
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ findCabalPackage pkgName = goUp =<< canonicalizePath pkgName
[c] -> pure c

packageFilename = pkgName <> ".cabal"
projectFilename = "cabal.project"
projectFilename = "cabal.project"
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
channel = "1.67.1"
targets = [ "riscv32imc-unknown-none-elf", "x86_64-unknown-linux-gnu" ]
profile = "minimal"
components = [ "clippy", "rustfmt" ]
components = [ "clippy", "rustfmt" ]

0 comments on commit 2b08a77

Please sign in to comment.