Skip to content

Commit

Permalink
Updates on MathWorks IP core and EEPROM test
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Pop <[email protected]>
  • Loading branch information
PopPaul2021 committed May 12, 2023
1 parent d9e15a1 commit bad510f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions examples/cn0585_fmcz_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class adaq23876(adi.ltc2387):
ad3552r_1 = adi.ad3552r(uri=my_uri, device_name="axi-ad3552r-1")
voltage_monitor = adi.ad7291(uri=my_uri)
gpio_controller = adi.one_bit_adc_dac(uri=my_uri, name="one-bit-adc-dac")
hdl_dut_write_channel = adi.mwpicore(uri=my_uri, device_name="mwipcore0:mmwr-channel0")
hdl_dut_read_channel = adi.mwpicore(uri=my_uri, device_name="mwipcore0:mmrd-channel1")

# reading data from eeprom

print("############# EEPROM INFORMATION ############")
Expand Down Expand Up @@ -81,7 +80,7 @@ class adaq23876(adi.ltc2387):
reg_value1 = hdl_dut_read_channel.axi4_lite_register_read(0x10C)
print("AXI4-Lite 0x108 register value:", reg_value)
print("AXI4-Lite 0x10c register value:", reg_value1)

##############################################################################

adaq23876_adc.rx_buffer_size = 1000
Expand Down
4 changes: 1 addition & 3 deletions test/eeprom.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import tkinter as tk
from datetime import date, datetime
from tkinter import Button, Entry, Label

import tk
import paramiko
import pytest

Expand Down

0 comments on commit bad510f

Please sign in to comment.