bu-icsg / dana

Dynamically Allocated Neural Network Accelerator for the RISC-V Rocket Microprocessor in Chisel
Other
207 stars 36 forks source link

Enable testing without rocket-chip #22

Open seldridge opened 8 years ago

seldridge commented 8 years ago

It would be beneficial to enable testing that did not rely on instantiating a rocket chip. This is faster, enables VCD debugging, and would enable unit testing of individual modules. The problem relates to properly pulling in all the dependencies and parameters needed by X-FILES/DANA.

It seems like there are four ways of pulling in dependencies:

A mixture of these seems to work except I'm unable to pull in all the requisite parameters. If I don't include the rocket-chip configuration, then I have trouble with PAddrBits. However, if I do include the rocket-chip configuration, I have trouble with TLId.

There should be a way to do this and do it cleanly, but I'm at a loss presently.