Compare commits
2 Commits
1ed42918fc
...
9f0f8c2775
Author | SHA1 | Date | |
---|---|---|---|
9f0f8c2775 | |||
6dc42267fa |
7
cocotb/cfg_cocotb_top_hwitl_eth.vhd
Normal file
7
cocotb/cfg_cocotb_top_hwitl_eth.vhd
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
configuration cfg_cocotb_top_hwitl_mac of cocotb_top_hwitl is
|
||||||
|
for bench
|
||||||
|
for top_mac_test_inst : top_hwitl
|
||||||
|
use entity design.top_hwitl(mac);
|
||||||
|
end for;
|
||||||
|
end for;
|
||||||
|
end configuration cfg_cocotb_top_hwitl_mac;
|
8
cocotb/configure_network.sh
Executable file
8
cocotb/configure_network.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Set up virtual device using
|
||||||
|
sudo ip link add dev veth1 type veth peer name veth2
|
||||||
|
sudo ip link set up veth1
|
||||||
|
sudo ip link set up veth2
|
||||||
|
sudo ip addr add 192.168.2.1/24 dev veth1
|
||||||
|
sudo ip link set promisc on dev veth1
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user