Skip to content

Commit de72910

Browse files
committed
Version 4.14
1 parent 9111886 commit de72910

36 files changed

+61
-54
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

ZDMA/src/pcileech_tbx4.xdc renamed to ZDMA/100T/src/pcileech_tbx4_100t.xdc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,12 @@ set_false_path -from [get_pins i_pcileech_pcie_a7x4/i_pcie_7x_0/inst/inst/user_l
129129
set_false_path -from [get_pins i_pcileech_pcie_a7x4/i_pcie_7x_0/inst/inst/user_reset_out_reg/C]
130130

131131
#PCIe signals
132-
set_property PACKAGE_PIN AB16 [get_ports pcie_present]
133-
set_property PACKAGE_PIN AB10 [get_ports pcie_perst_n]
134-
set_property IOSTANDARD LVCMOS33 [get_ports pcie_present]
135-
set_property IOSTANDARD LVCMOS33 [get_ports pcie_perst_n]
132+
set_property PACKAGE_PIN J14 [get_ports pcie_present1]
133+
set_property PACKAGE_PIN AB16 [get_ports pcie_present2]
134+
set_property PACKAGE_PIN J22 [get_ports pcie_perst1_n]
135+
set_property PACKAGE_PIN AB10 [get_ports pcie_perst2_n]
136+
set_property IOSTANDARD LVCMOS33 [get_ports {pcie_present1 pcie_present2 pcie_perst1_n pcie_perst2_n}]
137+
set_property PULLTYPE PULLUP [get_ports {pcie_present1 pcie_present2 pcie_perst1_n pcie_perst2_n}]
136138

137139
set_property PACKAGE_PIN F10 [get_ports pcie_clk_p]
138140
set_property PACKAGE_PIN E10 [get_ports pcie_clk_n]

ZDMA/src/pcileech_tbx4_top.sv renamed to ZDMA/100T/src/pcileech_tbx4_100t_top.sv

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
`timescale 1ns / 1ps
1111
`include "pcileech_header.svh"
1212

13-
module pcileech_tbx4_top #(
13+
module pcileech_tbx4_100t_top #(
1414
// DEVICE IDs as follows:
15-
// 0 = SP605, 1 = PCIeScreamer R1, 2 = AC701, 3 = PCIeScreamer R2, 4 = Screamer, 5 = NeTV2
1615
parameter PARAM_DEVICE_ID = 17,
1716
parameter PARAM_VERSION_NUMBER_MAJOR = 4,
1817
parameter PARAM_VERSION_NUMBER_MINOR = 14,
@@ -36,8 +35,10 @@ module pcileech_tbx4_top #(
3635
input [3:0] pcie_rx_n,
3736
input pcie_clk_p,
3837
input pcie_clk_n,
39-
input pcie_present,
40-
input pcie_perst_n
38+
input pcie_present1,
39+
input pcie_present2,
40+
input pcie_perst1_n,
41+
input pcie_perst2_n
4142
);
4243

4344
// SYS
@@ -61,6 +62,10 @@ module pcileech_tbx4_top #(
6162
IfPCIeFifoCore dpcie();
6263
IfShadow2Fifo dshadow2fifo();
6364

65+
// PCIe
66+
wire pcie_present = pcie_present1 && pcie_present2;
67+
wire pcie_perst_n = pcie_perst1_n && pcie_perst2_n;
68+
6469
// ----------------------------------------------------
6570
// CLK: INPUT (clkin): 50MHz
6671
// COM (clk_com): 250MHz

ZDMA/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Please note that many combinations of device types, vendor IDs and product IDs w
2222
Please also note that changing the device and vendor ID is not in itself sufficient to make the device "undetectable" by software looking for malicious DMA devices. There are, more settings that are or aren't, directly modifiable in the PCIe configuration wizard that will alter the device PCIe configuration space.
2323

2424
* Please first generate the initial project as outlined in points 1-4 above.
25-
* Open the project in Vivado by double clicking on `pcileech_enigma_x1.xpr` in the generated pcileech_enigma_x1 sub-folder.
26-
* In the PROJECT MANAGER - EnigmaX1 window expand: Design Sources > pcileech_enigma_x1_top > i_pcileech_pcie_a7.
25+
* Open the project in Vivado by double clicking on `pcileech_tbx4_100t.xpr` in the generated pcileech_tbx4_100t sub-folder.
26+
* In the PROJECT MANAGER - EnigmaX1 window expand: Design Sources > pcileech_tbx4_100t_top > i_pcileech_pcie_a7x4.
2727
* Double click on i_pcie_7x_0 shown in the expanded hierarchy from above to open the PCIe core designer GUI.
2828
* Navigate to the IDs tab. Alter ID Initial Values and Class Code to custom values.
2929
* (Optionally navigate to the BARs tab and alter the Bar0 Enabled memory values currently set to 4kB. It is not recommended to disable or go lower than 4kB).

ZDMA/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ Please note that this instruction applies to the built-in JTAG update port.
4848
<img src="https://gist.githubusercontent.com/ufrisk/c5ba7b360335a13bbac2515e5e7bb9d7/raw/6ad379a64900c8afb74f926445750ddaf3128fa0/zdma-flash.png"/>
4949

5050

51-
Building:
51+
Building (100T version):
5252
=================
5353
1) Install Xilinx Vivado WebPACK 2023.2 or later.
5454
2) Open Vivado Tcl Shell command prompt.
5555
3) cd into the directory of ZDMA (forward slash instead of backslash in path).
56-
4) Run `source vivado_generate_project.tcl -notrace` to generate required project files.
57-
5) Run `source vivado_build.tcl -notrace` to generate Xilinx proprietary IP cores and build bitstream.
56+
4) Run `source vivado_generate_project_100t.tcl -notrace` to generate required project files.
57+
5) Run `source vivado_build_100t.tcl -notrace` to generate Xilinx proprietary IP cores and build bitstream.
5858
6) Finished !!!
5959

6060
Building the project may take a very long time (~1 hour).
@@ -81,4 +81,4 @@ Releases / Version History:
8181
v4.14
8282
* Initial Release
8383
* Download pre-built binaries below:
84-
* [ZDMA](https://mega.nz/file/QDphFJBZ#CUhZcoysPE2i2PzZZVp9yvqvWsDFHfcFxylPpsg37cU) SHA256: `5a216a67af01760d67b238a76a1e73b5955c12995d782812004e0d4d02e59d08`
84+
* [ZDMA](https://mega.nz/file/1ORw1TiI#r0CxKKnCYq1GmxQTQ4IJY_79ENpKZbExhzpWD2zo96E) SHA256: `6af51464a1d3dd586833cc7347cd401387e88f7b201904862d9e4b3f2e491a3f`

ZDMA/vivado_build.tcl renamed to ZDMA/vivado_build_100t.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
puts "-------------------------------------------------------"
66
puts " STARTING SYNTHESIS STEP. "
7-
puts "------------4------------------------------------------"
7+
puts "-------------------------------------------------------"
88
launch_runs -jobs 6 synth_1
99
puts "-------------------------------------------------------"
1010
puts " WAITING FOR SYNTHESIS STEP TO FINISH ... "
@@ -20,7 +20,7 @@ puts " WAITING FOR IMPLEMENTATION STEP TO FINISH ... "
2020
puts " THIS IS LIKELY TO TAKE A VERY LONG TIME. "
2121
puts "-------------------------------------------------------"
2222
wait_on_run impl_1
23-
file copy -force ./pcileech_tbx4/pcileech_tbx4.runs/impl_1/pcileech_tbx4_top.bin pcileech_zdma_fpga0.bin
23+
file copy -force ./pcileech_tbx4_100t/pcileech_tbx4_100t.runs/impl_1/pcileech_tbx4_100t_top.bin pcileech_zdma_100t_fpga0.bin
2424
puts "-------------------------------------------------------"
2525
puts " BUILD HOPEFULLY COMPLETED. "
2626
puts "-------------------------------------------------------"

ZDMA/vivado_generate_project.tcl renamed to ZDMA/vivado_generate_project_100t.tcl

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Vivado generated .tcl for creating the pcileech_tbx4 vivado project.
2+
# Vivado generated .tcl for creating the pcileech_tbx4_100t vivado project.
33
# Run from within "Vivado Tcl Shell" with command: source vivado_generate_project.tcl -notrace
44
#
55

@@ -12,7 +12,7 @@ if { [info exists ::origin_dir_loc] } {
1212
}
1313

1414
# Set the project name
15-
set _xil_proj_name_ "pcileech_tbx4"
15+
set _xil_proj_name_ "pcileech_tbx4_100t"
1616

1717
# Use project name variable, if specified in the tcl shell
1818
if { [info exists ::user_project_name] } {
@@ -118,16 +118,16 @@ if {[string equal [get_filesets -quiet sources_1] ""]} {
118118
set obj [get_filesets sources_1]
119119
# Import local files from the original project
120120
set files [list \
121-
[file normalize "${origin_dir}/src/pcileech_header.svh"]\
122-
[file normalize "${origin_dir}/src/pcileech_com_e.v" ]\
123-
[file normalize "${origin_dir}/src/pcileech_fifo.sv"]\
124-
[file normalize "${origin_dir}/src/pcileech_mux.sv"]\
125-
[file normalize "${origin_dir}/src/pcileech_pcie_a7x4.sv"]\
126-
[file normalize "${origin_dir}/src/pcileech_pcie_cfg_a7.sv"]\
127-
[file normalize "${origin_dir}/src/pcileech_pcie_tlp_a7.sv"]\
128-
[file normalize "${origin_dir}/src/pcileech_tlps128_bar_controller.sv"]\
129-
[file normalize "${origin_dir}/src/pcileech_tlps128_cfgspace_shadow.sv"]\
130-
[file normalize "${origin_dir}/src/pcileech_tbx4_top.sv" ]\
121+
[file normalize "${origin_dir}/100T/src/pcileech_header.svh"]\
122+
[file normalize "${origin_dir}/100T/src/pcileech_com_e.v" ]\
123+
[file normalize "${origin_dir}/100T/src/pcileech_fifo.sv"]\
124+
[file normalize "${origin_dir}/100T/src/pcileech_mux.sv"]\
125+
[file normalize "${origin_dir}/100T/src/pcileech_pcie_a7x4.sv"]\
126+
[file normalize "${origin_dir}/100T/src/pcileech_pcie_cfg_a7.sv"]\
127+
[file normalize "${origin_dir}/100T/src/pcileech_pcie_tlp_a7.sv"]\
128+
[file normalize "${origin_dir}/100T/src/pcileech_tlps128_bar_controller.sv"]\
129+
[file normalize "${origin_dir}/100T/src/pcileech_tlps128_cfgspace_shadow.sv"]\
130+
[file normalize "${origin_dir}/100T/src/pcileech_tbx4_100t_top.sv" ]\
131131
]
132132
set imported_files [import_files -fileset sources_1 $files]
133133

@@ -171,24 +171,24 @@ set file "src/pcileech_tlps128_cfgspace_shadow.sv"
171171
set file_obj [get_files -of_objects [get_filesets sources_1] [list "*$file"]]
172172
set_property -name "file_type" -value "SystemVerilog" -objects $file_obj
173173

174-
set file "src/pcileech_tbx4_top.sv"
174+
set file "src/pcileech_tbx4_100t_top.sv"
175175
set file_obj [get_files -of_objects [get_filesets sources_1] [list "*$file"]]
176176
set_property -name "file_type" -value "SystemVerilog" -objects $file_obj
177177

178178

179179
# Set 'sources_1' fileset properties
180180
set obj [get_filesets sources_1]
181-
set_property -name "top" -value "pcileech_tbx4_top" -objects $obj
181+
set_property -name "top" -value "pcileech_tbx4_100t_top" -objects $obj
182182
set_property -name "top_auto_set" -value "0" -objects $obj
183183

184184
# Set 'sources_1' fileset object
185185
set obj [get_filesets sources_1]
186186
# Import local files from the original project
187187
set files [list \
188-
[file normalize "${origin_dir}/ip/pcileech_bar_zero4k.coe" ]\
189-
[file normalize "${origin_dir}/ip/pcileech_cfgspace.coe" ]\
190-
[file normalize "${origin_dir}/ip/pcileech_cfgspace_writemask.coe" ]\
191-
[file normalize "${origin_dir}/ip/bram_pcie_cfgspace.xci" ]\
188+
[file normalize "${origin_dir}/100T/ip/pcileech_bar_zero4k.coe" ]\
189+
[file normalize "${origin_dir}/100T/ip/pcileech_cfgspace.coe" ]\
190+
[file normalize "${origin_dir}/100T/ip/pcileech_cfgspace_writemask.coe" ]\
191+
[file normalize "${origin_dir}/100T/ip/bram_pcie_cfgspace.xci" ]\
192192
]
193193
set imported_files [import_files -fileset sources_1 $files]
194194
# Set 'sources_1' fileset file properties for remote files
@@ -207,7 +207,7 @@ if { ![get_property "is_locked" $file_obj] } {
207207
set obj [get_filesets sources_1]
208208
# Import local files from the original project
209209
set files [list \
210-
[file normalize "${origin_dir}/ip/clk_wiz_0.xci"]\
210+
[file normalize "${origin_dir}/100T/ip/clk_wiz_0.xci"]\
211211
]
212212
set imported_files [import_files -fileset sources_1 $files]
213213
# Set 'sources_1' fileset file properties for remote files
@@ -226,7 +226,7 @@ if { ![get_property "is_locked" $file_obj] } {
226226
set obj [get_filesets sources_1]
227227
# Import local files from the original project
228228
set files [list \
229-
[file normalize "${origin_dir}/ip/drom_pcie_cfgspace_writemask.xci"]\
229+
[file normalize "${origin_dir}/100T/ip/drom_pcie_cfgspace_writemask.xci"]\
230230
]
231231
set imported_files [import_files -fileset sources_1 $files]
232232
# Set 'sources_1' fileset file properties for remote files
@@ -245,7 +245,7 @@ if { ![get_property "is_locked" $file_obj] } {
245245
set obj [get_filesets sources_1]
246246
# Import local files from the original project
247247
set files [list \
248-
[file normalize "${origin_dir}/ip/fifo_74_74_clk1_bar_rd1.xci"]\
248+
[file normalize "${origin_dir}/100T/ip/fifo_74_74_clk1_bar_rd1.xci"]\
249249
]
250250
set imported_files [import_files -fileset sources_1 $files]
251251
# Set 'sources_1' fileset file properties for remote files
@@ -264,7 +264,7 @@ if { ![get_property "is_locked" $file_obj] } {
264264
set obj [get_filesets sources_1]
265265
# Import local files from the original project
266266
set files [list \
267-
[file normalize "${origin_dir}/ip/bram_bar_zero4k.xci"]\
267+
[file normalize "${origin_dir}/100T/ip/bram_bar_zero4k.xci"]\
268268
]
269269
set imported_files [import_files -fileset sources_1 $files]
270270
# Set 'sources_1' fileset file properties for remote files
@@ -283,7 +283,7 @@ if { ![get_property "is_locked" $file_obj] } {
283283
set obj [get_filesets sources_1]
284284
# Import local files from the original project
285285
set files [list \
286-
[file normalize "${origin_dir}/ip/fifo_134_134_clk1_bar_rdrsp.xci"]\
286+
[file normalize "${origin_dir}/100T/ip/fifo_134_134_clk1_bar_rdrsp.xci"]\
287287
]
288288
set imported_files [import_files -fileset sources_1 $files]
289289
# Set 'sources_1' fileset file properties for remote files
@@ -302,7 +302,7 @@ if { ![get_property "is_locked" $file_obj] } {
302302
set obj [get_filesets sources_1]
303303
# Import local files from the original project
304304
set files [list \
305-
[file normalize "${origin_dir}/ip/fifo_141_141_clk1_bar_wr.xci"]\
305+
[file normalize "${origin_dir}/100T/ip/fifo_141_141_clk1_bar_wr.xci"]\
306306
]
307307
set imported_files [import_files -fileset sources_1 $files]
308308
# Set 'sources_1' fileset file properties for remote files
@@ -321,7 +321,7 @@ if { ![get_property "is_locked" $file_obj] } {
321321
set obj [get_filesets sources_1]
322322
# Import local files from the original project
323323
set files [list \
324-
[file normalize "${origin_dir}/ip/fifo_134_134_clk2_rxfifo.xci"]\
324+
[file normalize "${origin_dir}/100T/ip/fifo_134_134_clk2_rxfifo.xci"]\
325325
]
326326
set imported_files [import_files -fileset sources_1 $files]
327327
# Set 'sources_1' fileset file properties for remote files
@@ -340,7 +340,7 @@ if { ![get_property "is_locked" $file_obj] } {
340340
set obj [get_filesets sources_1]
341341
# Import local files from the original project
342342
set files [list \
343-
[file normalize "${origin_dir}/ip/fifo_1_1_clk2.xci"]\
343+
[file normalize "${origin_dir}/100T/ip/fifo_1_1_clk2.xci"]\
344344
]
345345
set imported_files [import_files -fileset sources_1 $files]
346346
# Set 'sources_1' fileset file properties for remote files
@@ -359,7 +359,7 @@ if { ![get_property "is_locked" $file_obj] } {
359359
set obj [get_filesets sources_1]
360360
# Import local files from the original project
361361
set files [list \
362-
[file normalize "${origin_dir}/ip/fifo_134_134_clk2.xci"]\
362+
[file normalize "${origin_dir}/100T/ip/fifo_134_134_clk2.xci"]\
363363
]
364364
set imported_files [import_files -fileset sources_1 $files]
365365
# Set 'sources_1' fileset file properties for remote files
@@ -378,7 +378,7 @@ if { ![get_property "is_locked" $file_obj] } {
378378
set obj [get_filesets sources_1]
379379
# Import local files from the original project
380380
set files [list \
381-
[file normalize "${origin_dir}/ip/fifo_64_64_clk1_fifocmd.xci"]\
381+
[file normalize "${origin_dir}/100T/ip/fifo_64_64_clk1_fifocmd.xci"]\
382382
]
383383
set imported_files [import_files -fileset sources_1 $files]
384384
# Set 'sources_1' fileset file properties for remote files
@@ -398,7 +398,7 @@ if { ![get_property "is_locked" $file_obj] } {
398398
set obj [get_filesets sources_1]
399399
# Import local files from the original project
400400
set files [list \
401-
[file normalize "${origin_dir}/ip/fifo_129_129_clk1.xci"]\
401+
[file normalize "${origin_dir}/100T/ip/fifo_129_129_clk1.xci"]\
402402
]
403403
set imported_files [import_files -fileset sources_1 $files]
404404
# Set 'sources_1' fileset file properties for remote files
@@ -417,7 +417,7 @@ if { ![get_property "is_locked" $file_obj] } {
417417
set obj [get_filesets sources_1]
418418
# Import local files from the original project
419419
set files [list \
420-
[file normalize "${origin_dir}/ip/pcie_7x_0.xci"]\
420+
[file normalize "${origin_dir}/100T/ip/pcie_7x_0.xci"]\
421421
]
422422
set imported_files [import_files -fileset sources_1 $files]
423423
# Set 'sources_1' fileset file properties for remote files
@@ -436,7 +436,7 @@ if { ![get_property "is_locked" $file_obj] } {
436436
set obj [get_filesets sources_1]
437437
# Import local files from the original project
438438
set files [list \
439-
[file normalize "${origin_dir}/ip/fifo_64_64.xci"]\
439+
[file normalize "${origin_dir}/100T/ip/fifo_64_64.xci"]\
440440
]
441441
set imported_files [import_files -fileset sources_1 $files]
442442
# Set 'sources_1' fileset file properties for remote files
@@ -455,7 +455,7 @@ if { ![get_property "is_locked" $file_obj] } {
455455
set obj [get_filesets sources_1]
456456
# Import local files from the original project
457457
set files [list \
458-
[file normalize "${origin_dir}/ip/fifo_32_32_clk2.xci"]\
458+
[file normalize "${origin_dir}/100T/ip/fifo_32_32_clk2.xci"]\
459459
]
460460
set imported_files [import_files -fileset sources_1 $files]
461461
# Set 'sources_1' fileset file properties for remote files
@@ -474,7 +474,7 @@ if { ![get_property "is_locked" $file_obj] } {
474474
set obj [get_filesets sources_1]
475475
# Import local files from the original project
476476
set files [list \
477-
[file normalize "${origin_dir}/ip/fifo_49_49_clk2.xci"]\
477+
[file normalize "${origin_dir}/100T/ip/fifo_49_49_clk2.xci"]\
478478
]
479479
set imported_files [import_files -fileset sources_1 $files]
480480
# Set 'sources_1' fileset file properties for remote files
@@ -493,7 +493,7 @@ if { ![get_property "is_locked" $file_obj] } {
493493
set obj [get_filesets sources_1]
494494
# Import local files from the original project
495495
set files [list \
496-
[file normalize "${origin_dir}/ip/fifo_43_43_clk2.xci"]\
496+
[file normalize "${origin_dir}/100T/ip/fifo_43_43_clk2.xci"]\
497497
]
498498
set imported_files [import_files -fileset sources_1 $files]
499499
# Set 'sources_1' fileset file properties for remote files
@@ -512,7 +512,7 @@ if { ![get_property "is_locked" $file_obj] } {
512512
set obj [get_filesets sources_1]
513513
# Import local files from the original project
514514
set files [list \
515-
[file normalize "${origin_dir}/ip/fifo_34_34.xci"]\
515+
[file normalize "${origin_dir}/100T/ip/fifo_34_34.xci"]\
516516
]
517517
set imported_files [import_files -fileset sources_1 $files]
518518
# Set 'sources_1' fileset file properties for remote files
@@ -536,9 +536,9 @@ if {[string equal [get_filesets -quiet constrs_1] ""]} {
536536
set obj [get_filesets constrs_1]
537537

538538
# Add/Import constrs file and set constrs file properties
539-
set file "[file normalize ${origin_dir}/src/pcileech_tbx4.xdc]"
539+
set file "[file normalize ${origin_dir}/100T/src/pcileech_tbx4_100t.xdc]"
540540
set file_imported [import_files -fileset constrs_1 [list $file]]
541-
set file "src/pcileech_tbx4.xdc"
541+
set file "src/pcileech_tbx4_100t.xdc"
542542
set file_obj [get_files -of_objects [get_filesets constrs_1] [list "*$file"]]
543543
set_property -name "file_type" -value "XDC" -objects $file_obj
544544
set_property -name "processing_order" -value "EARLY" -objects $file_obj
@@ -559,7 +559,7 @@ set obj [get_filesets sim_1]
559559
# Set 'sim_1' fileset properties
560560
set obj [get_filesets sim_1]
561561
set_property -name "hbs.configure_design_for_hier_access" -value "1" -objects $obj
562-
set_property -name "top" -value "pcileech_tbx4_top" -objects $obj
562+
set_property -name "top" -value "pcileech_tbx4_100t_top" -objects $obj
563563
set_property -name "top_auto_set" -value "0" -objects $obj
564564

565565
# Upgrade IP from the currently installed Vivado version

0 commit comments

Comments
 (0)