bench/sim: fix sim ethernet tap ip address.
This commit is contained in:
parent
3afd62e2e9
commit
d3ae361748
|
@ -77,7 +77,7 @@ def main():
|
||||||
|
|
||||||
sim_config = SimConfig()
|
sim_config = SimConfig()
|
||||||
sim_config.add_clocker("sys_clk", freq_hz=1e6)
|
sim_config.add_clocker("sys_clk", freq_hz=1e6)
|
||||||
sim_config.add_module("ethernet", "eth", args={"interface": "tap0", "ip": "192.168.1.50"})
|
sim_config.add_module("ethernet", "eth", args={"interface": "tap0", "ip": "192.168.1.100"})
|
||||||
|
|
||||||
soc = BenchSoC()
|
soc = BenchSoC()
|
||||||
builder = Builder(soc, csr_csv="csr.csv")
|
builder = Builder(soc, csr_csv="csr.csv")
|
||||||
|
|
Loading…
Reference in New Issue