SpinalHDL

21 posts

SpinalHDL

SpinalHDL

@SpinalHDL

Sumali Haziran 2015
2 Sinusundan339 Mga Tagasunod
SpinalHDL
SpinalHDL@SpinalHDL·
@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
English
0
0
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@pdp7 @enjoy_digital Ahh likely the template on which that is based suggested uarch to be organisation,cpu_name
English
1
0
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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 :)
English
0
0
1
0
Olof Kindgren
Olof Kindgren@OlofKindgren·
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
English
6
0
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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 :)
English
1
0
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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
English
1
0
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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
English
0
0
0
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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
English
0
0
0
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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
English
1
1
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@wavedrom Ahh then i need to add a bit more API to provide an update event. shouldn't be complicated.
English
0
0
0
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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…
English
1
0
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@wavedrom Which kind of CSR access do you need ? Read/Write is enough ? Do you need to know when an access is done at a given access (event) ?
English
1
0
1
0
SpinalHDL
SpinalHDL@SpinalHDL·
@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 :)
English
0
0
0
0
SpinalHDL
SpinalHDL@SpinalHDL·
@3yakuya Try spinalHDL :) It's a scala library that allow you to describe your hardware without using this rock age #VHDL !
English
0
0
0
0