Change Values

Recommended tools

Use VS Code for this part


Changing values before opening Vivado GUI

Now we will change the "code" in the /src/ folder, to make it possible to generate a firmware using the shadow configuration file we copied into the /ip/ folder in the previous step.


Open the file src/pcileech_fifo.sv
Change:
rw[203] <- 1'b1; to -> 1'b0;


Open src/pcileech_pcie_cfg_a7.sv
Change
rw[20] <- 0; to 1;
rw[21] <- 0; to 1;
rw[143:128] <- 16'h0007; to your donor devices command value


Note

Replace the 0; not the entire line
If your donors command value doesn't work, try 0407; , 0406; or 0006;


Next step