ipbus / ipbus-firmware

Firmware that implements a reliable high-performance control link for particle physics electronics, based on the IPbus protocol
https://ipbus.web.cern.ch
Other
41 stars 32 forks source link

Turn sim's IP and MAC address into generics #51

Closed alessandrothea closed 5 years ago

alessandrothea commented 6 years ago

The ipbus simulation IP and MAC address are which doesn't go well with the concept of parallel integration jobs in the ci environment.

This issue can be easily mitigated by making these addresses top-level generics.

alessandrothea commented 6 years ago

Tested in simulation. After turning the 2 addresses into generics, it was possible to dynamically configure a custom ip address (192.168.201.2) from command line as follows

./vsim -c work.top -gIP_ADDR='X"c0a8c902"'