Code Monkey home page Code Monkey logo

opensocfabric's People

Contributors

ffard-lbl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensocfabric's Issues

How can I test MuxN module?

I want to test MuxN module,and I use "run --hw true --moduleName MuxN --harnessName MuxNTest" in sbt shell , but it report error :
[error] Chisel.ChiselException: NullPointer class Chisel.UInt:name gen
[error] at OpenSoC.OpenSoC$.main(main.scala:151)
....

I don't know how to fix it.

Some odd errors in simulation

Hello,

I leverage the NoC with my project.
However, I found some strange behaviors in simulation.
I use 2*2 cmesh virtual channel version and two channels at each router input.

strange behaviors description:
I drive two packet from cor:(1, 1) and they are forward to cor:(0, 0).
It is successfully to get first packet, however, it fail to get the second packet after long time waiting.
To this end, I check out the vcd file to find out the reason.
First packet is passed to virtual channel 0. Second packet is passed to virtual channel 1 with some mechanism.
(1) Both packets are drive into router input from injection queue attached on cor:(1,1) router.
image
(2)

routingInBuffer.io.enq.valid := io.inChannels(curInChannel).flitValid && correctVC

Both packet can be stored into routingInBuffer.
image
(3)
when(routingInBuffer.io.deq.bits.isHead() && ~headFlitRegFile.io.readValid) {
routingInBuffer.io.deq.ready := UInt(0)
creditGen.io.inGrant := Bool(false)
// readyToXmit := Bool(false)
}.elsewhen(routingInBuffer.io.deq.bits.isHead() && headFlitRegFile.io.readValid) {
routingInBuffer.io.deq.ready := flitGranted && (routerStateMgmt.io.currentState >= VCRouterState.vcAllocGranted) && creditConsReady(rfResultInt)(assignedVC)
readyToXmit(index)(rfResultInt) := flitGranted && (routerStateMgmt.io.currentState >= VCRouterState.vcAllocGranted) && creditConsReady(rfResultInt)(assignedVC) && routingInBuffer.io.deq.valid
creditGen.io.inGrant := flitGranted && (routerStateMgmt.io.currentState >= VCRouterState.vcAllocGranted) && creditConsReady(rfResultInt)(assignedVC) && routingInBuffer.io.deq.valid
//consumeCredit(rfResultInt)(assignedVC) := flitGranted && (routerStateMgmt.io.currentState >= VCRouterState.vcAllocGranted) && creditConsReady(rfResultInt)(assignedVC)
flitPriority := routingInBuffer.io.deq.bits.asHead().priorityLevel

First packet can be read out after some duration, however, second is not read out after long time.
image

Are there bugs in the implementation?

Is this the most recent code?

The last release was in 2016. There are ca. 12 commits.

Is this the most recent code?

Has the project gone closed source?

Chisel version issue

Looks like the Chisel version in build.sbt might not mach with the Chisel code, as I get following error:

'compiler-interface' not yet compiled for Scala 2.10.4. Compiling...
[info] Compilation completed in 11.543 s
[error] /Users/martin/data/repository/OpenSoCFabric/src/main/scala/arbiter.scala:113: value =/= is not a member of Chisel.UInt
[error] hasRequest(i) := PArraySorted(i).toBits.toUInt =/= UInt(0)
[error] ^
[error] one error found

sbt error

when i run the command:
sbt "run --sw true --harnessName OpenSoC_CMeshTester_Random_VarInjRate --moduleName OpenSoC_CMesh_Flit"

Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.github.scct:sbt-scct;sbtVersion=1.0;scalaVersion=2.10:0.2

There is a bug in the lasted commit

I cloned the repository and ran it as follows

$ git clone https://github.com/LBL-CoDEx/OpenSoCFabric.git
$ cd OpenSoCFabric
$ sbt "run --sw true --harnessName OpenSoC_CMeshTester_Random_VarInjRate --moduleName OpenSoC_CMesh_Flit"

I got the error message as below

[info] Set current project to OpenSoC (in build file:/users/student/mr103/wtlin/EE6470/OpenSoCFabric/)
[info] Compiling 31 Scala sources to /users/student/mr103/wtlin/EE6470/OpenSoCFabric/target/scala-2.10/classes...
[error] /users/student/mr103/wtlin/EE6470/OpenSoCFabric/src/main/scala/arbiter.scala:113: value =/= is not a member of Chisel.UInt
[error]     hasRequest(i) := PArraySorted(i).toBits.toUInt =/= UInt(0)
[error]                                                    ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 10 s, completed Sep 13, 2016 7:05:48 PM

Error at "Using and Compiling OpenSoC Fabric"

Tornado Pattern with variable injection rate
$ sbt "run --sw true --harnessName OpenSoC_CMesh_NeighborTester_VarInjRate --moduleName OpenSoC_CMesh_Flit --injRate 50"

Shouldn't it be like below?
$ sbt "run --sw true --harnessName OpenSoC_CMesh_TornadoTester_VarInjRate--moduleName OpenSoC_CMesh_Flit --injRate 50"

Compilation fails due to unresolved dependencies

Hello

I'm trying to compile this project, but sbt fails with the following msg:

[warn] Note: Unresolved dependencies path:
[warn] com.github.scct:sbt-scct:0.2 (scalaVersion=2.10, sbtVersion=1.0) (/home/bku/work/cores/chisel/OpenSoCFabric/build.sbt#L14-15)
[warn] +- gov.lbl.crd.csd.cag:opensoc_2.10:1.1
[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.github.scct#sbt-scct;0.2: not found
[error] at sbt.internal.librarymanagement.IvyActions$.resolveAndRetrieve(IvyActions.scala:332)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$updateEither$1(IvyActions.scala:208)

Pls update the build script appropriately

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.