Skip to content
Snippets Groups Projects
Commit f91b2af6 authored by Shoshkov's avatar Shoshkov
Browse files

increase gap size

parent 5fee8ae4
Branches
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ c_bg_nof_streams = 1
c_bg_ram_size = 1024
c_in_dat_w = 32
c_bg_block_size = 10
c_bg_gapsize = 50
c_bg_gapsize = 50000
tc = test_case.Testcase('TB - ', '')
io = node_io.NodeIO(tc.nodeImages, tc.base_ip)
......@@ -184,8 +184,8 @@ dpotx.write(inst_nrs=STREAM_ID, registers=registers, regmap=dpotx.regmap)
# From Compaan to DB: set dst MAC and IP of node[0] to MAC and IP of node[1]
dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('eth_dst_mac', c_eth_dst_mac + 1)], regmap=dpotx_hdr_dat.regmap)
dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('ip_dst_ip', c_eth_dst_ip + 1 +1)], regmap=dpotx_hdr_dat.regmap)
#dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('eth_dst_mac', c_eth_dst_mac + 1)], regmap=dpotx_hdr_dat.regmap)
#dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('ip_dst_ip', c_eth_dst_ip + 1 +1)], regmap=dpotx_hdr_dat.regmap)
# From BG to Compaan: set dst MAC and IP of node[0] to MAC and IP of node[1]
dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[1], inst_nrs=tc.gpNumbers, registers=[('eth_dst_mac', c_eth_dst_mac + 0)], regmap=dpotx_hdr_dat.regmap)
......@@ -196,8 +196,8 @@ dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[1], inst_nrs=tc.gpNumbers, registers=[('
#dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[1], inst_nrs=tc.gpNumbers, registers=[('ip_dst_addr', 0x0A6300FE)], regmap=dpotx_hdr_dat.regmap)
#
## From Compaan to DOP17
#dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('eth_dst_mac', 0x0030482D82A1)], regmap=dpotx_hdr_dat.regmap)
#dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('ip_dst_addr', 0x0A6300FE)], regmap=dpotx_hdr_dat.regmap)
dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('eth_dst_mac', 0x001B217176B9)], regmap=dpotx_hdr_dat.regmap)
dpotx_hdr_dat.write(node_nrs=tc.nodeNrs[0], inst_nrs=tc.gpNumbers, registers=[('ip_dst_addr', 0x0A6300FE)], regmap=dpotx_hdr_dat.regmap)
# Now override the eth_dst_mac field so it is no longer read from the data path but from the MM register we've just written to.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment