Commit bcb3d0a9 authored by Schuyler Eldridge's avatar Schuyler Eldridge Committed by Henry Cook
Browse files

Add RoCC BlackBoxExample, vsrc/RoccBlackBox.v (#1937)



This adds a fourth RoCC example, BlackBoxExample, that uses a Verilog
resource defined in vsrc/RoccBlackBox.v to provide the underlying RoCC
module implementation. The included vsrc/RoccBlackBox.v accumulates
rs1 and rs2 into a persistent accumulator. Rocket Chip parameters are
passed via Verilog parameters to define IO widths.

The intended use case here is for a developer that wants to build
RoCCs in Verilog and integrate with Rocket Chip. The example does not
deal with Diplomatic IO (TL). An example including this is complicated
by the fact that Verilog doesn't handle optional/parametric IO.

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
parent be726286
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment