bench/sim: fix sim ethernet tap ip address.

This commit is contained in:
Florent Kermarrec 2020-11-26 11:29:50 +01:00
parent 3afd62e2e9
commit d3ae361748
1 changed files with 1 additions and 1 deletions

View File

@ -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")