riscvarchive / riscv-fesvr

RISC-V Frontend Server
Other
62 stars 83 forks source link

Decouple memif_t and htif_t. #43

Closed pmundkur closed 6 years ago

pmundkur commented 6 years ago

Define a chunked_memif_t interface that serves memif_t, and is implemented by htif_t and htif_hexwriter. This allows the use of memif_t without needing to bring in htif_t.

This eases the implementation of alternative top-level simulators. See also riscv/riscv-isa-sim#174

pmundkur commented 6 years ago

@palmer-dabbelt ping; awaiting feedback from a review.

pmundkur commented 6 years ago

ping @aswaterman