<agg>
bjonnh: yea, I have ecp5 dsp working prety well, what are you trying to do?
<bjonnh[m]1>
multiplications for now
<bjonnh[m]1>
learning and do simple maths for audio samples
<agg>
mult's the easiest, i think yosys will even infer it from a * in verilog, but otherwise you can instantiate a MULT18X18D per the lattice docs and it just works too
<agg>
well 18x18 mult is easy, 9x9 or 36x36 is a bit more of a challenge
shoragan has quit [Quit: quit]
<agg>
you want lattice TN1267 for that
shoragan has joined #yosys
<agg>
sorry, not sure how much about this you already know so don't want to bore you but i'm happy to chat about it in more detail or answer more questions if you like
shoragan has quit [Read error: Connection reset by peer]
Raito_Bezarius has quit [Ping timeout: 268 seconds]
Raito_Bezarius has joined #yosys
<agg>
bjonnh[m]1: ah cool, well i'd start by just writing out a * multiplication in verilog and check the resource usage to see if it synthesised a MULT18X18D or not, that's the easiest thing to start with and should cover most needs
<agg>
ideally aim to do 18x18 wide (or less) multiplications and make sure they're synchronous (i.e. not fully combinatorial, the output is only used after a clock cycle)