Skip to content

Commit

Permalink
First attempt to get cmoc updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sdmurthy committed Jan 9, 2025
1 parent 90903de commit feab8b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmoc/cryomodule_badger.v
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
8 changes: 2 additions & 6 deletions cmoc/cryomodule_test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit feab8b3

Please sign in to comment.