Skip to content

Commit 2570c75

Browse files
committed
Clean up AU280 design
1 parent 4fbf30c commit 2570c75

File tree

4 files changed

+6
-134
lines changed

4 files changed

+6
-134
lines changed

example/AU280/fpga_10g/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ This example design targets the Xilinx Alveo U280 FPGA board.
66

77
The design by default listens to UDP port 1234 at IP address 192.168.1.128 and
88
will echo back any packets received. The design will also respond correctly
9-
to ARP requests. The design also enables the gigabit Ethernet interface for
10-
testing with a QSFP loopback adapter.
9+
to ARP requests.
1110

1211
* FPGA: xcu280-fsvh2892-2L-e
1312
* PHY: 10G BASE-R PHY IP core and internal GTY transceiver

example/AU280/fpga_10g/fpga/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ FPGA_ARCH = virtexuplus
77
# Files for synthesis
88
SYN_FILES = rtl/fpga.v
99
SYN_FILES += rtl/fpga_core.v
10-
SYN_FILES += rtl/debounce_switch.v
1110
SYN_FILES += rtl/sync_signal.v
1211
SYN_FILES += lib/eth/rtl/eth_mac_10g_fifo.v
1312
SYN_FILES += lib/eth/rtl/eth_mac_10g.v
@@ -70,7 +69,7 @@ program: $(FPGA_TOP).bit
7069
echo "exit" >> program.tcl
7170
vivado -nojournal -nolog -mode batch -source program.tcl
7271

73-
%_primary.mcs %_secondary.mcs %_primary.prm %_secondary.prm: %.bit
72+
%.mcs %.prm: %.bit
7473
echo "write_cfgmem -force -format mcs -size 128 -interface SPIx4 -loadbit {up 0x0000000 $*.bit} -checksum -file $*.mcs" > generate_mcs.tcl
7574
echo "exit" >> generate_mcs.tcl
7675
vivado -nojournal -nolog -mode batch -source generate_mcs.tcl
@@ -83,16 +82,16 @@ program: $(FPGA_TOP).bit
8382
do cp $*$$x rev/$*_rev$$COUNT$$x; \
8483
echo "Output: rev/$*_rev$$COUNT$$x"; done;
8584

86-
flash: $(FPGA_TOP)_primary.mcs $(FPGA_TOP)_secondary.mcs $(FPGA_TOP)_primary.prm $(FPGA_TOP)_secondary.prm
85+
flash: $(FPGA_TOP).mcs $(FPGA_TOP).prm
8786
echo "open_hw" > flash.tcl
8887
echo "connect_hw_server" >> flash.tcl
8988
echo "open_hw_target" >> flash.tcl
9089
echo "current_hw_device [lindex [get_hw_devices] 0]" >> flash.tcl
9190
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> flash.tcl
9291
echo "create_hw_cfgmem -hw_device [current_hw_device] [lindex [get_cfgmem_parts {mt25qu01g-spi-x1_x2_x4}] 0]" >> flash.tcl
9392
echo "current_hw_cfgmem -hw_device [current_hw_device] [get_property PROGRAM.HW_CFGMEM [current_hw_device]]" >> flash.tcl
94-
echo "set_property PROGRAM.FILES [list \"$(FPGA_TOP)_primary.mcs\" \"$(FPGA_TOP)_secondary.mcs\"] [current_hw_cfgmem]" >> flash.tcl
95-
echo "set_property PROGRAM.PRM_FILES [list \"$(FPGA_TOP)_primary.prm\" \"$(FPGA_TOP)_secondary.prm\"] [current_hw_cfgmem]" >> flash.tcl
93+
echo "set_property PROGRAM.FILES [list \"$(FPGA_TOP).mcs\"] [current_hw_cfgmem]" >> flash.tcl
94+
echo "set_property PROGRAM.PRM_FILES [list \"$(FPGA_TOP).prm\"] [current_hw_cfgmem]" >> flash.tcl
9695
echo "set_property PROGRAM.ERASE 1 [current_hw_cfgmem]" >> flash.tcl
9796
echo "set_property PROGRAM.CFG_PROGRAM 1 [current_hw_cfgmem]" >> flash.tcl
9897
echo "set_property PROGRAM.VERIFY 1 [current_hw_cfgmem]" >> flash.tcl

example/AU280/fpga_10g/rtl/debounce_switch.v

Lines changed: 0 additions & 89 deletions
This file was deleted.

example/AU280/fpga_10g/rtl/fpga.v

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -182,44 +182,7 @@ sync_reset_125mhz_inst (
182182
);
183183

184184
// GPIO
185-
wire [3:0] sw_int;
186-
187-
debounce_switch #(
188-
.WIDTH(4),
189-
.N(4),
190-
.RATE(156000)
191-
)
192-
debounce_switch_inst (
193-
.clk(clk_156mhz_int),
194-
.rst(rst_156mhz_int),
195-
.in({sw}),
196-
.out({sw_int})
197-
);
198-
199-
wire uart_txd_int;
200-
201-
sync_signal #(
202-
.WIDTH(1),
203-
.N(2)
204-
)
205-
sync_signal_inst (
206-
.clk(clk_156mhz_int),
207-
.in({uart_txd}),
208-
.out({uart_txd_int})
209-
);
210-
211-
// SI570 I2C
212-
wire i2c_scl_i;
213-
wire i2c_scl_o = 1'b1;
214-
wire i2c_scl_t = 1'b1;
215-
wire i2c_sda_i;
216-
wire i2c_sda_o = 1'b1;
217-
wire i2c_sda_t = 1'b1;
218-
219-
assign i2c_scl_i = i2c_scl;
220-
assign i2c_scl = i2c_scl_t ? 1'bz : i2c_scl_o;
221-
assign i2c_sda_i = i2c_sda;
222-
assign i2c_sda = i2c_sda_t ? 1'bz : i2c_sda_o;
185+
assign hbm_cattrip = 1'b0;
223186

224187
// XGMII 10G PHY
225188
assign qsfp0_refclk_oe_b = 1'b0;

0 commit comments

Comments
 (0)