Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
63498417
Commit
63498417
authored
Aug 24, 2017
by
Jens Korinth
Browse files
Fix bug in DecoupledDataSource, remove crossVersions
parent
9749d045
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.sbt
View file @
63498417
...
...
@@ -2,11 +2,9 @@ name := "chisel-miscutils"
organization
:=
"esa.cs.tu-darmstadt.de"
version
:=
"0.
2
-SNAPSHOT"
version
:=
"0.
3
-SNAPSHOT"
scalaVersion
:=
"2.11.7"
crossScalaVersions
:=
Seq
(
"2.10.3"
,
"2.10.4"
,
"2.11.0"
)
scalaVersion
:=
"2.11.11"
resolvers
++=
Seq
(
Resolver
.
sonatypeRepo
(
"snapshots"
),
...
...
@@ -21,8 +19,9 @@ libraryDependencies ++= (Seq("chisel3","chisel-iotesters").map {
dep
:
String
=>
"edu.berkeley.cs"
%%
dep
%
sys
.
props
.
getOrElse
(
dep
+
"Version"
,
defaultVersions
(
dep
))
})
libraryDependencies
++=
Seq
(
"org.scalatest"
%%
"scalatest"
%
"2.2.6"
%
"test"
,
"com.typesafe.play"
%%
"play-json"
%
"2.4.8"
"org.scalatest"
%%
"scalatest"
%
"3.0.4"
%
"test"
,
"org.scalacheck"
%%
"scalacheck"
%
"1.13.5"
%
"test"
,
"com.typesafe.play"
%%
"play-json"
%
"2.6.3"
)
// no parallel tests
...
...
src/test/scala/DecoupledDataSourceSuite.scala
View file @
63498417
...
...
@@ -20,7 +20,7 @@ class DecoupledDataSource_OutputCheck[T <: UInt](m: DecoupledDataSource[T], data
if
(!
m
.
repeat
)
errors
=
"repeat is false, but index (%d) exceeds size(%d)"
.
format
(
i
,
m
.
size
)
::
errors
}
else
{
if
(
peek
(
m
.
io
.
out
.
bits
)
!=
m
.
data
(
i
))
{
if
(
peek
(
m
.
io
.
out
.
bits
)
!=
data
(
i
))
{
errors
=
"output #%d: expected %d, found %d"
.
format
(
i
,
data
(
i
),
peek
(
m
.
io
.
out
.
bits
))
::
errors
}
else
{
// wait for random time up to 10 cycles
...
...
Jens Korinth
@jk
mentioned in commit
17f0d672
·
Mar 05, 2018
mentioned in commit
17f0d672
mentioned in commit 17f0d67240ebf5d7e1d0be9162d272b04256c47d
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment