A RiscV processor implementing the RV32I instruction set written in Clash
Haskell
58
99 commits
updated Apr 11, 2018
A RiscV processor implementing the RV32I instruction set written in clash.
The top level core is in core/Pipeline.hs.
Example programs are defined in test/Program.hs.
One of the sample programs in Program.hs is a recursive function to calculate the ith element of the Fibonacci sequence.
The verilog-test directory contains a Verilog testbench which simulates the generated Verilog on the recursive Fibonacci program.
cd src
clash --verilog System.hs
To run the testsuite:
cabal test --show-details=streaming --test-options=--color
Commit bcec694e meets timing on a Virtex 7 device at 270MHz.
99 commits
Haskell
96.3%
Verilog
3.7%
A RiscV processor implementing the RV32I instruction set written in Clash
Haskell
58
99 commits
updated Apr 11, 2018
A RiscV processor implementing the RV32I instruction set written in clash.
The top level core is in core/Pipeline.hs.
Example programs are defined in test/Program.hs.
One of the sample programs in Program.hs is a recursive function to calculate the ith element of the Fibonacci sequence.
The verilog-test directory contains a Verilog testbench which simulates the generated Verilog on the recursive Fibonacci program.
cd src
clash --verilog System.hs
To run the testsuite:
cabal test --show-details=streaming --test-options=--color
Commit bcec694e meets timing on a Virtex 7 device at 270MHz.
99 commits
Haskell
96.3%
Verilog
3.7%