newaetech / chipwhisperer-jupyter

Interactive ChipWhisperer tutorials using Jupyter notebooks.
220 stars 70 forks source link

how to compile Verilog code #43

Closed melona-debug closed 1 year ago

melona-debug commented 1 year ago

Hello, I would like to ask if it is possible to compile Verilog code using the ChipWhisperer-Lite XMEGA. The tutorials I have found so far are all based on C code. As I understand it, I need to create a new folder in the \hardware\victims\firmware directory and add my Verilog code there. Could you please confirm if this is the correct approach? I am not entirely sure. Thank you so much!

jpcrypt commented 1 year ago

Your ChipWhisperer-Lite XMEGA has an FPGA but it's used for capturing power traces; it's not available as a target. We have a few FPGA target options:

The CW305 and CW310 are our larger FPGA target boards. You can use these with your CW-lite (if you have a single-board CW-lite, you'll have to break off the XMEGA target and solder the required connectors).

We have smaller FPGA targets but at this moment you would need our new CW-Husky in order to use them. With our Husky starter kit you get an iCE40 target; you could also add our CW312 Artix A35 target.

Once you have one of these, we have several example projects to help you get started:

If you have more questions about this, head over to our forum where it's easier to have a conversation.