Skip to content
#

riscv

Here are 228 public repositories matching this topic...

minexew
minexew commented Apr 2, 2020

Env:

  • python 3.8
  • capstone 4.0.1
  • ubuntu 18.04 (WSL)

Repro:

import capstone
md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_32)
md.detail = True

# case 1
# expected: fstcw  WORD PTR [ebp-0x4] (based on Objdump disassembly which round-trips with GNU as)
for insn in md.disasm(b"\x9B\xD9\x7D\xFC", 0):
    print(insn.address, insn.mnemonic, insn.op_str)

print(
bradley-evans
bradley-evans commented Apr 9, 2020

The Readme on the front page makes this reference:

"How can I parameterize my Rocket chip?

By now, you probably figured out that all generated files have a configuration name attached, e.g. freechips.rocketchip.system.DefaultConfig. Take a look at src/main/scala/system/Configs.scala. Search for NSets and NWays defined in BaseConfig. You can change those numbers to get a Rocket core with diff

cutephoton
cutephoton commented Dec 18, 2018

This is the first RISCV core I've been able to get up and running without breaking my head. Much appreciation for the SpinalHDL team for the making this work with Qsys and Avalon. :) (Although SpinalHDL itself puzzling still.)

Where should notes and documentation go? (Is there a wiki?) There's a lot of little things I had to figure out. It would be nice to make it easy to post the notes. One ex

jerryz123
jerryz123 commented Nov 29, 2019

Currently the COMMIT_LOG_PRINTF, MEMTRACE_PRINTF, and the DEBUG_PRINTF are executed as chisel prints which are emitted to stderr However you can only have one of these at a time, since they all go to stderr.

We should create C DPI widgets that also direct the logs into files. Preferably this would be some templated thing, since there are lots of things we potentially want to trace ou

michaeljclark
michaeljclark commented Sep 24, 2016

The JIT API currently just checks instruction operands and emits the instruction.

  • Add simple buffer implementation to collect JIT output
  • Add support for labels, and link step
  • Add mprotect handling (W^X) so output JIT can be executed
  • Add host ABI trampoline for calling JIT with arguments and return value
nicolast0604
nicolast0604 commented Jul 21, 2019
    at sbt.Defaults$$anonfun$runTask$1$$anonfun$apply$38$$anonfun$apply$39.apply(Defaults.scala:748)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
    at sbt.std.Transform$$anon$4.work(System.scala:63)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)

Improve this page

Add a description, image, and links to the riscv topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the riscv topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.