diff --git a/cmoc/cryomodule_badger.v b/cmoc/cryomodule_badger.v index 21b449f36..ba78f9b5c 100644 --- a/cmoc/cryomodule_badger.v +++ b/cmoc/cryomodule_badger.v @@ -31,7 +31,7 @@ wire [23:0] rtefi_lb_addr; wire [31:0] rtefi_lb_data_out; wire [31:0] rtefi_lb_data_in; - +// TODO: Add option to let MMC set the IP address and MAC rtefi_blob #(.ip(ip), .mac(mac)) badger( // GMII Input (Rx) .rx_clk(gmii_rx_clk), diff --git a/cmoc/cryomodule_test_setup.py b/cmoc/cryomodule_test_setup.py index fbaeef7cb..173722b20 100644 --- a/cmoc/cryomodule_test_setup.py +++ b/cmoc/cryomodule_test_setup.py @@ -3,12 +3,8 @@ from math import pi, sqrt, log from numpy import exp as cexp from numpy import ceil -# https://stackoverflow.com/questions/14132789/relative-imports-for-the-billionth-time -# Leaves me with only one choice ... :( -# Since I don't want to modify shell variables -sys.path.append( - os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + - "/../build-tools") + +sys.path.append(os.path.join(os.path.dirname(__file__), "../build-tools")) from read_regmap import get_map, get_reg_info cav_num = 0