Skip to content

Commit 749447b

Browse files
committed
Initial structure with gateware directory to store cores sources.
Example SpinalHDL core handling ov7670 registered inputs Example litex firmware to access ov7670 control bus
1 parent ec22d55 commit 749447b

File tree

105 files changed

+2301
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+2301
-1
lines changed

.bsp/sbt.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"sbt","version":"1.6.0","bspVersion":"2.0.0-M5","languages":["scala"],"argv":["/usr/lib/jvm/java-11-openjdk-amd64/bin/java","-Xms100m","-Xmx100m","-classpath","/home/dlobato/.local/share/JetBrains/IdeaIC2022.2/Scala/launcher/sbt-launch.jar","-Dsbt.script=/usr/bin/sbt","xsbt.boot.Boot","-bsp"]}

.gitignore

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,32 @@
1414
debug.log
1515

1616
.vscode
17+
.idea
1718
obj_dir
1819
*.fst
19-
imgui.ini
20+
imgui.ini
21+
22+
build
23+
24+
*.d
25+
*.o
26+
*.bin
27+
*.elf
28+
*.map
29+
30+
*.egg-info/
31+
32+
# sbt specific
33+
.cache/
34+
.history/
35+
.lib/
36+
dist/*
37+
target
38+
lib_managed/
39+
src_managed/
40+
project/boot/
41+
project/plugins/project/
42+
43+
simWorkspace/
44+
tmp/
45+
null
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

build.sbt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ThisBuild / version := "1.0"
2+
ThisBuild / scalaVersion := "2.12.16"
3+
ThisBuild / organization := "org.jderobot"
4+
5+
val spinalVersion = "1.7.3"
6+
val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion
7+
val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion
8+
val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion)
9+
val scalatest = "org.scalatest" %% "scalatest-funsuite" % "3.2.14" % "test"
10+
11+
lazy val mylib = (project in file("."))
12+
.settings(
13+
name := "fpga-robotics",
14+
Compile / scalaSource := baseDirectory.value / "gateware" / "main" / "scala",
15+
Test / scalaSource := baseDirectory.value / "gateware" / "test" / "scala",
16+
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
17+
)
18+
19+
fork := true

doc/OV7670_2006.pdf

738 KB
Binary file not shown.

0 commit comments

Comments
 (0)