@iamtommythorn@ferristweetsnow HDL for "Hardware Description Library" of course ^.^
Library in the meaning of being a set of function/utilities in a Scala / Python / Rust and all the other rainbow's colors
@WillFlux@fpga_dave@mad_archer_@dolu1990@enjoy_digital It has LRSC + AMO support in the D$ (single CPU system). But this can be disabled to save area. So that's why the emulator layer still contains the atomic emulation as a fallback.
There is also the cacheless config, which only implement LRSC in hardware and need the emulation :)
Hey twitterettes,
I'm looking for a logic optimization tool that can create the most efficient expression that maps an n-bit input to a 1-bit output by specifying which input vectors that produce 1,0 or are allowed to be either. It takes time to do many of those by hand on paper
@Benathon@Neko_Ed I recently changed the memory mapping of Briey and Murax,
Maybe you are experiencing issue because the VexRiscv hardware is out of thing from the software memory mapping ? Try to git pull everything again and regenerate things :)
@Benathon@Neko_Ed What do you mean by the stack ? the SP register ?
There is the boot assembly code that should be executed before branching main : (also contain the reset vector)
github.com/SpinalHDL/VexR…
So a reset only initialize the PC and some CSR
@SamuelAFalvoII Good point, i will document where the inspiration came from. Then while SpinalHDL look very much like Chisel, it isn't a clone, as
- It solve many of the Chisel issues
- It explore many design pattern that Chisel left over
- Its implementation is completley different
@wavedrom I just commited an example where an 32 bits GPIO is directly interfaced with the CSR:
#L39" target="_blank" rel="nofollow noopener">github.com/SpinalHDL/VexR…
Note that the CSR rw is targeting a register. if it target an combinatorial signal, the written value will only remain one cycle
@wavedrom Feature onWrite/onRead/isWriting/isReading on the CsrPlugin added. Just be carefule as the onWrite/onRead block will happen at the very end of the component elaboration ^^ Also check out the CustomCsrDemoPlugin, is is much cleaner now
@wavedrom Feature added, see a simple demo which add an instruction counter and a cycle counter into the CSR :
#L16" target="_blank" rel="nofollow noopener">github.com/SpinalHDL/VexR…
@wavedrom@wavedrom Jakob is right :)
So currently there is no clean way to add custom CSR, but it is something that i should add.
I will take a look this evening to see which kind of API i could add :)